1
0
forked from ports/opt
opt/python-pip/Pkgfile

21 lines
509 B
Plaintext
Raw Normal View History

# Description: A tool for installing and managing Python packages.
2017-02-04 17:57:45 +11:00
# URL: https://pypi.python.org/pypi/pip/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python-setuptools
2017-02-04 01:20:44 +11:00
2017-02-05 15:36:53 +11:00
name=python-pip
2018-04-25 23:20:04 +10:00
version=10.0.1
release=2
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz)
2017-02-04 01:20:44 +11:00
build() {
2017-02-05 15:36:53 +11:00
cd ${name#*-}-$version
2017-02-04 01:21:50 +11:00
/usr/bin/python setup.py build
/usr/bin/python setup.py install \
--prefix=/usr --root=$PKG --optimize=1
chmod -R og-w $PKG
2017-02-04 01:20:44 +11:00
}