cryptography: drop support for Python 3.7 and 3.8. (#8029)

This commit is contained in:
OscarL
2023-03-23 07:05:25 -03:00
committed by GitHub
parent 7af5c1dc05
commit 6211410b95

View File

@@ -8,7 +8,7 @@ HOMEPAGE="https://cryptography.io/"
COPYRIGHT="2013-2020 The cryptography developers"
LICENSE="Apache v2
BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.io/packages/source/c/cryptography/cryptography-$portVersion.tar.gz"
CHECKSUM_SHA256="5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed"
@@ -33,8 +33,8 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
"
PYTHON_PACKAGES=(python3 python38 python39 python310)
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
PYTHON_PACKAGES=(python39 python310)
PYTHON_VERSIONS=(3.9 3.10)
PYTHON_LIBSUFFIXES+=(m)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
@@ -60,9 +60,10 @@ if [ "$targetArchitecture" = "x86_gcc2" ]; then
\""
fi
BUILD_REQUIRES="$BUILD_REQUIRES
pip_$pythonPackage
setuptools_$pythonPackage
wheel_$pythonPackage
pip_$pythonPackage"
"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion"
done