void-packages/srcpkgs/python3-pip/template
Andrew J. Hesford 7bec508cab python3-pip: update to 21.1.
Install entrypoint script as `pip3` and make `pip` a symlink.

Closes #30075.
2021-04-25 12:41:38 -04:00

23 lines
693 B
Bash

# Template file for 'python3-pip'
pkgname=python3-pip
version=21.1
revision=1
wrksrc="pip-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
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=a810bf07c3723a28621c29abe8e34429fa082c337f89aea9a795865416b66d3e
# Tests have unpackaged dependencies
make_check=no
post_install() {
vlicense LICENSE.txt
ln -s pip3 "${DESTDIR}/usr/bin/pip"
}