python-pip: drop package
This commit is contained in:
parent
6c317f4ca1
commit
2cae61c368
5 changed files with 21 additions and 32 deletions
|
@ -1,31 +0,0 @@
|
||||||
# Template file for 'python-pip'
|
|
||||||
pkgname=python-pip
|
|
||||||
version=20.2.3
|
|
||||||
revision=1
|
|
||||||
wrksrc="pip-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
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=30c70b6179711a7c4cf76da89e8a0f5282279dfb0278bec7b94134be92543b6d
|
|
||||||
alternatives="pip:pip:/usr/bin/pip2"
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-pip_package() {
|
|
||||||
depends="python3-setuptools"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="pip:pip:/usr/bin/pip3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/pip3
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-pip
|
|
21
srcpkgs/python3-pip/template
Normal file
21
srcpkgs/python3-pip/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'python3-pip'
|
||||||
|
pkgname=python3-pip
|
||||||
|
version=20.2.3
|
||||||
|
revision=2
|
||||||
|
wrksrc="pip-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-setuptools"
|
||||||
|
short_desc="PyPA recommended tool for installing PyPI packages (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
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=30c70b6179711a7c4cf76da89e8a0f5282279dfb0278bec7b94134be92543b6d
|
||||||
|
alternatives="pip:pip:/usr/bin/pip3"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
mv $DESTDIR/usr/bin/pip $DESTDIR/usr/bin/pip3
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
Loading…
Reference in a new issue