[Python-modules-commits] r11512 - in packages/python-qt3/trunk/debian (4 files)
shlomme at users.alioth.debian.org
shlomme at users.alioth.debian.org
Tue Feb 2 20:36:45 UTC 2010
Date: Tuesday, February 2, 2010 @ 20:36:35
Author: shlomme
Revision: 11512
Prepare upload to unstable
Modified:
packages/python-qt3/trunk/debian/changelog
packages/python-qt3/trunk/debian/control
packages/python-qt3/trunk/debian/python-qt-dev.preinst
Deleted:
packages/python-qt3/trunk/debian/README.source
Deleted: packages/python-qt3/trunk/debian/README.source
===================================================================
--- packages/python-qt3/trunk/debian/README.source 2010-02-02 20:33:15 UTC (rev 11511)
+++ packages/python-qt3/trunk/debian/README.source 2010-02-02 20:36:35 UTC (rev 11512)
@@ -1,38 +0,0 @@
-This package uses dpatch to manage all modifications to the upstream
-source. Changes are stored in the source package as diffs in
-debian/patches and applied during the build.
-
-To get the fully patched source after unpacking the source package, cd
-to the root level of the source package and run:
-
- debian/rules patch
-
-Removing a patch is as simple as removing its entry from the
-debian/patches/00list file, and please also remove the patch file
-itself.
-
-Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
-where you should replace XX with a new number and patchname with a
-descriptive shortname of the patch. You can then simply edit all the
-files your patch wants to edit, and then simply "exit 0" from the shell
-to actually create the patch file.
-
-To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
-and replace XX_patchname with the actual filename from debian/patches
-you want to use.
-
-To clean up afterwards again, "debian/rules unpatch" will do the
-work for you - or you can of course choose to call
-"fakeroot debian/rules clean" all together.
-
-
----
-
-this documentation is part of dpatch package, and may be used by
-packages using dpatch to comply with policy on README.source. This
-documentation is meant to be useful to users who are not proficient in
-dpatch in doing work with dpatch-based packages. Please send any
-improvements to the BTS of dpatch package.
-
-original text by Gerfried Fuchs, edited by Junichi Uekawa <dancer at debian.org>
-10 Aug 2008.
Modified: packages/python-qt3/trunk/debian/changelog
===================================================================
--- packages/python-qt3/trunk/debian/changelog 2010-02-02 20:33:15 UTC (rev 11511)
+++ packages/python-qt3/trunk/debian/changelog 2010-02-02 20:36:35 UTC (rev 11512)
@@ -1,3 +1,17 @@
+python-qt3 (3.18.1-4) unstable; urgency=low
+
+ * Upload to unstable (Closes: #567222)
+ * debian/python-qt-dev.preinst
+ - Apply patch if pycentral cannot be found, thanks YOSHINO Yoshihito
+ (Closes: #562948)
+ * debian/README.source
+ - Removed, not needed for source format "3.0 (quilt)"
+ * debian/control:
+ - Bumped standards version to 3.8.4
+ - Adapted dependencies for new sip package names
+
+ -- Torsten Marek <shlomme at debian.org> Tue, 02 Feb 2010 21:34:28 +0100
+
python-qt3 (3.18.1-3) experimental; urgency=low
* Converted to source format "3.0 (quilt)"
Modified: packages/python-qt3/trunk/debian/control
===================================================================
--- packages/python-qt3/trunk/debian/control 2010-02-02 20:33:15 UTC (rev 11511)
+++ packages/python-qt3/trunk/debian/control 2010-02-02 20:36:35 UTC (rev 11512)
@@ -3,8 +3,8 @@
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Torsten Marek <shlomme at debian.org>, Bernd Zeimetz <bzed at debian.org>, Michael Casadevall <mcasadevall at debian.org>
-Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libqt3-mt-dev (>= 3:3.3.4-4), qt3-dev-tools (>= 3:3.3.4-4), qt3-apps-dev (>= 3:3.3.4-4), python-sip-dev (>= 4.10), libqscintilla-dev (>= 1.7), python-support (>= 0.7.1), python-sip4-dbg, python-all-dbg
-Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 6.0.7~), python-all-dev (>= 2.3.5-10), libqt3-mt-dev (>= 3:3.3.4-4), qt3-dev-tools (>= 3:3.3.4-4), qt3-apps-dev (>= 3:3.3.4-4), python-sip-dev (>= 4.10), libqscintilla-dev (>= 1.7), python-support (>= 0.7.1), python-sip-dbg, python-all-dbg
+Standards-Version: 3.8.4
Homepage: http://www.riverbankcomputing.co.uk/pyqt/index.php
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-qt3/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-qt3/trunk/
@@ -92,7 +92,8 @@
Linguist translation files from Python code.
Package: python-qt-dev
-Suggests: sip4
+Depends: ${shlibs:Depends}, ${python:Depends}
+Suggests: python-sip-dev
Replaces: python-qt3 (<< 3.17.3-2)
Depends: ${misc:Depends}
Architecture: all
Modified: packages/python-qt3/trunk/debian/python-qt-dev.preinst
===================================================================
--- packages/python-qt3/trunk/debian/python-qt-dev.preinst 2010-02-02 20:33:15 UTC (rev 11511)
+++ packages/python-qt3/trunk/debian/python-qt-dev.preinst 2010-02-02 20:36:35 UTC (rev 11512)
@@ -4,7 +4,30 @@
if [ "$1" = upgrade ]
then
if dpkg --compare-versions "$2" lt 3.17.6-2; then
+ if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral pkgremove python-qt-dev
+ else
+ flist=$(tempfile)
+ find /usr/share/pycentral/python-qt-dev -depth -mindepth 2 \
+ \( -name '*.py' -printf 'p %P\n' -o -printf '%y %P\n' \) \
+ > $flist 2>/dev/null || true
+ if [ -s $flist ]; then
+ for d in /usr/lib/python[0-9].[0-9]; do
+ case "$d" in */python2.1|*/python2.2) continue; esac
+ while read t n; do
+ case "$t" in
+ p) rm -f $d/$n $d/${n}[co];;
+ d) rmdir $d/$n 2>/dev/null || true;;
+ *) rm -f $d/$n
+ esac
+ done < $flist
+ done
+ fi
+ rm -f $flist
+ dpkg -L python-qt-dev \
+ | awk '/\/usr\/share\/pycentral/ {next} /\.py$/ {print $0"c\n" $0"o"}' \
+ | xargs rm -f >&2
+ fi
fi
fi
More information about the Python-modules-commits
mailing list