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

post_install() {
	vlicense LICENSE.txt

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