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

22 lines
636 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: Python paketlerini kolayca indirin, oluşturun, yükleyin, yükseltin ve kaldırın
# URL: https://bitbucket.org/pypa/setuptools
# Paketçi: milisarge
# Gerekler: python3 sqlite libffi
# Grup: sistem
isim=python3-setuptools
surum=36.0.1
devir=1
kaynak=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$surum.zip)
derle() {
cd ${name#*-}-$surum
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
python3 bootstrap.py
python3 setup.py build
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
unset SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES
rm $PKG/usr/bin/easy_install
}