pytest_mock: drop support for Python 3.7 and 3.8, add 3.10. (#8012)

This commit is contained in:
OscarL
2023-03-20 08:03:12 -03:00
committed by GitHub
parent ef3df7a04e
commit 18992221c3

View File

@@ -4,7 +4,7 @@ the mock package for py.test."
HOMEPAGE="https://pytest.org"
COPYRIGHT="2016 Bruno Oliveira"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.io/packages/source/p/pytest-mock/pytest-mock-$portVersion.tar.gz"
CHECKSUM_SHA256="5112bd92cc9f186ee96e1a92efc84969ea494939c3aead39c50f421c4cc69534"
SOURCE_DIR="pytest-mock-$portVersion"
@@ -22,8 +22,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python3 python38 python39)
PYTHON_VERSIONS=(3.7 3.8 3.9)
PYTHON_PACKAGES=(python39 python310)
PYTHON_VERSIONS=(3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}