pyrsistent: drop Python 3.9 support.

Nothing on-tree depends on this. Given that is "pip installable"
("any", no patches), we should consider dropping this recipe.
This commit is contained in:
Oscar Lesta
2025-09-19 18:58:59 -03:00
committed by OscarL
parent 175cf037e6
commit 3fcf75d8f6

View File

@@ -9,7 +9,7 @@ HOMEPAGE="https://pypi.org/project/pyrsistent/
https://github.com/tobgu/pyrsistent/"
COPYRIGHT="2019 Tobias Gustafsson"
LICENSE="MIT"
REVISION="4"
REVISION="5"
SOURCE_URI="https://pypi.org/packages/source/p/pyrsistent/pyrsistent-$portVersion.tar.gz"
CHECKSUM_SHA256="2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e"
@@ -26,13 +26,12 @@ 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)
eval "PROVIDES_${pythonPackage}=\"
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
\""
eval "REQUIRES_$pythonPackage=\"
@@ -50,9 +49,8 @@ done
INSTALL()
{
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
python=python$pythonVersion
installLocation=$prefix/lib/$python/vendor-packages/
@@ -64,7 +62,7 @@ INSTALL()
$python setup.py build install \
--root=/ --prefix=$prefix
packageEntries $pythonPackage \
packageEntries $pythonPackage \
$prefix/lib/python*
done
}