pylzma: drop Python 3.9 support.

Nothing on-tree seems to require/use this one. Given that it doesn't
requires patching, we should consider dropping the recipe, and let
users "pip install" it if they need it.
This commit is contained in:
Oscar Lesta
2025-09-19 18:36:32 -03:00
committed by OscarL
parent 1fbfedcff1
commit a7a34b0e29

View File

@@ -6,7 +6,7 @@ COPYRIGHT="2004-2015 Joachim Bauch
7-zip 1999-2010 Igor Pavlov
LZMA SDK 1999-2010 Igor Pavlov"
LICENSE="MIT"
REVISION="2"
REVISION="3"
SOURCE_URI="https://pypi.io/packages/source/p/pylzma/pylzma-$portVersion.tar.gz"
CHECKSUM_SHA256="b874172afbf37770e643bf2dc9d9b6b03eb95d8f8162e157145b3fe9e1b68a1c"
@@ -27,13 +27,12 @@ BUILD_PREREQUIRES="
gcc$secondaryArchSuffix
"
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
\""
@@ -58,9 +57,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/
@@ -72,7 +70,7 @@ INSTALL()
$python setup.py build install \
--root=/ --prefix=$prefix
packageEntries $pythonPackage \
packageEntries $pythonPackage \
$prefix/lib/python*
done
}