From 2aa8f6c467eab0c3b31f8fb10be13544112d3801 Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Sat, 12 Aug 2023 10:37:01 +0200 Subject: [PATCH] Recipe for Haikuporter 1.2.8, move to Python 3.10 --- ...orter-1.2.7.recipe => haikuporter-1.2.8.recipe} | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) rename haiku-apps/haikuporter/{haikuporter-1.2.7.recipe => haikuporter-1.2.8.recipe} (80%) diff --git a/haiku-apps/haikuporter/haikuporter-1.2.7.recipe b/haiku-apps/haikuporter/haikuporter-1.2.8.recipe similarity index 80% rename from haiku-apps/haikuporter/haikuporter-1.2.7.recipe rename to haiku-apps/haikuporter/haikuporter-1.2.8.recipe index e2458844c..012928a92 100644 --- a/haiku-apps/haikuporter/haikuporter-1.2.7.recipe +++ b/haiku-apps/haikuporter/haikuporter-1.2.8.recipe @@ -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