pythonzeroconf: drop Python 3.9 support.

Only user on-tree (calibre) is already 3.10 only.
This commit is contained in:
Oscar Lesta
2025-09-19 17:32:21 -03:00
committed by OscarL
parent a24c323ef7
commit dbc994dbd4

View File

@@ -4,7 +4,7 @@ HOMEPAGE="https://github.com/jstasiak/python-zeroconf/"
COPYRIGHT="2003 Paul Scott-Murphy
2014 William McBrine"
LICENSE="GNU LGPL v2.1"
REVISION="4"
REVISION="5"
SOURCE_URI="https://github.com/jstasiak/python-zeroconf/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="b8e7c55f36973362314b7d8cf716a76afea3c91abe9d2f435329dc67b973fe06"
SOURCE_FILENAME="zeroconf-$portVersion.tar.gz"
@@ -22,11 +22,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=\"
pythonzeroconf_$pythonPackage = $portVersion
@@ -46,9 +45,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/