[Python-modules-commits] r9749 - in packages/logilab-common/trunk/debian (3 files)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Mon Sep 14 18:08:38 UTC 2009
Date: Monday, September 14, 2009 @ 18:08:37
Author: morph
Revision: 9749
* New upstream release
* debian/copyright
- added packaging copyright for the work I do
* debian/control
- updated long description
- suggesting pyro, since there's new code using it
- bump Standards-Version to 3.8.3 (no changes needed)
- removed conflicts for packages never been in Debian
* debian/{control, python-logilab-common.preinst}
- handle pycentral->pysupport migration more aggressively:
+ on upgrades, remove the whole /usr/lib/python*/site-packages/logilab/
subtree
+ add conflicts on all the depending packages with version less than the
new (pespective) package version
Added:
packages/logilab-common/trunk/debian/python-logilab-common.preinst
Modified:
packages/logilab-common/trunk/debian/changelog
packages/logilab-common/trunk/debian/control
Modified: packages/logilab-common/trunk/debian/changelog
===================================================================
--- packages/logilab-common/trunk/debian/changelog 2009-09-14 06:47:52 UTC (rev 9748)
+++ packages/logilab-common/trunk/debian/changelog 2009-09-14 18:08:37 UTC (rev 9749)
@@ -1,3 +1,22 @@
+logilab-common (0.45.0-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * debian/copyright
+ - added packaging copyright for the work I do
+ * debian/control
+ - updated long description
+ - suggesting pyro, since there's new code using it
+ - bump Standards-Version to 3.8.3 (no changes needed)
+ - removed conflicts for packages never been in Debian
+ * debian/{control, python-logilab-common.preinst}
+ - handle pycentral->pysupport migration more aggressively:
+ + on upgrades, remove the whole /usr/lib/python*/site-packages/logilab/
+ subtree
+ + add conflicts on all the depending packages with version less than the
+ new (pespective) package version
+
+ -- Sandro Tosi <morph at debian.org> Mon, 14 Sep 2009 19:45:28 +0200
+
logilab-common (0.42.0-1) UNRELEASED; urgency=low
[Alexandre Fayolle]
@@ -15,13 +34,6 @@
-- Alexandre Fayolle <afayolle at debian.org> Thu, 02 Jul 2009 09:26:47 +0200
-logilab-common (0.39.0-2) UNRELEASED; urgency=low
-
- * debian/copyright
- - added packaging copyright for the work I do
-
- -- Sandro Tosi <morph at debian.org> Fri, 27 Mar 2009 00:46:59 +0100
-
logilab-common (0.39.0-1) unstable; urgency=low
* New upstream release
Modified: packages/logilab-common/trunk/debian/control
===================================================================
--- packages/logilab-common/trunk/debian/control 2009-09-14 06:47:52 UTC (rev 9748)
+++ packages/logilab-common/trunk/debian/control 2009-09-14 18:08:37 UTC (rev 9749)
@@ -6,7 +6,7 @@
Build-Depends: debhelper (>= 5.0.38), python (>= 2.4.6-2)
Build-Depends-Indep: python-support, python-epydoc, graphviz
XS-Python-Version: all
-Standards-Version: 3.8.2
+Standards-Version: 3.8.3
Homepage: http://www.logilab.org/project/logilab-common
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/logilab-common/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/logilab-common/trunk/
@@ -16,7 +16,8 @@
Provides: ${python:Provides}
Depends: ${python:Depends}, ${misc:Depends}
Recommends: python-egenix-mxdatetime
-Conflicts: python-constraint ( <= 0.3.0-4), python-logilab-astng ( <= 0.16.0-1), pylint ( << 0.11.0-1), devtools ( <= 0.9.0-1), logilab-doctools ( <= 0.1.6-4), python-logilab-aspects ( <= 0.1.4-2), python2.3-logilab-common, python2.4-logilab-common
+Suggests: pyro
+Conflicts: python-constraint (<< 0.4.0-4), python-logilab-astng (<< 0.19.1-1), pylint (<< 0.18.1-1)
XB-Python-Version: ${python:Versions}
Description: useful miscellaneous modules used by Logilab projects
logilab-common is a collection of low-level Python packages and modules,
@@ -26,9 +27,10 @@
* writing interactive command line tools
* manipulation files and character strings
* interfacing to OmniORB
- * generating of SQL queries
+ * generating SQL queries
* running unit tests
* manipulating tree structures
* accessing RDBMS (currently postgreSQL, MySQL and sqlite)
* generating text and HTML reports
* logging
+ * parsing XML processing instructions
Added: packages/logilab-common/trunk/debian/python-logilab-common.preinst
===================================================================
--- packages/logilab-common/trunk/debian/python-logilab-common.preinst (rev 0)
+++ packages/logilab-common/trunk/debian/python-logilab-common.preinst 2009-09-14 18:08:37 UTC (rev 9749)
@@ -0,0 +1,17 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+
+if [ "$1" = upgrade ]
+then
+ if dpkg --compare-versions "$2" lt 0.45.0-1 ; then
+ # be really sure also removing left-over files and dirs
+ for pyversion in 2.4 2.5; do
+ if [ -d /usr/lib/python$pyversion/site-packages/logilab/ ]; then
+ rm -rf /usr/lib/python$pyversion/site-packages/logilab/
+ fi
+ done
+ fi
+fi
+
+#DEBHELPER#
More information about the Python-modules-commits
mailing list