mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
@@ -8,7 +8,7 @@ DESCRIPTION="The py lib is a Python development support library featuring the fo
|
||||
HOMEPAGE="https://pypi.org/project/py"
|
||||
COPYRIGHT="2004-2020 Holger Krekel and others."
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/py/py-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
|
||||
|
||||
@@ -25,8 +25,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python3 python38 python39 python310)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
|
||||
PYTHON_PACKAGES=(python39 python310)
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -42,12 +42,12 @@ BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion
|
||||
cmd:git
|
||||
"
|
||||
done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$portVersion
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
|
||||
Reference in New Issue
Block a user