community/uwsgi to 2.0.17.1-4

This commit is contained in:
Kevin Mihelich 2018-08-06 13:15:59 +00:00
parent 81c7391888
commit 2beaf843ab

View file

@ -26,7 +26,7 @@ pkgname=(uwsgi
uwsgi-plugin-notfound
mod_proxy_uwsgi)
pkgver=2.0.17.1
pkgrel=2
pkgrel=4
arch=(x86_64)
url="http://projects.unbit.it/$pkgbase"
license=(GPL2)
@ -133,12 +133,6 @@ package_uwsgi-plugin-psgi() {
depends=(uwsgi perl)
pkgdesc="Perl psgi plugin"
install -Dm755 $pkgbase-$pkgver/psgi_plugin.so $pkgdir/usr/lib/uwsgi/psgi_plugin.so
# template start; name=perl-binary-module-dependency; version=1;
if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
fi
# template end;
}
package_uwsgi-plugin-python2() {
@ -159,9 +153,9 @@ package_uwsgi-plugin-python() {
install -Dm755 $pkgbase-$pkgver/greenlet_plugin.so $pkgdir/usr/lib/uwsgi/greenlet_plugin.so
install -Dm755 $pkgbase-$pkgver/gevent_plugin.so $pkgdir/usr/lib/uwsgi/gevent_plugin.so
install -Dm755 $pkgbase-$pkgver/asyncio_plugin.so $pkgdir/usr/lib/uwsgi/asyncio_plugin.so
install -Dm644 $pkgbase-$pkgver/uwsgidecorators.py $pkgdir/usr/lib/python3.6/site-packages/uwsgidecorators.py
python -m compileall $pkgdir/usr/lib/python3.6/site-packages/
python -O -m compileall $pkgdir/usr/lib/python3.6/site-packages/
install -Dm644 $pkgbase-$pkgver/uwsgidecorators.py $pkgdir/usr/lib/python3.7/site-packages/uwsgidecorators.py
python -m compileall $pkgdir/usr/lib/python3.7/site-packages/
python -O -m compileall $pkgdir/usr/lib/python3.7/site-packages/
}
package_uwsgi-plugin-lua51() {