mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
parametrized: drop Python 3.9 support.
Only user on-tree (gtk_doc, for TESTS) is Python 3.10 only already.
This commit is contained in:
@@ -4,7 +4,7 @@ parameterized testing for py.test, parameterized testing for unittest."
|
||||
HOMEPAGE="https://github.com/wolever/parameterized"
|
||||
COPYRIGHT="2010 David Wolever"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/parameterized/parameterized-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7fc905272cefa4f364c1a3429cbbe9c0f98b793988efb5bf90aac80f08db09b1"
|
||||
|
||||
@@ -20,11 +20,10 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python39 python310)
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[i]}
|
||||
PYTHON_VERSIONS=(3.10)
|
||||
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
parameterized_$pythonPackage = $portVersion
|
||||
@@ -46,8 +45,8 @@ done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
python=python$pythonVersion
|
||||
|
||||
@@ -56,7 +55,7 @@ INSTALL()
|
||||
$python -m build --wheel --skip-dependency-check --no-isolation
|
||||
$python -m installer --p $prefix dist/*.whl
|
||||
|
||||
packageEntries ${PYTHON_PACKAGES[i]} \
|
||||
packageEntries $pythonPackage \
|
||||
"$prefix"/lib/python*
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user