[Python-modules-commits] r10493 - in packages/pyelemental/trunk/debian (4 files)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Tue Nov 17 21:08:22 UTC 2009
Date: Tuesday, November 17, 2009 @ 21:08:20
Author: morph
Revision: 10493
* debian/{control, rules, python-elemental.preinst}
- switch from python-central to python-support
Added:
packages/pyelemental/trunk/debian/python-elemental.preinst
Modified:
packages/pyelemental/trunk/debian/changelog
packages/pyelemental/trunk/debian/control
packages/pyelemental/trunk/debian/rules
Modified: packages/pyelemental/trunk/debian/changelog
===================================================================
--- packages/pyelemental/trunk/debian/changelog 2009-11-17 20:52:22 UTC (rev 10492)
+++ packages/pyelemental/trunk/debian/changelog 2009-11-17 21:08:20 UTC (rev 10493)
@@ -8,11 +8,13 @@
- bump Standards-Version to 3.8.3 (no changes needed)
* debian/copyright
- updated debian packaging copyright notice
+ * debian/{control, rules, python-elemental.preinst}
+ - switch from python-central to python-support
[ Piotr Ożarowski ]
* Add XB-Python-Version to python-elemental-dbg
- -- Sandro Tosi <morph at debian.org> Tue, 17 Nov 2009 20:09:27 +0100
+ -- Sandro Tosi <morph at debian.org> Tue, 17 Nov 2009 22:07:18 +0100
pyelemental (1.2.0-1) unstable; urgency=low
Modified: packages/pyelemental/trunk/debian/control
===================================================================
--- packages/pyelemental/trunk/debian/control 2009-11-17 20:52:22 UTC (rev 10492)
+++ packages/pyelemental/trunk/debian/control 2009-11-17 21:08:20 UTC (rev 10493)
@@ -4,7 +4,7 @@
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Cesare Tirabassi <norsetto at ubuntu.com>
XS-Python-Version: >= 2.4
-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), pkg-config (>= 0.9.0), libelemental-dev (>= 1.2.0), python-central (>= 0.5.6), python-all-dev (>= 2.4), python-all-dbg
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), pkg-config (>= 0.9.0), libelemental-dev (>= 1.2.0), python-support(>= 1.0.0), python-all-dev (>= 2.4), python-all-dbg
Standards-Version: 3.8.3
Homepage: http://www.kdau.com/projects/gelemental/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyelemental/trunk
Added: packages/pyelemental/trunk/debian/python-elemental.preinst
===================================================================
--- packages/pyelemental/trunk/debian/python-elemental.preinst (rev 0)
+++ packages/pyelemental/trunk/debian/python-elemental.preinst 2009-11-17 21:08:20 UTC (rev 10493)
@@ -0,0 +1,21 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+
+PYCENTRAL=/usr/bin/pycentral
+
+if [ "$1" = upgrade ]
+then
+ if dpkg --compare-versions "$2" lt 1.2.0-2 ; then
+ if [ -x $PYCENTRAL ]; then
+ # explicitly remove old python-central files
+ pycentral pkgremove python-elemental
+ fi
+ fi
+ # be really sure also removing left-over files and dirs
+ # we do outside the previous 'if' since first pysupport
+ # release was already distributed
+ rm -f /usr/lib/python*/site-packages/Elemental.so
+fi
+
+#DEBHELPER#
Modified: packages/pyelemental/trunk/debian/rules
===================================================================
--- packages/pyelemental/trunk/debian/rules 2009-11-17 20:52:22 UTC (rev 10492)
+++ packages/pyelemental/trunk/debian/rules 2009-11-17 21:08:20 UTC (rev 10493)
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-DEB_PYTHON_SYSTEM=pycentral
+DEB_PYTHON_SYSTEM=pysupport
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
More information about the Python-modules-commits
mailing list