2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Python'da yazılmış (green unicorn) WSGI HTTP sunucu
|
2017-03-19 02:02:24 +01:00
|
|
|
|
# URL: http://pypi.python.org/pypi/six/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python python3 python-pip python3-pip
|
2017-03-19 02:02:24 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=gunicorn
|
|
|
|
|
surum=19.7.0
|
|
|
|
|
devir=1
|
2017-03-19 02:02:24 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(https://github.com/benoitc/${isim}/archive/${surum}.tar.gz)
|
2017-03-19 02:02:24 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "${isim}-${surum}"
|
2017-03-19 02:02:24 +01:00
|
|
|
|
python3 setup.py install --root="${PKG}" --prefix=/usr --optimize=1
|
2017-03-19 02:14:46 +01:00
|
|
|
|
mv "${PKG}/usr/bin/gunicorn" "${PKG}/usr/bin/gunicorn3"
|
|
|
|
|
python setup.py install --root="${PKG}" --prefix=/usr --optimize=1
|
2017-03-19 02:02:24 +01:00
|
|
|
|
rm -r "${PKG}/usr/bin/gunicorn_paster"
|
|
|
|
|
}
|
|
|
|
|
|