mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
lazy_object_proxy: drop Python 3.9 support.
Only user on-tree (astroid) already targets 3.10 only.
This commit is contained in:
@@ -6,7 +6,7 @@ to the target object"
|
||||
HOMEPAGE="https://github.com/ionelmc/python-lazy-object-proxy"
|
||||
COPYRIGHT="2014-2019, Ionel Cristian Mărieș"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="https://github.com/ionelmc/python-lazy-object-proxy/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b28708f92930b4e2c0ab39def12ebc6be466db5e91fad88bfc7ebf9aa9c9de16"
|
||||
SOURCE_DIR="python-lazy-object-proxy-$portVersion"
|
||||
@@ -25,11 +25,10 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_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=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
@@ -57,8 +56,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
|
||||
|
||||
@@ -67,7 +66,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