void-packages/srcpkgs/python3-pip/template

24 lines
704 B
Bash

# Template file for 'python3-pip'
pkgname=python3-pip
version=24.1.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
short_desc="PyPA recommended tool for installing PyPI packages (Python3)"
maintainer="Andrew J. Hesford <ajh@sideband.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=e5458a0b89f2755e0ee8c0c77613fe5273e05f337907874d64f13171a898a7ff
# Tests have unpackaged dependencies
make_check=no
post_install() {
vlicense LICENSE.txt
rm "${DESTDIR}/usr/bin/pip"
ln -s pip3 "${DESTDIR}/usr/bin/pip"
}