From 784d3ff49f166824446fb22585015253f1f2e08f Mon Sep 17 00:00:00 2001 From: OscarL Date: Mon, 20 Mar 2023 07:11:36 -0300 Subject: [PATCH] pytest: fix build, drop support for Python 3.7 and 3.8. (#8011) --- dev-python/pytest/pytest-7.1.3.recipe | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-python/pytest/pytest-7.1.3.recipe b/dev-python/pytest/pytest-7.1.3.recipe index 650ca99f4..2b66ac3f1 100644 --- a/dev-python/pytest/pytest-7.1.3.recipe +++ b/dev-python/pytest/pytest-7.1.3.recipe @@ -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="2" +REVISION="3" SOURCE_URI="https://pypi.io/packages/source/p/pytest/pytest-$portVersion.tar.gz" CHECKSUM_SHA256="4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39" @@ -20,8 +20,8 @@ BUILD_REQUIRES=" haiku_devel " -PYTHON_PACKAGES=(python3 python38 python39 python310) -PYTHON_VERSIONS=(3.7 3.8 3.9 3.10) +PYTHON_PACKAGES=(python39 python310) +PYTHON_VERSIONS=(3.9 3.10) for i in "${!PYTHON_PACKAGES[@]}"; do pythonPackage=${PYTHON_PACKAGES[i]} pythonVersion=${PYTHON_VERSIONS[$i]} @@ -47,6 +47,7 @@ BUILD_REQUIRES="$BUILD_REQUIRES " BUILD_PREREQUIRES="$BUILD_PREREQUIRES cmd:python$pythonVersion + pip_$pythonPackage " done