mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Recipe for Haikuporter 1.2.8, move to Python 3.10
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user