This commit is contained in:
milisbir 2018-08-28 22:21:06 +03:00
parent 79f5909e78
commit 2220aad41c
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
# 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 python3-webencodings python3-html5lib python3-requests python3-distlib python3-packaging python3-cachecontrol
# Grup: sistem
isim=python3-pip
surum=18.0
devir=2
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
}