diff --git a/dev-python/pip/pip-19.3.1.recipe b/dev-python/pip/pip-19.3.1.recipe index 052ea99ca..6bbcde6ff 100644 --- a/dev-python/pip/pip-19.3.1.recipe +++ b/dev-python/pip/pip-19.3.1.recipe @@ -3,7 +3,7 @@ DESCRIPTION="Install Python packages, replacement for easy_install" HOMEPAGE="https://pypi.python.org/pypi/pip" COPYRIGHT="2006-2019 Python Packaging Authority" LICENSE="Python" -REVISION="2" +REVISION="3" SOURCE_URI="https://pypi.io/packages/source/p/pip/pip-$portVersion.tar.gz" CHECKSUM_SHA256="21207d76c1031e517668898a6b46a9fb1501c7a4710ef5dfd6a40ad9e6757ea7" @@ -20,8 +20,8 @@ BUILD_REQUIRES=" haiku_devel " -PYTHON_PACKAGES=(python python3 python38 python39) -PYTHON_VERSIONS=(2.7 3.7 3.8 3.9) +PYTHON_PACKAGES=(python python3 python38 python39 python3.10) +PYTHON_VERSIONS=(2.7 3.7 3.8 3.9 3.10) for i in "${!PYTHON_PACKAGES[@]}"; do pythonPackage=${PYTHON_PACKAGES[i]} pythonVersion=${PYTHON_VERSIONS[$i]} @@ -64,6 +64,7 @@ INSTALL() if [ $pythonPackage != python ]; then rm $binDir/{pip,pip3} fi + rm $binDir/pip${pythonVersion%%.*} || true packageEntries $pythonPackage \ $prefix/lib/python* \ $binDir