python-pip: rename to python2-pip

adopted by Leah at her request
This commit is contained in:
classabbyamp 2024-09-28 04:36:54 -04:00 committed by classabbyamp
parent 46e756a27b
commit 64c987d347
4 changed files with 13 additions and 6 deletions

1
srcpkgs/python-pip Symbolic link
View file

@ -0,0 +1 @@
python2-pip

View file

@ -1,12 +1,12 @@
# Template file for 'python-pip' # Template file for 'python2-pip'
pkgname=python-pip pkgname=python2-pip
version=20.3.4 version=20.3.4
revision=1 revision=2
build_style=python2-module build_style=python2-module
hostmakedepends="python-setuptools" hostmakedepends="python2-setuptools"
depends="python-setuptools" depends="python2-setuptools"
short_desc="PyPA recommended tool for installing PyPI packages (Python2)" short_desc="PyPA recommended tool for installing PyPI packages (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT" license="MIT"
homepage="https://pip.pypa.io/" homepage="https://pip.pypa.io/"
changelog="https://raw.githubusercontent.com/pypa/pip/master/NEWS.rst" changelog="https://raw.githubusercontent.com/pypa/pip/master/NEWS.rst"
@ -17,3 +17,9 @@ post_install() {
vlicense LICENSE.txt vlicense LICENSE.txt
mv ${DESTDIR}/usr/bin/pip{,2} mv ${DESTDIR}/usr/bin/pip{,2}
} }
python-pip_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}