python-pip: update to 20.0.2.

This commit is contained in:
Piotr Wójcik 2020-03-28 13:30:24 +01:00 committed by Piotr
parent a6b1b5aa1a
commit 4ba7c6f6c4
2 changed files with 9 additions and 8 deletions

View File

@ -1,11 +1,13 @@
--- setup.py.orig
+++ setup.py
@@ -76,8 +76,6 @@
@@ -75,10 +75,6 @@
entry_points={
"console_scripts": [
"pip=pip._internal.main:main",
- "pip%s=pip._internal.main:main" % sys.version_info[:1],
- "pip%s.%s=pip._internal.main:main" % sys.version_info[:2],
"pip=pip._internal.cli.main:main",
- "pip{}=pip._internal.cli.main:main".format(sys.version_info[0]),
- "pip{}.{}=pip._internal.cli.main:main".format(
- *sys.version_info[:2]
- ),
],
},

View File

@ -1,19 +1,19 @@
# Template file for 'python-pip'
pkgname=python-pip
version=19.3.1
version=20.0.2
revision=1
archs=noarch
wrksrc="pip-${version}"
build_style=python-module
pycompile_module="pip"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="PyPA recommended tool for installing PyPI packages (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://pip.pypa.io/"
changelog="https://raw.githubusercontent.com/pypa/pip/master/NEWS.rst"
distfiles="${PYPI_SITE}/p/pip/pip-${version}.tar.gz"
checksum=21207d76c1031e517668898a6b46a9fb1501c7a4710ef5dfd6a40ad9e6757ea7
checksum=7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f
alternatives="pip:pip:/usr/bin/pip2"
post_install() {
@ -22,7 +22,6 @@ post_install() {
python3-pip_package() {
archs=noarch
pycompile_module="pip"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="pip:pip:/usr/bin/pip3"