[arch-commits] Commit in mailman/repos (testing-i686 testing-i686/PKGBUILD)

Allan McRae allan at archlinux.org
Thu Nov 20 02:45:32 UTC 2008


    Date: Wednesday, November 19, 2008 @ 21:45:32
  Author: allan
Revision: 19304

Merged revisions 18636,19294 via svnmerge from 
svn+ssh://archlinux.org/home/svn-packages/mailman/trunk

........
  r18636 | eric | 2008-11-08 15:02:51 +1000 (Sat, 08 Nov 2008) | 2 lines
  
  upgpkg: mailman 2.1.11-1
      added md5sums
........
  r19294 | allan | 2008-11-20 07:52:41 +1000 (Thu, 20 Nov 2008) | 1 line
  
  use python24
........

Modified:
  mailman/repos/testing-i686/	(properties)
  mailman/repos/testing-i686/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)


Property changes on: mailman/repos/testing-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /mailman/trunk:1-18304
   + /mailman/trunk:1-19303

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2008-11-20 02:24:07 UTC (rev 19303)
+++ testing-i686/PKGBUILD	2008-11-20 02:45:32 UTC (rev 19304)
@@ -2,17 +2,18 @@
 # 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
 source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tgz \
 	rc.mailman)
+md5sums=('d9fd89f54c4743dbcb3b3eec8c6146d6' 'a617b32a2564fce2641a7c7b660ef6cd')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver || return 1
@@ -39,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