imutils: enable 3.8, 3.9, remove 3.6

This commit is contained in:
Jerome Duval
2021-02-01 11:46:18 +01:00
parent 3fe036e07c
commit 3faf08cef1

View File

@@ -6,7 +6,7 @@ more easier with OpenCV and both Python 2.7 and Python 3."
HOMEPAGE="https://github.com/jrosebr1/imutils"
COPYRIGHT="2015-2016 Adrian Rosebrock"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://files.pythonhosted.org/packages/b5/94/46dcae8c061e28be31bcaa55c560cb30ee9403c9a4bb2659768ec1b9eb7d/imutils-0.5.3.tar.gz"
CHECKSUM_SHA256="857af6169d90e4a0a814130b9b107f5d611150ce440107e1c1233521c6fb1e2b"
@@ -28,8 +28,8 @@ BUILD_REQUIRES="
devel:libopencv_core$secondaryArchSuffix
"
PYTHON_PACKAGES=(python36 python3)
PYTHON_VERSIONS=(3.6 3.7)
PYTHON_PACKAGES=(python3 python38 python39)
PYTHON_VERSIONS=(3.7 3.8 3.9)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
@@ -47,7 +47,6 @@ BUILD_REQUIRES="$BUILD_REQUIRES
"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:cython$pythonVersion$secondaryArchSuffix
cmd:git
cmd:gcc$secondaryArchSuffix
cmd:gfortran$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix