[arch-commits] Commit in mailman/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Nov 19 21:52:41 UTC 2008
Date: Wednesday, November 19, 2008 @ 16:52:41
Author: allan
Revision: 19294
use python24
Modified:
mailman/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-11-19 21:38:16 UTC (rev 19293)
+++ PKGBUILD 2008-11-19 21:52:41 UTC (rev 19294)
@@ -2,12 +2,12 @@
# Maintainer: Paul Mattal <paul at archlinux.org>
pkgname=mailman
pkgver=2.1.11
-pkgrel=1
+pkgrel=2
pkgdesc="Mailing list manager with built in web access"
arch=(i686 x86_64)
license=('GPL')
url="http://www.list.org/"
-depends=('python' 'apache' 'smtp-server')
+depends=('python24' 'apache' 'smtp-server')
# 'Defaults.py' should not be changed by users; 'mm_cfg.py' should instead.
backup=('home/mailman/Mailman/mm_cfg.py')
install=$pkgname.install
@@ -40,10 +40,17 @@
# configure and build
./configure --without-permcheck --prefix=/home/mailman --with-cgi-gid=http \
- || return 1
+ --with-python=/usr/bin/python2.4 || return 1
make || return 1
make DESTDIR=$startdir/pkg prefix=/home/mailman var_prefix=/home/mailman \
install || return 1
+ for file in Mailman/Post.py \
+ Mailman/Archiver/pipermail.py \
+ bin/msgfmt.py \
+ tests/fblast.py \
+ tests/onebounce.py; do
+ sed -i "s#env python#env python2.4#" $pkgdir/home/mailman/$file
+ done
# install the launch script
install -D -m755 $startdir/src/rc.mailman $startdir/pkg/etc/rc.d/mailman \
More information about the arch-commits
mailing list