mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
pytest, bump version, add python3.10 (#7182)
This commit is contained in:
@@ -3,9 +3,9 @@ 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="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/p/pytest/pytest-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b"
|
||||
CHECKSUM_SHA256="4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -20,8 +20,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python3 python38 python39)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9)
|
||||
PYTHON_PACKAGES=(python3 python38 python39 python310)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -49,7 +49,10 @@ BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
setuptools_scm_$pythonPackage
|
||||
"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:git
|
||||
cmd:python$pythonVersion
|
||||
pip_$pythonPackage
|
||||
wheel_$pythonPackage\n\
|
||||
"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user