[arch-commits] Commit in mod_wsgi/repos (8 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sun May 25 10:39:16 UTC 2014
Date: Sunday, May 25, 2014 @ 12:39:16
Author: arodseth
Revision: 111823
archrelease: copy trunk to community-x86_64, community-i686
Added:
mod_wsgi/repos/community-i686/PKGBUILD
(from rev 111822, mod_wsgi/trunk/PKGBUILD)
mod_wsgi/repos/community-i686/mod_wsgi.install
(from rev 111822, mod_wsgi/trunk/mod_wsgi.install)
mod_wsgi/repos/community-x86_64/PKGBUILD
(from rev 111822, mod_wsgi/trunk/PKGBUILD)
mod_wsgi/repos/community-x86_64/mod_wsgi.install
(from rev 111822, mod_wsgi/trunk/mod_wsgi.install)
Deleted:
mod_wsgi/repos/community-i686/PKGBUILD
mod_wsgi/repos/community-i686/mod_wsgi.install
mod_wsgi/repos/community-x86_64/PKGBUILD
mod_wsgi/repos/community-x86_64/mod_wsgi.install
-----------------------------------+
/PKGBUILD | 104 ++++++++++++++++++++++++++++++++++++
/mod_wsgi.install | 28 +++++++++
community-i686/PKGBUILD | 33 -----------
community-i686/mod_wsgi.install | 14 ----
community-x86_64/PKGBUILD | 33 -----------
community-x86_64/mod_wsgi.install | 14 ----
6 files changed, 132 insertions(+), 94 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-05-25 10:39:00 UTC (rev 111822)
+++ community-i686/PKGBUILD 2014-05-25 10:39:16 UTC (rev 111823)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Ryan Coyner <rcoyner at gmail.com>
-
-pkgname=mod_wsgi
-pkgver=3.4
-pkgrel=4
-pkgdesc='Python WSGI adapter module for Apache'
-arch=('x86_64' 'i686')
-url='http://www.modwsgi.org/'
-license=('APACHE')
-depends=('apache' 'python')
-install=mod_wsgi.install
-source=("http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz")
-sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8')
-
-build() {
- cd "$srcdir/$pkgbase-$pkgver"
-
- ./configure --prefix=/usr \
- --with-apxs=/usr/bin/apxs \
- --with-python=/usr/bin/python
- make LDLIBS='-lpython3 -lpthread -ldl -lutil -lm'
-}
-
-package() {
- cd "$srcdir/$pkgbase-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: mod_wsgi/repos/community-i686/PKGBUILD (from rev 111822, mod_wsgi/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-25 10:39:16 UTC (rev 111823)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+
+pkgbase=mod_wsgi
+pkgname=($pkgbase 'mod_wsgi2')
+pkgver=3.5
+pkgrel=1
+pkgdesc='Python2 WSGI adapter module for Apache'
+arch=('x86_64' 'i686')
+url='http://www.modwsgi.org/'
+license=('APACHE')
+makedepends=('apache' 'python' 'python2')
+install='mod_wsgi.install'
+source=("https://github.com/GrahamDumpleton/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('f0674c38f0f568ece55610bcc6a775c179835c4cba23aa7f876d2a2a8520bf93')
+
+build() {
+ cp -r "$pkgbase-$pkgver" py2
+
+ # Build the Python 3 version
+ cd "$pkgbase-$pkgver"
+ ./configure --prefix=/usr \
+ --with-apxs=/usr/bin/apxs \
+ --with-python=/usr/bin/python
+ 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
+ make
+}
+
+package_mod_wsgi() {
+ pkgdesc='Python WSGI adapter module for Apache'
+ depends=('apache' 'python')
+ conflicts=('mod_wsgi2')
+ make -C "$pkgbase-$pkgver" 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
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-i686/mod_wsgi.install
===================================================================
--- community-i686/mod_wsgi.install 2014-05-25 10:39:00 UTC (rev 111822)
+++ community-i686/mod_wsgi.install 2014-05-25 10:39:16 UTC (rev 111823)
@@ -1,14 +0,0 @@
-post_install() {
-/bin/cat << ENDOFMESSAGE
-==>
-==>
-==> 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.
-==>
-==>
-ENDOFMESSAGE
-}
Copied: mod_wsgi/repos/community-i686/mod_wsgi.install (from rev 111822, mod_wsgi/trunk/mod_wsgi.install)
===================================================================
--- community-i686/mod_wsgi.install (rev 0)
+++ community-i686/mod_wsgi.install 2014-05-25 10:39:16 UTC (rev 111823)
@@ -0,0 +1,14 @@
+post_install() {
+/bin/cat << ENDOFMESSAGE
+==>
+==>
+==> 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.
+==>
+==>
+ENDOFMESSAGE
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-05-25 10:39:00 UTC (rev 111822)
+++ community-x86_64/PKGBUILD 2014-05-25 10:39:16 UTC (rev 111823)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Ryan Coyner <rcoyner at gmail.com>
-
-pkgname=mod_wsgi
-pkgver=3.4
-pkgrel=4
-pkgdesc='Python WSGI adapter module for Apache'
-arch=('x86_64' 'i686')
-url='http://www.modwsgi.org/'
-license=('APACHE')
-depends=('apache' 'python')
-install=mod_wsgi.install
-source=("http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz")
-sha256sums=('ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8')
-
-build() {
- cd "$srcdir/$pkgbase-$pkgver"
-
- ./configure --prefix=/usr \
- --with-apxs=/usr/bin/apxs \
- --with-python=/usr/bin/python
- make LDLIBS='-lpython3 -lpthread -ldl -lutil -lm'
-}
-
-package() {
- cd "$srcdir/$pkgbase-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: mod_wsgi/repos/community-x86_64/PKGBUILD (from rev 111822, mod_wsgi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-05-25 10:39:16 UTC (rev 111823)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+
+pkgbase=mod_wsgi
+pkgname=($pkgbase 'mod_wsgi2')
+pkgver=3.5
+pkgrel=1
+pkgdesc='Python2 WSGI adapter module for Apache'
+arch=('x86_64' 'i686')
+url='http://www.modwsgi.org/'
+license=('APACHE')
+makedepends=('apache' 'python' 'python2')
+install='mod_wsgi.install'
+source=("https://github.com/GrahamDumpleton/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('f0674c38f0f568ece55610bcc6a775c179835c4cba23aa7f876d2a2a8520bf93')
+
+build() {
+ cp -r "$pkgbase-$pkgver" py2
+
+ # Build the Python 3 version
+ cd "$pkgbase-$pkgver"
+ ./configure --prefix=/usr \
+ --with-apxs=/usr/bin/apxs \
+ --with-python=/usr/bin/python
+ 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
+ make
+}
+
+package_mod_wsgi() {
+ pkgdesc='Python WSGI adapter module for Apache'
+ depends=('apache' 'python')
+ conflicts=('mod_wsgi2')
+ make -C "$pkgbase-$pkgver" 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
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/mod_wsgi.install
===================================================================
--- community-x86_64/mod_wsgi.install 2014-05-25 10:39:00 UTC (rev 111822)
+++ community-x86_64/mod_wsgi.install 2014-05-25 10:39:16 UTC (rev 111823)
@@ -1,14 +0,0 @@
-post_install() {
-/bin/cat << ENDOFMESSAGE
-==>
-==>
-==> 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.
-==>
-==>
-ENDOFMESSAGE
-}
Copied: mod_wsgi/repos/community-x86_64/mod_wsgi.install (from rev 111822, mod_wsgi/trunk/mod_wsgi.install)
===================================================================
--- community-x86_64/mod_wsgi.install (rev 0)
+++ community-x86_64/mod_wsgi.install 2014-05-25 10:39:16 UTC (rev 111823)
@@ -0,0 +1,14 @@
+post_install() {
+/bin/cat << ENDOFMESSAGE
+==>
+==>
+==> 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.
+==>
+==>
+ENDOFMESSAGE
+}
More information about the arch-commits
mailing list