community/uwsgi to 2.0.6-3

This commit is contained in:
Kevin Mihelich 2014-08-28 12:03:41 +00:00
parent c7b74c8790
commit edda38904f
2 changed files with 9 additions and 3 deletions

View file

@ -27,7 +27,7 @@ pkgname=(uwsgi
#uwsgi-plugin-erlang #uwsgi-plugin-erlang
#uwsgi-plugin-admin #uwsgi-plugin-admin
pkgver=2.0.6 pkgver=2.0.6
pkgrel=1 pkgrel=3
arch=(i686 x86_64) arch=(i686 x86_64)
url="http://projects.unbit.it/$pkgbase" url="http://projects.unbit.it/$pkgbase"
license=(GPL2) license=(GPL2)
@ -49,7 +49,7 @@ source=(http://projects.unbit.it/downloads/$pkgbase-$pkgver.tar.gz
emperor.uwsgi.socket) emperor.uwsgi.socket)
md5sums=('50e9657ebbf52dd3bcd57b565f6b65a5' md5sums=('50e9657ebbf52dd3bcd57b565f6b65a5'
'a0749da07b545efcbb0276f52be22652' 'dec47bb8bb0dc8caf79331151879f3a0'
'752475ee32286acfbafa49b898616817' '752475ee32286acfbafa49b898616817'
'c54a60431d8d81c1a65b9f4b271ac718' 'c54a60431d8d81c1a65b9f4b271ac718'
'ea381549fe65a5d72fa1abb5ceb7d3ef' 'ea381549fe65a5d72fa1abb5ceb7d3ef'
@ -136,6 +136,9 @@ package_uwsgi-plugin-python2(){
install -Dm755 greenlet_plugin.so $pkgdir/usr/lib/uwsgi/greenlet_plugin.so install -Dm755 greenlet_plugin.so $pkgdir/usr/lib/uwsgi/greenlet_plugin.so
install -Dm755 gevent_plugin.so $pkgdir/usr/lib/uwsgi/gevent_plugin.so install -Dm755 gevent_plugin.so $pkgdir/usr/lib/uwsgi/gevent_plugin.so
ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-} ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-}
install -Dm644 uwsgidecorators.py $pkgdir/usr/lib/python2.7/site-packages/uwsgidecorators.py
python2 -m compileall $pkgdir/usr/lib/python2.7/site-packages/
python2 -O -m compileall $pkgdir/usr/lib/python2.7/site-packages/
} }
package_uwsgi-plugin-python(){ package_uwsgi-plugin-python(){
@ -145,6 +148,9 @@ package_uwsgi-plugin-python(){
cd $srcdir/$pkgbase-$pkgver cd $srcdir/$pkgbase-$pkgver
install -Dm755 $srcdir/$pkgbase-$pkgver/python_plugin.so $pkgdir/usr/lib/uwsgi/python_plugin.so install -Dm755 $srcdir/$pkgbase-$pkgver/python_plugin.so $pkgdir/usr/lib/uwsgi/python_plugin.so
ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-} ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-}
install -Dm644 uwsgidecorators.py $pkgdir/usr/lib/python3.4/site-packages/uwsgidecorators.py
python -m compileall $pkgdir/usr/lib/python3.4/site-packages/
python -O -m compileall $pkgdir/usr/lib/python3.4/site-packages/
} }
package_uwsgi-plugin-nagios(){ package_uwsgi-plugin-nagios(){

View file

@ -14,4 +14,4 @@ yaml_implementation = auto
malloc_implementation = libc malloc_implementation = libc
embedded_plugins = echo, ping, http, corerouter embedded_plugins = echo, ping, http, corerouter
plugin_dir = /usr/lib/uwsgi plugin_dir = /usr/lib/uwsgi
plugins = echo, ping, http, rack, psgi, corerouter, rbthreads, fiber, python, nagios, lua, cache, cgi, rpc, ugreen, carbon, rrdtool, pam, systemd_logger, php, fastrouter, router_uwsgi, router_redirect, router_basicauth, zergpool, router_rewrite, router_http, router_cache, rawrouter, router_static, sslrouter plugins = echo, ping, http, rack, psgi, corerouter, rbthreads, fiber, python, nagios, lua, cache, cgi, rpc, ugreen, carbon, rrdtool, pam, systemd_logger, php, fastrouter, router_uwsgi, router_redirect, router_basicauth, zergpool, router_rewrite, router_http, router_cache, rawrouter, router_static, sslrouter, transformation_chunked, transformation_gzip, transformation_offload, transformation_template, transformation_tofile, transformation_toupper