2018-06-09 00:06:58 +02:00
|
|
|
|
# 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: python sqlite libffi
|
2018-08-01 08:33:55 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=python-setuptools
|
|
|
|
|
surum=36.0.1
|
|
|
|
|
devir=1
|
|
|
|
|
|
2018-08-01 08:33:55 +02:00
|
|
|
|
kaynak=(https://files.pythonhosted.org/packages/source/${isim:8:1}/${isim#*-}/${isim#*-}-$surum.zip)
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
derle() {
|
2018-08-01 08:33:55 +02:00
|
|
|
|
cd ${isim#*-}-$surum
|
2018-06-09 00:06:58 +02:00
|
|
|
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
|
|
|
|
python2 bootstrap.py
|
|
|
|
|
python2 setup.py build
|
|
|
|
|
python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
|
unset SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES
|
|
|
|
|
rm $PKG/usr/bin/easy_install
|
|
|
|
|
}
|