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

21 lines
621 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Python paketlerini kolayca indirin, oluşturun, yükleyin, yükseltin ve kaldırın
2016-05-31 02:30:13 +02:00
# URL: https://bitbucket.org/pypa/setuptools
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python3 sqlite libffi
2016-05-31 02:30:13 +02:00
2017-10-28 14:10:23 +02:00
isim=python3-setuptools
surum=36.0.1
devir=1
2016-05-31 02:30:13 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$surum.zip)
2016-05-31 02:30:13 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ${name#*-}-$surum
2017-06-17 16:55:05 +02:00
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
2016-05-31 02:30:13 +02:00
}