pyqt5_sip: drop Python 3.9 support.

All on-tree users (pyqt5, pyqtwebengine5, python_poppler_qt5) are
already 3.10 only.
This commit is contained in:
Oscar Lesta
2025-09-19 18:56:04 -03:00
committed by OscarL
parent 553097f611
commit 175cf037e6

View File

@@ -3,7 +3,7 @@ DESCRIPTION="The sip extension module provides support for the PyQt5 package."
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/"
COPYRIGHT="2020 Riverbank Computing Limited"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.io/packages/source/P/PyQt5-sip/PyQt5_sip-$portVersion.tar.gz"
CHECKSUM_SHA256="d23fdfcf363b5cedd9d39f8a9c5710e7d52804f5b08a58e91c638b36eafcb702"
SOURCE_DIR="PyQt5_sip-$portVersion"
@@ -26,11 +26,10 @@ BUILD_PREREQUIRES+="
cmd: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)
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
@@ -56,9 +55,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/