mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 03:00:05 +02:00
py: enable 3.8, 3.9, remove 3.6
This commit is contained in:
@@ -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="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/py/py-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342"
|
||||
|
||||
@@ -25,8 +25,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python36 python3)
|
||||
PYTHON_VERSIONS=(3.6 3.7)
|
||||
PYTHON_PACKAGES=(python3 python38 python39)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -38,7 +38,7 @@ REQUIRES_$pythonPackage=\"\
|
||||
cmd:python$pythonVersion\
|
||||
\""
|
||||
BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
setuptools_$pythonPackage
|
||||
setuptools_scm_$pythonPackage
|
||||
"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion
|
||||
|
||||
Reference in New Issue
Block a user