void-packages/srcpkgs/python3-pip/template

22 lines
686 B
Bash

# Template file for 'python3-pip'
pkgname=python3-pip
version=20.2.4
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="Orphaned <orphan@voidlinux.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=85c99a857ea0fb0aedf23833d9be5c40cf253fe24443f0829c7b472e23c364a1
alternatives="pip:pip:/usr/bin/pip3"
post_install() {
mv $DESTDIR/usr/bin/pip $DESTDIR/usr/bin/pip3
vlicense LICENSE.txt
}