2017-02-04 11:38:30 +11:00
|
|
|
# Description: A tool for installing and managing Python packages.
|
2017-02-04 17:57:45 +11:00
|
|
|
# URL: https://pypi.python.org/pypi/pip/
|
2017-02-04 11:38:30 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-07-02 07:02:42 +10:00
|
|
|
# Depends on: python-setuptools
|
2017-02-04 01:20:44 +11:00
|
|
|
|
2017-02-05 15:36:53 +11:00
|
|
|
name=python-pip
|
2019-11-10 20:03:42 +11:00
|
|
|
version=19.3.1
|
2018-08-08 01:24:13 +10:00
|
|
|
release=1
|
2018-07-02 07:02:42 +10:00
|
|
|
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
|
|
|
|
2018-07-02 07:02:42 +10:00
|
|
|
/usr/bin/python setup.py build
|
2017-03-04 21:40:02 +11:00
|
|
|
|
2018-07-02 07:02:42 +10:00
|
|
|
/usr/bin/python setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2017-02-04 01:20:44 +11:00
|
|
|
}
|