[Pkg-mailman-hackers] Pkg-mailman commit - rev 421 - trunk/debian
Riccardo Setti
giskard-guest at costa.debian.org
Sun Oct 8 12:50:01 UTC 2006
Author: giskard-guest
Date: 2006-10-08 12:50:00 +0000 (Sun, 08 Oct 2006)
New Revision: 421
Added:
trunk/debian/pycompat
Modified:
trunk/debian/changelog
trunk/debian/control
trunk/debian/postinst
trunk/debian/prerm
trunk/debian/rules
Log:
* switched to the new python policy
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-10-08 11:00:33 UTC (rev 420)
+++ trunk/debian/changelog 2006-10-08 12:50:00 UTC (rev 421)
@@ -41,8 +41,11 @@
update it.
* Renamed 58_fix_translations to 58_fix_es_translations
- -- Thijs Kinkhorst <thijs at debian.org> Sat, 7 Oct 2006 14:38:43 +0200
+ [ Riccardo Setti ]
+ * switched to the new python policy
+ -- Riccardo Setti <giskard at debian.org> Sun, 8 Oct 2006 14:26:22 +0200
+
mailman (1:2.1.8-4) unstable; urgency=high
* High-urgency upload to fix release-critical bug.
Modified: trunk/debian/control
===================================================================
--- trunk/debian/control 2006-10-08 11:00:33 UTC (rev 420)
+++ trunk/debian/control 2006-10-08 12:50:00 UTC (rev 421)
@@ -3,14 +3,14 @@
Priority: optional
Maintainer: Mailman for Debian <pkg-mailman-hackers at lists.alioth.debian.org>
Uploaders: Tollef Fog Heen <tfheen at debian.org>, Lionel Elie Mamane <lmamane at debian.org>, Thijs Kinkhorst <thijs at debian.org>, Hector Garcia <hector at debian.org>
-Build-Depends: debhelper (>= 5), autoconf, python-dev, quilt (>= 0.40)
+Build-Depends: debhelper (>= 5), autoconf, python-dev, python-support, quilt (>= 0.40)
Standards-Version: 3.7.2
XS-X-Vcs-Svn: svn://svn.debian.org/svn/pkg-mailman
Package: mailman
Architecture: any
Pre-Depends: debconf (>= 1.4.16) | debconf-2.0
-Depends: ${shlibs:Depends}, python (>= 2.2.2.91-1), logrotate, cron (>= 3.0pl1-42), exim4 | mail-transport-agent, apache2 | httpd, ucf (>= 0.28), pwgen, adduser, lsb-base (>= 3.0-6)
+Depends: ${shlibs:Depends}, ${python:Depend}, logrotate, cron (>= 3.0pl1-42), exim4 | mail-transport-agent, apache2 | httpd, ucf (>= 0.28), pwgen, adduser, lsb-base (>= 3.0-6)
Conflicts: suidmanager (<< 0.50), sendmail (<< 8.12.6)
Suggests: spamassassin, lynx, python-korean-codecs, python-japanese-codecs, listadmin
Description: Powerful, web-based mailing list manager
Modified: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst 2006-10-08 11:00:33 UTC (rev 420)
+++ trunk/debian/postinst 2006-10-08 12:50:00 UTC (rev 421)
@@ -172,16 +172,6 @@
case "$1" in
configure|abort-upgrade|abort-remove|abort-deconfigure)
- if [ -x /usr/bin/python ]; then
- for i in $DIRLIST; do
- python -O $PYLIBDIR/compileall.py -q $i
- python $PYLIBDIR/compileall.py -q $i
- rm -f /usr/lib/$PACKAGE/Mailman/mm_cfg.pyc
- rm -f /usr/lib/$PACKAGE/Mailman/mm_cfg.pyo
- chmod -R go=rX $i
- done
- fi
-
if [ -e /etc/mailname ]
then
DOMAIN=$(head -n 1 /etc/mailname)
Modified: trunk/debian/prerm
===================================================================
--- trunk/debian/prerm 2006-10-08 11:00:33 UTC (rev 420)
+++ trunk/debian/prerm 2006-10-08 12:50:00 UTC (rev 421)
@@ -18,9 +18,3 @@
fi
#DEBHELPER#
-
-PACKAGE=mailman
-
-dpkg --listfiles $PACKAGE |
- awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
- xargs rm -f >&2
Added: trunk/debian/pycompat
===================================================================
--- trunk/debian/pycompat (rev 0)
+++ trunk/debian/pycompat 2006-10-08 12:50:00 UTC (rev 421)
@@ -0,0 +1 @@
+2
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2006-10-08 11:00:33 UTC (rev 420)
+++ trunk/debian/rules 2006-10-08 12:50:00 UTC (rev 421)
@@ -183,6 +183,7 @@
chmod 2775 debian/mailman/var/log/mailman
chmod g+w debian/mailman/var/lock/mailman
+ dh_pysupport -a
dh_installdeb
# echo 'if [ "$$1" = purge ]; then' >> debian/mailman.postrm.ucf
More information about the Pkg-mailman-hackers
mailing list