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-02-24 01:27:23 +01:00
|
|
|
|
# URL: https://bitbucket.org/pypa/setuptools
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python sqlite libffi
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=python-setuptools
|
2017-06-17 16:55:05 +02:00
|
|
|
|
version=36.0.1
|
|
|
|
|
release=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-06-17 16:55:05 +02:00
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-17 16:55:05 +02:00
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
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
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|