lxml: enable 3.8, 3.9

This commit is contained in:
Jerome Duval
2021-01-25 21:20:05 +01:00
parent 34883fdb67
commit c2e1c8cc41

View File

@@ -12,7 +12,7 @@ COPYRIGHT="2003-2010 Gustavo Niemeyer
LICENSE="BSD (3-clause)
GNU GPL v2
PSF-2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://lxml.de/files/lxml-$portVersion.tgz"
CHECKSUM_SHA256="c81cb40bff373ab7a7446d6bbca0190bccc5be3448b47b51d729e37799bb5692"
@@ -57,14 +57,18 @@ if [ -z "$secondaryArchSuffix" ]; then
fi
# gcc2 does not support the flags passed by python3
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
PYTHON_PACKAGES+=(python3)
PYTHON_VERSIONS+=(3.7)
PYTHON_LIBSUFFIXES+=(m)
PYTHON_PACKAGES+=(python3 python38 python39)
PYTHON_VERSIONS+=(3.7 3.8 3.9)
PYTHON_LIBSUFFIXES+=(m '' '')
BUILD_REQUIRES+="
setuptools_python3
setuptools_python38
setuptools_python39
"
BUILD_PREREQUIRES+="
cmd:python3
cmd:python3.8
cmd:python3.9
"
fi
for i in "${!PYTHON_PACKAGES[@]}"; do
@@ -87,6 +91,12 @@ if [ "$targetArchitecture" = x86_gcc2 -a -n "$secondaryArchSuffix" ]; then
PROVIDES_python3+="
lxml_python3 = $portVersion
"
PROVIDES_python38+="
lxml_python38 = $portVersion
"
PROVIDES_python39+="
lxml_python39 = $portVersion
"
fi
INSTALL()