Drop python 3.7 (and 2.7) for recipes under dev-python/

Recipes with only 3.7 are left alone. Help with #8025.
This commit is contained in:
Jérôme Duval
2023-03-23 21:18:44 +01:00
parent e5cad96650
commit df145a169a
138 changed files with 435 additions and 553 deletions

View File

@@ -7,7 +7,7 @@ HOMEPAGE="https://github.com/tqdm/tqdm"
COPYRIGHT="2015-2021 tqdm contributors"
LICENSE="MIT
MPL v2.0"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="c6c0bace914d9e7aab60b46a83f4943e0f136e572f98ab8193f98ce9cbf4ce65"
SOURCE_FILENAME="tqdm-$portVersion.tar.gz"
@@ -25,8 +25,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python3 python38 python39)
PYTHON_VERSIONS=(3.7 3.8 3.9)
PYTHON_PACKAGES=(python38 python39)
PYTHON_VERSIONS=(3.8 3.9)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
@@ -44,14 +44,11 @@ BUILD_REQUIRES="$BUILD_REQUIRES
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion"
done
PROVIDES_python3+="
cmd:tqdm
"
PROVIDES_python38+="
cmd:tqdm38
"
PROVIDES_python39+="
cmd:tqdm39
cmd:tqdm
"
export SETUPTOOLS_SCM_PRETEND_VERSION=$portVersion
@@ -73,9 +70,6 @@ INSTALL()
if [ "$pythonPackage" = python38 ]; then
mv "$binDir"/tqdm "$binDir"/tqdm38
fi
if [ "$pythonPackage" = python39 ]; then
mv "$binDir"/tqdm "$binDir"/tqdm39
fi
packageEntries $pythonPackage \
$binDir \