[arch-commits] Commit in mod_wsgi/trunk (PKGBUILD mod_wsgi.install)
Eric Bélanger
eric at archlinux.org
Sat Sep 11 21:38:02 UTC 2010
Date: Saturday, September 11, 2010 @ 17:38:01
Author: eric
Revision: 90477
upgpkg: mod_wsgi 3.3-1
Upstream update, Built for python2, make .install file quieter
Modified:
mod_wsgi/trunk/PKGBUILD
mod_wsgi/trunk/mod_wsgi.install
------------------+
PKGBUILD | 21 +++++++++++++--------
mod_wsgi.install | 8 --------
2 files changed, 13 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-11 21:31:37 UTC (rev 90476)
+++ PKGBUILD 2010-09-11 21:38:01 UTC (rev 90477)
@@ -3,22 +3,27 @@
# Contributor: Ryan Coyner <rcoyner at gmail.com>
pkgname=mod_wsgi
-pkgver=3.2
+pkgver=3.3
pkgrel=1
pkgdesc="Python WSGI adapter module for Apache"
arch=('i686' 'x86_64')
url="http://www.modwsgi.org/"
license=('APACHE')
-depends=('apache' 'python')
-install=$pkgname.install
-source=(http://modwsgi.googlecode.com/files/$pkgname-$pkgver.tar.gz)
-md5sums=('7e4f7f443f562f21f61d1bd06defa1d8')
+depends=('apache' 'python2')
+install=mod_wsgi.install
+source=(http://modwsgi.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+md5sums=('6172bb2bbabcd0c25867c2bc06f99dbb')
+sha1sums=('f32d38e5d3ed5de1efd5abefb52678f833dc9166')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
- --with-python=/usr/bin/python || return 1
+ --with-python=/usr/bin/python2 || return 1
make || return 1
- make DESTDIR=${pkgdir} install || return 1
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Modified: mod_wsgi.install
===================================================================
--- mod_wsgi.install 2010-09-11 21:31:37 UTC (rev 90476)
+++ mod_wsgi.install 2010-09-11 21:38:01 UTC (rev 90477)
@@ -12,11 +12,3 @@
==>
ENDOFMESSAGE
}
-
-post_upgrade() {
-post_install
-}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list