Recipe for Haikuporter 1.2.8, move to Python 3.10

This commit is contained in:
PulkoMandy
2023-08-12 10:37:01 +02:00
parent 8402ef2db2
commit 2aa8f6c467

View File

@@ -8,11 +8,11 @@ patches, builds the software, and packages it according to so-called 'recipes'.
See the wiki on the HaikuPorter website for more information on its usage \
and details on how to create those recipes."
HOMEPAGE="https://github.com/haikuports/haikuporter"
COPYRIGHT="2013-2022 Haiku, Inc."
COPYRIGHT="2013-2023 Haiku, Inc."
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="13e00cd4f170d7604a689b733536d511ed52864a38d7b4907fea00e20ce7898b"
CHECKSUM_SHA256="bae9eca252912b0c2f929bdd4a6d393f5ba8f9eeeb65ab596e7b942c6c90028a"
ARCHITECTURES="any"
@@ -27,13 +27,15 @@ PROVIDES="
REQUIRES="
haiku
cmd:git
cmd:python3.9
cmd:python3.10
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:cp
cmd:mkdir
cmd:true
"
BUILD()
@@ -45,12 +47,12 @@ INSTALL()
{
# This is very manual, however was done due to
# https://github.com/haikuports/haikuports/issues/286
# TODO: Setuptools once #286 is investigated
# TODO: move to setuptools now that this is closed
mkdir -p $binDir
cp haikuporter $binDir/
mkdir -p $libDir/python3.9/vendor-packages/
cp -R HaikuPorter $libDir/python3.9/vendor-packages/
mkdir -p $libDir/python3.10/vendor-packages/
cp -R HaikuPorter $libDir/python3.10/vendor-packages/
mkdir -p $settingsDir
cp haikuports-sample.conf $settingsDir/haikuports.conf