30 lines
836 B
Bash
30 lines
836 B
Bash
# Template file for 'python-pip'
|
|
pkgname=python-pip
|
|
version=20.3.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=79c1ac8a9dccbec8752761cb5a2df833224263ca661477a2a9ed03ddf4e0e3ba
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-pip_package() {
|
|
depends="python3-setuptools"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/bin/pip3
|
|
mv ${PKGDESTDIR}/usr/bin/pip{3,}
|
|
vmove ${py3_lib}
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|