[Python-modules-commits] [sip4] 01/04: Move sip-dbg to automatic dbgsym package (but not python*-sip-dbg).

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Sep 23 18:35:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

mitya57 pushed a commit to branch debian/master
in repository sip4.

commit f39b782df71cb8ae561354b626d1fe594a64aefd
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Sep 23 21:18:39 2017 +0300

    Move sip-dbg to automatic dbgsym package (but not python*-sip-dbg).
---
 debian/changelog        |  6 ++++++
 debian/control          | 29 +----------------------------
 debian/rules            |  5 +----
 debian/sip-dbg.postinst | 13 -------------
 4 files changed, 8 insertions(+), 45 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5cb58b8..c119743 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sip4 (4.19.3+dfsg-2) UNRELEASED; urgency=medium
+
+  * Move sip-dbg to automatic dbgsym package (but not python*-sip-dbg).
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Sat, 23 Sep 2017 21:17:35 +0300
+
 sip4 (4.19.3+dfsg-1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index ef188e1..ecedfdf 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Torsten Marek <shlomme at debian.org>,
            Scott Kitterman <scott at kitterman.com>,
            Dmitry Shachnev <mitya57 at debian.org>
 Build-Depends: bison,
-               debhelper (>= 9),
+               debhelper (>= 9.20160114~),
                dh-python,
                dh-strip-nondeterminism,
                dpkg-dev (>= 1.16.1~),
@@ -107,33 +107,6 @@ Description: Python/C++ bindings generator code generator application
  This package contains the code generator tool needed to develop Python and
  Python 3 bindings with sip.
 
-Package: sip-dbg
-Priority: extra
-Architecture: any
-Section: debug
-Depends: sip-dev (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
-Description: Debug symbols for Python/C++ bindings generator application
- SIP is a tool for generating bindings for C++ classes with some ideas
- borrowed from SWIG, but capable of tighter bindings because of its
- specificity towards C++ and Python.
- .
- SIP was originally designed to generate Python bindings for KDE and so
- has explicit support for the signal slot mechanism used by the Qt/KDE
- class libraries.
- .
- Features:
-     - connecting Qt signals to Python functions and class methods
-     - connecting Python signals to Qt slots
-     - overloading virtual member functions with Python class methods
-     - protected member functions
-     - abstract classes
-     - enumerated types
-     - global class instances
-     - static member functions.
- .
- This package contains the debug symbols for the code generator tool needed to
- develop Python and Python 3 bindings with sip.
-
 Package: python-sip-doc
 Architecture: all
 Section: doc
diff --git a/debian/rules b/debian/rules
index ed216a4..e7eed3d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -173,14 +173,11 @@ ifneq (,$(findstring -a, $(DH_OPTIONS)))
 	rm -rf debian/python3-sip-dbg/usr/share/doc/python3-sip-dbg
 	mkdir -p debian/python3-sip-dbg/usr/share/doc
 	ln -s python3-sip debian/python3-sip-dbg/usr/share/doc/python3-sip-dbg
-	rm -rf debian/sip-dbg/usr/share/doc/sip-dbg
-	mkdir -p debian/sip-dbg/usr/share/doc
-	ln -s sip-dev debian/sip-dbg/usr/share/doc/sip-dbg
 	DH_OPTIONS= dh_strip -ppython-sip-dev
 	DH_OPTIONS= dh_strip -ppython-sip -Npython-sip-dev --dbg-package=python-sip-dbg
 	DH_OPTIONS= dh_strip -ppython3-sip-dev
 	DH_OPTIONS= dh_strip -ppython3-sip -Npython3-sip-dev --dbg-package=python3-sip-dbg
-	DH_OPTIONS= dh_strip -psip-dev --dbg-package=sip-dbg
+	DH_OPTIONS= dh_strip -psip-dev --dbgsym-migration='sip-dbg (<< 4.19.3+dfsg-2~)'
 endif
 	dh_strip_nondeterminism
 	dh_compress -X.inv
diff --git a/debian/sip-dbg.postinst b/debian/sip-dbg.postinst
deleted file mode 100644
index 8a673cc..0000000
--- a/debian/sip-dbg.postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh
-set -e
-
-
-DOCDIR=/usr/share/doc/sip-dbg
-DOCLINK=sip-dev
-
-if [ -d $DOCDIR ] && [ ! -L $DOCDIR ]; then
-    rmdir $DOCDIR
-    ln -s $DOCLINK $DOCDIR
-fi
-
-#DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sip4.git



More information about the Python-modules-commits mailing list