mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
pytest, remove python 2.7 dependency (#5348)
This commit is contained in:
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user