[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#994348: python-apt: diff for NMU version 2.3.0+nmu1



tags 994348 + patch
tags 994348 + pending
user debian-release@lists.debian.org
usertags 994348 + bsp-2022-10-de-karlsruhe
thanks

Dear maintainer,

I've prepared an NMU for python-apt (versioned as 2.3.0+nmu1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards
Micha

diff -Nru python-apt-2.3.0/debian/changelog python-apt-2.3.0+nmu1/debian/changelog
--- python-apt-2.3.0/debian/changelog	2021-10-22 12:21:54.000000000 +0200
+++ python-apt-2.3.0+nmu1/debian/changelog	2022-10-15 13:34:20.000000000 +0200
@@ -1,3 +1,10 @@
+python-apt (2.3.0+nmu1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop explicit debug symbol package python3-apt-dbg (closes: #994348).
+
+ -- Micha Lenk <micha@debian.org>  Sat, 15 Oct 2022 13:34:20 +0200
+
 python-apt (2.3.0) unstable; urgency=medium
 
   [ Edmund Blomley ]
diff -Nru python-apt-2.3.0/debian/control python-apt-2.3.0+nmu1/debian/control
--- python-apt-2.3.0/debian/control	2021-10-22 12:21:54.000000000 +0200
+++ python-apt-2.3.0+nmu1/debian/control	2022-10-15 12:54:07.000000000 +0200
@@ -14,7 +14,6 @@
                libapt-pkg-dev (>= 1.9.11~),
                python3-all (>= 3.3),
                python3-all-dev (>= 3.3),
-               python3-all-dbg (>= 3.3),
                python3-distutils,
                python3-distutils-extra (>= 2.0),
                python3-setuptools,
@@ -72,7 +71,7 @@
 Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-apt-common, distro-info-data
 Recommends: lsb-release, iso-codes
 Provides: ${python3:Provides}
-Suggests: python3-apt-dbg, python-apt-doc, apt
+Suggests: python-apt-doc, apt
 Breaks: python-apt (<< 0.7.98+nmu1),
         apt-xapian-index (<< 0.51~),
         kthresher (<= 1.4.0-1)
@@ -89,19 +88,3 @@
  .
  The included 'aptsources' Python interface provides an abstraction of
  the sources.list configuration on the repository and the distro level.
-
-Package: python3-apt-dbg
-Architecture: any
-Multi-Arch: allowed
-Section: debug
-Breaks: python-apt (<< 0.7.98+nmu1)
-Replaces: python-apt (<< 0.7.98+nmu1)
-Depends: ${python3:Depends}, python3-apt (= ${binary:Version}), ${shlibs:Depends},
-         ${misc:Depends}
-Provides: ${python3:Provides}
-Description: Python 3 interface to libapt-pkg (debug extension)
- The apt_pkg Python 3 interface will provide full access to the internal
- libapt-pkg structures allowing Python 3 programs to easily perform a
- variety of functions.
- .
- This package contains the extension built for the Python debug interpreter.
diff -Nru python-apt-2.3.0/debian/rules python-apt-2.3.0+nmu1/debian/rules
--- python-apt-2.3.0/debian/rules	2021-10-22 12:21:54.000000000 +0200
+++ python-apt-2.3.0+nmu1/debian/rules	2022-10-15 13:34:20.000000000 +0200
@@ -29,16 +29,14 @@
 	mkdir -p debian/python-apt-common/usr/share/
 	mv debian/python3-apt/usr/share/locale debian/python-apt-common/usr/share/
 	mv debian/python3-apt/usr/share/python-apt debian/python-apt-common/usr/share/
-	rm -r debian/python3-*/usr/share/locale
-	rm -r debian/python3-*/usr/share/python-apt
-	rmdir debian/python3-*/usr/share
+	rmdir debian/python3-apt/usr/share
 
 override_dh_installdocs:
-	dh_installdocs -p python3-apt -p python3-apt-dbg --link-doc=python3-apt
+	dh_installdocs -p python3-apt --link-doc=python3-apt
 	dh_installdocs --remaining-packages
 
 override_dh_strip:
-	dh_strip -p python3-apt --dbg-package=python3-apt-dbg
+	dh_strip -p python3-apt --dbgsym-migration='python3-apt-dbg (<< 2.3.0+nmu1~)'
 	
 override_dh_compress:
 	dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv

Reply to: