python3-pip: initial commit, version 19.3.1

This commit is contained in:
Tim Biermann 2021-06-14 19:51:53 +00:00
parent 5029c45f0d
commit e199a4355a
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 1114 additions and 0 deletions

1087
python3-pip/.footprint Normal file

File diff suppressed because it is too large Load Diff

4
python3-pip/.signature Normal file
View File

@ -0,0 +1,4 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF316zwytnMleOp6p7WBiRbZ8CsWwZKfBLscvGIdi7s2ebe09aRD8+wt9UbUXn9/gjQoHj8tFQpej8QhscJl3qPQc=
SHA256 (Pkgfile) = f257178df12b1c7d4091ee67d24053d6519358e41ec52fc1259d0a25da974e0e
SHA256 (.footprint) = 66c0241637b1fe3287de21686326a4d5b44ffbc67c2291a7da0c57ad7235d830

23
python3-pip/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Description: A tool for installing and managing Python packages.
# URL: https://pypi.python.org/pypi/pip/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
name=python3-pip
version=19.3.1
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
rm $PKG/usr/bin/pip
# again why does this happen?
find $PKG/usr/lib/python3.9/site-packages -type f -exec chmod o-w '{}' \+
}