milis/talimatname/genel/p/python3-pip/talimat

25 lines
691 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Pypi python paketlerini yüklemek için kolay kurulum değiştirme
# URL: http://www.pip-installer.org
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools
# Grup: sistem
isim=python3-pip
surum=18.0
devir=1
kaynak=(https://github.com/pypa/pip/archive/${surum}.tar.gz::pip-$surum.tar.gz)
derle() {
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
}