a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
21 lines
646 B
Bash
21 lines
646 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
|
|
patch_args=-Np0
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
mv ${DESTDIR}/usr/bin/pip{,2}
|
|
}
|