2017-02-04 17:52:10 +11:00
|
|
|
# Description: A tool for installing and managing Python packages.
|
2017-02-04 17:57:26 +11:00
|
|
|
# URL: https://pypi.python.org/pypi/pip/
|
2017-02-04 17:52:10 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-07-02 07:30:29 +10:00
|
|
|
# Depends on: python3-setuptools
|
2017-02-04 17:52:10 +11:00
|
|
|
|
|
|
|
name=python3-pip
|
2020-01-25 23:29:13 +11:00
|
|
|
version=20.0.2
|
2018-08-08 01:24:28 +10:00
|
|
|
release=1
|
2018-07-02 07:30:29 +10:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
2017-02-04 17:52:10 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
2018-07-02 07:30:29 +10:00
|
|
|
/usr/bin/python3 setup.py build
|
2017-03-04 21:40:22 +11:00
|
|
|
|
2018-07-02 07:30:29 +10:00
|
|
|
/usr/bin/python3 setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2017-02-04 17:52:10 +11:00
|
|
|
|
|
|
|
rm $PKG/usr/bin/pip
|
|
|
|
}
|