# Template file for 'python3-pip'
pkgname=python3-pip
version=26.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core"
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=2d8542afcc84cdd8e846c2b36b2861fad1da376dd98f8e7113e9108a3c331690
# Tests have unpackaged dependencies
make_check=no

post_install() {
	vlicense LICENSE.txt

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