markupsafe, drop python2.7, add python3.10 (#7102)

This commit is contained in:
Schrijvers Luc
2022-08-16 09:47:15 +02:00
committed by GitHub
parent f5ef3f390e
commit 3e5dcee447

View File

@@ -4,13 +4,13 @@ for Python."
HOMEPAGE="https://pypi.org/project/MarkupSafe/"
COPYRIGHT="2019 Armin Ronacher and contributors"
LICENSE="BSD (3-clause)"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/pallets/markupsafe/archive/1.1.1.tar.gz"
CHECKSUM_SHA256="222a10e3237d92a9cd45ed5ea882626bc72bc5e0264d3ed0f2c9129fa69fc167"
SOURCE_FILENAME="markupsafe-$portVersion.tag.gz"
SOURCE_DIR="markupsafe-$portVersion"
ARCHITECTURES="all ?x86"
ARCHITECTURES="any"
PROVIDES="
$portName = $portVersion
@@ -25,8 +25,8 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:gcc
"
PYTHON_PACKAGES=(python python3 python38 python39)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
PYTHON_PACKAGES=(python3 python38 python39 python310)
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}