void-packages/srcpkgs/python3-pip/template

24 lines
702 B
Bash

# Template file for 'python3-pip'
pkgname=python3-pip
version=24.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=5b5e490b5e9cb275c879595064adce9ebd31b854e3e803740b72f9ccf34a45b8
# Tests have unpackaged dependencies
make_check=no
post_install() {
vlicense LICENSE.txt
rm "${DESTDIR}/usr/bin/pip"
ln -s pip3 "${DESTDIR}/usr/bin/pip"
}