2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Python'da yazılmış (green unicorn) WSGI HTTP sunucu
|
|
|
|
|
# URL: http://pypi.python.org/pypi/six/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python python3 python-pip python3-pip
|
2018-08-13 13:06:39 +02:00
|
|
|
|
# Grup: ağ
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=gunicorn
|
|
|
|
|
surum=19.7.0
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(https://github.com/benoitc/${isim}/archive/${surum}.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd "${isim}-${surum}"
|
|
|
|
|
python3 setup.py install --root="${PKG}" --prefix=/usr --optimize=1
|
|
|
|
|
mv "${PKG}/usr/bin/gunicorn" "${PKG}/usr/bin/gunicorn3"
|
|
|
|
|
python setup.py install --root="${PKG}" --prefix=/usr --optimize=1
|
|
|
|
|
rm -r "${PKG}/usr/bin/gunicorn_paster"
|
|
|
|
|
}
|
|
|
|
|
|