2018-08-13 21:36:54 +02:00
|
|
|
|
# Tanım: Pypi python paketlerini yüklemek için kolay kurulum değiştirme
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# URL: http://www.pip-installer.org
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python3 python3-setuptools
|
2018-08-01 09:22:28 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=python3-pip
|
2018-08-13 21:36:54 +02:00
|
|
|
|
surum=18.0
|
2018-06-09 00:06:58 +02:00
|
|
|
|
devir=1
|
|
|
|
|
|
2018-08-13 21:36:54 +02:00
|
|
|
|
kaynak=(https://github.com/pypa/pip/archive/${surum}.tar.gz::pip-$surum.tar.gz)
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
derle() {
|
2018-08-13 21:36:54 +02:00
|
|
|
|
cd $SRC/pip-$surum
|
|
|
|
|
mv src/pip/_vendor/__init__.py /tmp
|
|
|
|
|
rm -rf src/pip/_vendor/*
|
|
|
|
|
mv /tmp/__init__.py src/pip/_vendor/
|
|
|
|
|
sed -i 's/DEBUNDLED = False/DEBUNDLED = True/' src/pip/_vendor/__init__.py
|
|
|
|
|
python3 setup.py build
|
|
|
|
|
python3 setup.py install --prefix=/usr --root="$PKG"
|
|
|
|
|
install -D -m644 LICENSE.txt $PKG/usr/share/licenses/$isim/LICENSE
|
|
|
|
|
rm $PKG/usr/bin/pip
|
2018-06-09 00:06:58 +02:00
|
|
|
|
}
|
|
|
|
|
|