2017-04-12 14:19:40 +02:00
|
|
|
|
# Description: 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
|
|
|
|
|
# Packager: milisarge
|
2017-06-17 16:55:05 +02:00
|
|
|
|
# Depends on: python3 sqlite
|
2016-05-31 02:30:13 +02:00
|
|
|
|
|
|
|
|
|
name=python3-setuptools
|
2017-06-17 16:55:05 +02:00
|
|
|
|
version=36.0.1
|
2016-05-31 02:30:13 +02:00
|
|
|
|
release=1
|
|
|
|
|
|
2017-06-17 16:55:05 +02:00
|
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
|
2016-05-31 02:30:13 +02:00
|
|
|
|
|
|
|
|
|
build() {
|
2017-06-17 16:55:05 +02:00
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
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
|
|
|
|
}
|