[arch-commits] Commit in uwsgi/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Jun 4 07:23:27 UTC 2015


    Date: Thursday, June 4, 2015 @ 09:23:27
  Author: svenstaro
Revision: 134741

upgpkg: uwsgi 2.0.10-3

perl 5.22

Modified:
  uwsgi/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-04 07:02:07 UTC (rev 134740)
+++ PKGBUILD	2015-06-04 07:23:27 UTC (rev 134741)
@@ -22,7 +22,7 @@
          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)
@@ -115,6 +115,13 @@
     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() {



More information about the arch-commits mailing list