mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
iniconfig: drop Python 3.9 support.
Only user on-tree (pytest) is already 3.10 only.
This commit is contained in:
@@ -13,7 +13,7 @@ HOMEPAGE="https://pypi.org/project/iniconfig/
|
||||
http://github.com/RonnyPfannschmidt/iniconfig/"
|
||||
COPYRIGHT="2010-2020 Holger Krekel and Ronny Pfannschmidt"
|
||||
LICENSE="MIT"
|
||||
REVISION="8"
|
||||
REVISION="9"
|
||||
SOURCE_URI="https://github.com/RonnyPfannschmidt/iniconfig/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a4489e91242e035cb58700d9a3c4bf49e0b106a85fefefe48025e333ea5ee49c"
|
||||
|
||||
@@ -30,13 +30,12 @@ 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)
|
||||
|
||||
eval "PROVIDES_${pythonPackage}=\"
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
\""
|
||||
eval "REQUIRES_$pythonPackage=\"
|
||||
@@ -55,9 +54,8 @@ INSTALL()
|
||||
{
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$portVersion
|
||||
|
||||
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/
|
||||
|
||||
Reference in New Issue
Block a user