pytest: enable 3.8, 3.9, remove 3.6

This commit is contained in:
Jerome Duval
2021-01-26 21:57:16 +01:00
parent ec34b26aa6
commit f68efdeb1b

View File

@@ -3,7 +3,7 @@ DESCRIPTION="The pytest framework makes it easy to write small tests, yet scales
HOMEPAGE="https://pytest.org"
COPYRIGHT="2010-2020 Holger Krekel and others."
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.io/packages/source/p/pytest/pytest-$portVersion.tar.gz"
CHECKSUM_SHA256="8f593023c1a0f916110285b6efd7f99db07d59546e3d8c36fc60e2ab05d3be92"
@@ -22,8 +22,8 @@ BUILD_REQUIRES="
haiku_devel
"
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]}
@@ -46,7 +46,7 @@ REQUIRES_$pythonPackage=\"\
py_$pythonPackage\
\""
BUILD_REQUIRES="$BUILD_REQUIRES
setuptools_$pythonPackage
setuptools_scm_$pythonPackage
"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion