PIP: bump, pyversions (#4255)

This commit is contained in:
miqlas
2019-10-09 05:25:20 +02:00
committed by waddlesplash
parent 4782ded8c7
commit 8a772505fb

View File

@@ -1,11 +1,11 @@
SUMMARY="The PyPA recommended tool for installing Python packages"
DESCRIPTION="Install Python packages, replacement for easy_install"
HOMEPAGE="https://pypi.python.org/pypi/pip"
COPYRIGHT="2006-2014 Python Packaging Authority"
COPYRIGHT="2006-2019 Python Packaging Authority"
LICENSE="Python"
REVISION="1"
SOURCE_URI="https://pypi.io/packages/source/p/pip/pip-$portVersion.tar.gz"
CHECKSUM_SHA256="f62fb70e7e000e46fce12aaeca752e5281a5446977fe5a75ab4189a43b3f8793"
CHECKSUM_SHA256="e7a31f147974362e6c82d84b91c7f2bdf57e4d3163d3d454e6c3e71944d67135"
ARCHITECTURES="any"
@@ -20,15 +20,14 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python python3)
PYTHON_VERSIONS=(2.7 3.6)
PYTHON_PACKAGES=(python python36 python3)
PYTHON_VERSIONS=(2.7 3.6 3.7)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
eval "PROVIDES_${pythonPackage}=\"\
${portName}_$pythonPackage = $portVersion\n\
cmd:pip$pythonVersion\n\
cmd:pip${pythonVersion:0:1}\n\
\"; \
REQUIRES_$pythonPackage=\"\
haiku\n\
@@ -66,7 +65,7 @@ INSTALL()
--root=/ --prefix=$prefix
if [ $pythonPackage != python ]; then
rm $binDir/pip
rm $binDir/{pip,pip3}
fi
packageEntries $pythonPackage \
$prefix/lib/python* \