opt/python-pip/Pkgfile

19 lines
486 B
Plaintext
Raw Normal View History

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