# Template file for 'python3-pip'
pkgname=python3-pip
version=25.0
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=8e0a97f7b4c47ae4a494560da84775e9e2f671d415d8d828e052efefb206b30b
# Tests have unpackaged dependencies
make_check=no

post_install() {
	vlicense LICENSE.txt

	rm "${DESTDIR}/usr/bin/pip"
	ln -s pip3 "${DESTDIR}/usr/bin/pip"
}
