From ea7eefe3bb1fcb900c806aa9fbe66484e19307c7 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 12 Jun 2021 12:38:16 +0200 Subject: [PATCH] Add recipe for haikuporter 1.2.4. --- .../haikuporter/haikuporter-1.2.3.recipe | 57 ------------------- ...-1.2.2.recipe => haikuporter-1.2.4.recipe} | 12 ++-- 2 files changed, 6 insertions(+), 63 deletions(-) delete mode 100644 haiku-apps/haikuporter/haikuporter-1.2.3.recipe rename haiku-apps/haikuporter/{haikuporter-1.2.2.recipe => haikuporter-1.2.4.recipe} (83%) diff --git a/haiku-apps/haikuporter/haikuporter-1.2.3.recipe b/haiku-apps/haikuporter/haikuporter-1.2.3.recipe deleted file mode 100644 index 9ae98214d..000000000 --- a/haiku-apps/haikuporter/haikuporter-1.2.3.recipe +++ /dev/null @@ -1,57 +0,0 @@ -SUMMARY="Build packages for the Haiku operating system" -DESCRIPTION="The HaikuPorter tool is provided to ease the fetching, patching \ -and building of source code. It can be compared to a slim version of Gentoo \ -Portage. Each port contains the Haiku-specific patches to the original source \ -code. It fetches the original source code, applies the Haiku-specific \ -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-2020 Haiku, Inc." -LICENSE="MIT" -REVISION="2" -SOURCE_URI="https://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz" -CHECKSUM_SHA256="6d4b40684760a214a08b66ac996c9d9c9e9cd03a53d1b8611088e58a4c440085" - -ARCHITECTURES="any" - -GLOBAL_WRITABLE_FILES=" - settings/haikuports.conf auto-merge - " - -PROVIDES=" - haikuporter = $portVersion - cmd:haikuporter = $portVersion - " -REQUIRES=" - haiku - cmd:git - cmd:python2 - " - -BUILD_REQUIRES=" - " -BUILD_PREREQUIRES=" - cmd:cp - " - -BUILD() -{ - true -} - -INSTALL() -{ - # This is very manual, however was done due to - # https://github.com/haikuports/haikuports/issues/286 - # TODO: Setuptools once #286 is investigated - mkdir -p $binDir - cp haikuporter $binDir/ - - mkdir -p $libDir/python2.7/vendor-packages/ - cp -R HaikuPorter $libDir/python2.7/vendor-packages/ - - mkdir -p $settingsDir - cp haikuports-sample.conf $settingsDir/haikuports.conf -} diff --git a/haiku-apps/haikuporter/haikuporter-1.2.2.recipe b/haiku-apps/haikuporter/haikuporter-1.2.4.recipe similarity index 83% rename from haiku-apps/haikuporter/haikuporter-1.2.2.recipe rename to haiku-apps/haikuporter/haikuporter-1.2.4.recipe index 9308eaf1d..2081ea790 100644 --- a/haiku-apps/haikuporter/haikuporter-1.2.2.recipe +++ b/haiku-apps/haikuporter/haikuporter-1.2.4.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-2017 Haiku, Inc." +COPYRIGHT="2013-2021 Haiku, Inc." LICENSE="MIT" -REVISION="2" +REVISION="1" SOURCE_URI="https://github.com/haikuports/haikuporter/archive/$portVersion.tar.gz" -CHECKSUM_SHA256="665828ed8f05a574fd248765f3ee3e07e2cb335f9b3f6f3540bdc85aa2097d9f" +CHECKSUM_SHA256="0d4cbbfed9c2ae701baedd96ac6057425679f0151373364033a5c12af545219b" ARCHITECTURES="any" @@ -27,7 +27,7 @@ PROVIDES=" REQUIRES=" haiku cmd:git - cmd:python2 + cmd:python3 " BUILD_REQUIRES=" @@ -49,8 +49,8 @@ INSTALL() mkdir -p $binDir cp haikuporter $binDir/ - mkdir -p $libDir/python2.7/vendor-packages/ - cp -R HaikuPorter $libDir/python2.7/vendor-packages/ + mkdir -p $libDir/python3.7/vendor-packages/ + cp -R HaikuPorter $libDir/python3.7/vendor-packages/ mkdir -p $settingsDir cp haikuports-sample.conf $settingsDir/haikuports.conf