diff --git a/dev-python/certifi/certifi-2023.7.22.recipe b/dev-python/certifi/certifi-2023.7.22.recipe index c176f2fcd..56d41c572 100644 --- a/dev-python/certifi/certifi-2023.7.22.recipe +++ b/dev-python/certifi/certifi-2023.7.22.recipe @@ -5,7 +5,7 @@ identity of TLS hosts. It has been extracted from the Requests project." HOMEPAGE="https://pypi.org/project/certifi/" COPYRIGHT="2011-2023 Kenneth Reitz" LICENSE="MPL v2.0" -REVISION="1" +REVISION="2" SOURCE_URI="https://pypi.python.org/packages/source/c/certifi/certifi-$portVersion.tar.gz" CHECKSUM_SHA256="539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082" @@ -22,13 +22,12 @@ BUILD_REQUIRES=" haiku_devel " -PYTHON_PACKAGES=(python39 python310) -PYTHON_VERSIONS=(3.9 3.10) -for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} +PYTHON_VERSIONS=(3.10) - eval "PROVIDES_${pythonPackage}=\" +for pythonVersion in ${PYTHON_VERSIONS[@]}; do + pythonPackage=python${pythonVersion//.} + + eval "PROVIDES_$pythonPackage=\" ${portName}_$pythonPackage = $portVersion \"" eval "REQUIRES_$pythonPackage=\" @@ -45,9 +44,8 @@ done INSTALL() { - for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} + for pythonVersion in ${PYTHON_VERSIONS[@]}; do + pythonPackage=python${pythonVersion//.} python=python$pythonVersion installLocation=$prefix/lib/$python/vendor-packages/