mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
tomli: drop Python 3.9 support.
All users on-tree already target 3.10 only.
This commit is contained in:
@@ -6,7 +6,7 @@ module is not available and that have not yet reached their end-of-life."
|
||||
HOMEPAGE="https://github.com/hukkin/tomli"
|
||||
COPYRIGHT="2021 Taneli Hukkinen"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="5"
|
||||
REVISION="6"
|
||||
pypiVersion="97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/tomli-2.0.1-py3-none-any.whl#noarchive"
|
||||
CHECKSUM_SHA256='939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc'
|
||||
@@ -24,13 +24,12 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
PYTHON_VERSIONS=(3.10)
|
||||
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_${pythonPackage}=\"
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
\""
|
||||
eval "REQUIRES_$pythonPackage=\"
|
||||
@@ -45,8 +44,7 @@ done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
python=python$pythonVersion
|
||||
|
||||
Reference in New Issue
Block a user