community/uwsgi to 2.0.10-3

This commit is contained in:
David Beauchamp 2015-06-28 07:40:59 -04:00
parent 0b9bd87b4a
commit bb1d8f03c6

View file

@ -24,7 +24,7 @@ pkgname=(uwsgi
uwsgi-plugin-webdav
mod_proxy_uwsgi)
pkgver=2.0.10
pkgrel=2
pkgrel=3
arch=(i686 x86_64)
url="http://projects.unbit.it/$pkgbase"
license=(GPL2)
@ -116,6 +116,13 @@ 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);')
depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
fi
# template end;
}
package_uwsgi-plugin-python2() {