[arch-commits] Commit in mod_wsgi/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at archlinux.org
Fri Jan 26 14:10:17 UTC 2018
Date: Friday, January 26, 2018 @ 14:10:16
Author: arodseth
Revision: 287151
archrelease: copy trunk to community-x86_64
Added:
mod_wsgi/repos/community-x86_64/PKGBUILD
(from rev 287150, mod_wsgi/trunk/PKGBUILD)
mod_wsgi/repos/community-x86_64/mod_wsgi.install
(from rev 287150, mod_wsgi/trunk/mod_wsgi.install)
Deleted:
mod_wsgi/repos/community-x86_64/PKGBUILD
mod_wsgi/repos/community-x86_64/mod_wsgi.install
------------------+
PKGBUILD | 114 ++++++++++++++++++++++++++---------------------------
mod_wsgi.install | 28 ++++++-------
2 files changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-26 14:10:00 UTC (rev 287150)
+++ PKGBUILD 2018-01-26 14:10:16 UTC (rev 287151)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Ryan Coyner <rcoyner at gmail.com>
-
-pkgbase=mod_wsgi
-pkgname=($pkgbase 'mod_wsgi2')
-pkgver=4.5.20
-pkgrel=1
-pkgdesc='Python WSGI adapter module for Apache'
-arch=('x86_64' 'i686')
-url='http://www.modwsgi.org/'
-license=('APACHE')
-makedepends=('apache' 'git' 'python' 'python2')
-install='mod_wsgi.install'
-source=("git+https://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver")
-md5sums=('SKIP')
-
-build() {
- # Configure and build mod_wsgi for py2
- cp -r "$pkgbase" py2
- cd py2
- ./configure \
- --prefix=/usr \
- --with-apxs=/usr/bin/apxs \
- --with-python=/usr/bin/python2
-
- make
-
- # Configure and build mod_wsgi for py3
- cd "$srcdir/$pkgbase"
- ./configure \
- --prefix=/usr \
- --with-apxs=/usr/bin/apxs \
- --with-python=/usr/bin/python
-
- make LDLIBS="$(pkg-config python3 --libs) -lpthread -ldl -lutil -lm"
-}
-
-package_mod_wsgi() {
- pkgdesc='Python WSGI adapter module for Apache'
- depends=('apache' 'python')
- conflicts=('mod_wsgi2')
-
- make -C "$pkgbase" DESTDIR="$pkgdir" install
-}
-
-package_mod_wsgi2() {
- pkgdesc='Python2 WSGI adapter module for Apache'
- depends=('apache' 'python2')
- conflicts=('mod_wsgi')
-
- make -C py2 DESTDIR="$pkgdir" install
-}
-
-# getver: github.com/GrahamDumpleton/mod_wsgi
-# vim: ts=2 sw=2 et:
Copied: mod_wsgi/repos/community-x86_64/PKGBUILD (from rev 287150, mod_wsgi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-26 14:10:16 UTC (rev 287151)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+
+pkgbase=mod_wsgi
+pkgname=($pkgbase 'mod_wsgi2')
+pkgver=4.5.24
+pkgrel=1
+pkgdesc='Python WSGI adapter module for Apache'
+arch=('x86_64')
+url='http://www.modwsgi.org/'
+license=('APACHE')
+makedepends=('apache' 'git' 'python' 'python2')
+install='mod_wsgi.install'
+source=("git+https://github.com/GrahamDumpleton/mod_wsgi#tag=$pkgver")
+md5sums=('SKIP')
+
+build() {
+ # Configure and build mod_wsgi for py2
+ cp -r "$pkgbase" py2
+ cd py2
+ ./configure \
+ --prefix=/usr \
+ --with-apxs=/usr/bin/apxs \
+ --with-python=/usr/bin/python2
+
+ make
+
+ # Configure and build mod_wsgi for py3
+ cd "$srcdir/$pkgbase"
+ ./configure \
+ --prefix=/usr \
+ --with-apxs=/usr/bin/apxs \
+ --with-python=/usr/bin/python
+
+ make LDLIBS="$(pkg-config python3 --libs) -lpthread -ldl -lutil -lm"
+}
+
+package_mod_wsgi() {
+ pkgdesc='Python WSGI adapter module for Apache'
+ depends=('apache' 'python')
+ conflicts=('mod_wsgi2')
+
+ make -C "$pkgbase" DESTDIR="$pkgdir" install
+}
+
+package_mod_wsgi2() {
+ pkgdesc='Python2 WSGI adapter module for Apache'
+ depends=('apache' 'python2')
+ conflicts=('mod_wsgi')
+
+ make -C py2 DESTDIR="$pkgdir" install
+}
+
+# getver: github.com/GrahamDumpleton/mod_wsgi
+# vim: ts=2 sw=2 et:
Deleted: mod_wsgi.install
===================================================================
--- mod_wsgi.install 2018-01-26 14:10:00 UTC (rev 287150)
+++ mod_wsgi.install 2018-01-26 14:10:16 UTC (rev 287151)
@@ -1,14 +0,0 @@
-post_install() {
- /bin/cat << dog
-==>
-==>
-==> To install mod_wsgi, add the following line in
-==> /etc/httpd/conf/httpd.conf file :
-==>
-==> LoadModule wsgi_module modules/mod_wsgi.so
-==>
-==> and restart/reload Apache.
-==>
-==>
-dog
-}
Copied: mod_wsgi/repos/community-x86_64/mod_wsgi.install (from rev 287150, mod_wsgi/trunk/mod_wsgi.install)
===================================================================
--- mod_wsgi.install (rev 0)
+++ mod_wsgi.install 2018-01-26 14:10:16 UTC (rev 287151)
@@ -0,0 +1,14 @@
+post_install() {
+ cat<<meow
+==>
+==>
+==> To install mod_wsgi, add the following line in
+==> /etc/httpd/conf/httpd.conf file :
+==>
+==> LoadModule wsgi_module modules/mod_wsgi.so
+==>
+==> and restart/reload Apache.
+==>
+==>
+meow
+}
More information about the arch-commits
mailing list