vp-build/srcpkgs/python-pip/template

21 lines
630 B
Bash

# Template file for 'python-pip'
pkgname=python-pip
version=20.3.4
revision=1
wrksrc="pip-${version}"
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python-setuptools"
short_desc="PyPA recommended tool for installing PyPI packages (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
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=6773934e5f5fc3eaa8c5a44949b5b924fc122daa0a8aa9f80c835b4ca2a543fc
post_install() {
vlicense LICENSE.txt
mv ${DESTDIR}/usr/bin/pip{,2}
}