mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
dnspython: drop Python 3.9 support.
Only user on-tree (calibre) is already 3.10 only.
This commit is contained in:
@@ -7,7 +7,7 @@ COPYRIGHT="Dnspython Contributors
|
|||||||
2001-2017 Nominum, Inc.
|
2001-2017 Nominum, Inc.
|
||||||
Google Inc."
|
Google Inc."
|
||||||
LICENSE="ISC"
|
LICENSE="ISC"
|
||||||
REVISION="5"
|
REVISION="6"
|
||||||
SOURCE_URI="https://github.com/rthalley/dnspython/archive/v$portVersion.tar.gz"
|
SOURCE_URI="https://github.com/rthalley/dnspython/archive/v$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="b339ac2eb070d0133f020a6e0cc137a10fc380f3eba3e0655d62a19e64626cbd"
|
CHECKSUM_SHA256="b339ac2eb070d0133f020a6e0cc137a10fc380f3eba3e0655d62a19e64626cbd"
|
||||||
|
|
||||||
@@ -24,13 +24,12 @@ BUILD_REQUIRES="
|
|||||||
haiku_devel
|
haiku_devel
|
||||||
"
|
"
|
||||||
|
|
||||||
PYTHON_PACKAGES=(python39 python310)
|
PYTHON_VERSIONS=(3.10)
|
||||||
PYTHON_VERSIONS=(3.9 3.10)
|
|
||||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
|
||||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
|
||||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
|
||||||
|
|
||||||
eval "PROVIDES_${pythonPackage}=\"
|
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||||
|
pythonPackage=python${pythonVersion//.}
|
||||||
|
|
||||||
|
eval "PROVIDES_$pythonPackage=\"
|
||||||
${portName}_$pythonPackage = $portVersion
|
${portName}_$pythonPackage = $portVersion
|
||||||
\""
|
\""
|
||||||
eval "REQUIRES_$pythonPackage=\"
|
eval "REQUIRES_$pythonPackage=\"
|
||||||
@@ -48,9 +47,8 @@ done
|
|||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
pythonPackage=python${pythonVersion//.}
|
||||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
|
||||||
|
|
||||||
python=python$pythonVersion
|
python=python$pythonVersion
|
||||||
installLocation=$prefix/lib/$python/vendor-packages/
|
installLocation=$prefix/lib/$python/vendor-packages/
|
||||||
|
|||||||
Reference in New Issue
Block a user