pytest, remove python 2.7 dependency (#5348)

This commit is contained in:
Schrijvers Luc
2020-10-24 10:00:01 +02:00
committed by GitHub
parent ecd4f4e0c2
commit 1e08eec260

View File

@@ -3,7 +3,7 @@ DESCRIPTION="The pytest framework makes it easy to write small tests, yet scales
HOMEPAGE="https://pytest.org"
COPYRIGHT="2004-2017 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="ca563435f4941d0cb34767301c27bc65c510cb82e90b9ecf9cb52dc2c63caaa0"
@@ -14,7 +14,6 @@ PROVIDES="
cmd:py.test
cmd:pytest
"
REQUIRES="
haiku
"
@@ -23,8 +22,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python python36 python3)
PYTHON_VERSIONS=(2.7 3.6 3.7)
PYTHON_PACKAGES=(python36 python3)
PYTHON_VERSIONS=(3.6 3.7)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}