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

Alexander Rødseth arodseth at archlinux.org
Sun Jul 16 12:36:45 UTC 2017


    Date: Sunday, July 16, 2017 @ 12:36:44
  Author: arodseth
Revision: 245351

upgpkg: mod_wsgi 4.5.17-1

Modified:
  mod_wsgi/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-16 12:26:45 UTC (rev 245350)
+++ PKGBUILD	2017-07-16 12:36:44 UTC (rev 245351)
@@ -5,7 +5,7 @@
 
 pkgbase=mod_wsgi
 pkgname=($pkgbase 'mod_wsgi2')
-pkgver=4.4.22
+pkgver=4.5.17
 pkgrel=1
 pkgdesc='Python2 WSGI adapter module for Apache'
 arch=('x86_64' 'i686')
@@ -19,19 +19,24 @@
 build() {
   cp -r "$pkgbase" py2
 
-  # Build the Python 3 version
   cd "$pkgbase"
-  ./configure --prefix=/usr \
+
+  ./configure \
+    --prefix=/usr \
     --with-apxs=/usr/bin/apxs \
     --with-python=/usr/bin/python
+
+  # Build mod_wsgi for py3
   make LDLIBS='-lpython3 -lpthread -ldl -lutil -lm'
 
-  # Build the Python 2 version
   cd "$srcdir/py2"
+
   ./configure \
     --prefix=/usr \
     --with-apxs=/usr/bin/apxs \
     --with-python=/usr/bin/python2
+
+  # Build mod_wsgi for py2
   make
 }
 
@@ -51,4 +56,4 @@
   make -C py2 DESTDIR="$pkgdir" install
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list