forked from ports/contrib
python3-pip: dup opt/python3-pip
This commit is contained in:
parent
115e6562f3
commit
27de93226f
File diff suppressed because it is too large
Load Diff
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF34wjzB3fHGBWejL131XLZtH/jp2v2jJdplBJ3w2fpCs5OhEvrgVNx8oTjnbTK/uKP5BRl0whKtcTz+Z7m4S/+QI=
|
||||
SHA256 (Pkgfile) = f257178df12b1c7d4091ee67d24053d6519358e41ec52fc1259d0a25da974e0e
|
||||
SHA256 (.footprint) = 66c0241637b1fe3287de21686326a4d5b44ffbc67c2291a7da0c57ad7235d830
|
||||
SHA256 (pip-19.3.1.tar.gz) = 21207d76c1031e517668898a6b46a9fb1501c7a4710ef5dfd6a40ad9e6757ea7
|
@ -1,23 +0,0 @@
|
||||
# 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 '{}' \+
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user