void-packages/srcpkgs/python2-pip/template

26 lines
746 B
Bash

# Template file for 'python2-pip'
pkgname=python2-pip
version=20.3.4
revision=2
build_style=python2-module
hostmakedepends="python2-setuptools"
depends="python2-setuptools"
short_desc="PyPA recommended tool for installing PyPI packages (Python2)"
maintainer="Leah Neukirchen <leah@vuxu.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=6773934e5f5fc3eaa8c5a44949b5b924fc122daa0a8aa9f80c835b4ca2a543fc
post_install() {
vlicense LICENSE.txt
mv ${DESTDIR}/usr/bin/pip{,2}
}
python-pip_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}