void-packages/srcpkgs/python2-pip/template
classabbyamp 9f651aa87b *: replace build_style=meta with metapackage=yes
see previous commit for context
2025-06-12 20:15:05 -04:00

25 lines
745 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() {
metapackage=yes
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}