urllib3: enable 3.8, 3.9, remove 3.6

This commit is contained in:
Jerome Duval
2021-01-26 22:03:18 +01:00
parent e26572465c
commit eead7fe357

View File

@@ -18,7 +18,7 @@ HOMEPAGE="https://urllib3.readthedocs.io/
https://github.com/urllib3/urllib3"
COPYRIGHT="2008-2018 Andrey Petrov and contributors"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/shazow/urllib3/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="066fa334d4b446ea2b5edf2f8b392c65993de604e18d708b0aca9e34dd2e6836"
SOURCE_FILENAME="urllib3-$portVersion.tar.gz"
@@ -36,16 +36,18 @@ BUILD_REQUIRES="
haiku_devel
setuptools_python
setuptools_python3
setuptools_python36
setuptools_python38
setuptools_python39
"
BUILD_PREREQUIRES="
cmd:python
cmd:python3
cmd:python3.6
cmd:python3.8
cmd:python3.9
"
PYTHON_PACKAGES=(python python36 python3)
PYTHON_VERSIONS=(2.7 3.6 3.7)
PYTHON_PACKAGES=(python python3 python38 python39)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}