ifaddr: drop Python 3.9 support.

Only on-tree user (pythonzeroconf) already targets 3.10 only.
This commit is contained in:
Oscar Lesta
2025-09-20 00:20:15 -03:00
committed by OscarL
parent 17a9eca72c
commit 8c454ad3a9

View File

@@ -4,7 +4,7 @@ the IP addresses of the computer."
HOMEPAGE="https://github.com/pydron/ifaddr/"
COPYRIGHT="2014 Stefan C. Mueller"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/pydron/ifaddr/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="bc70dbcad66c25c8c13e037585b43765c1ea82da629708b13de542cb9872c0c7"
PATCHES="ifaddr-$portVersion.patchset"
@@ -21,11 +21,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=\"
${portName}_$pythonPackage = $portVersion
@@ -44,9 +43,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/