Lintian Fixes - python-apt

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/python-apt lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2020-04-25 11:06:14 +0000
+++ b/debian/changelog	2020-04-25 16:04:37 +0000
@@ -1,3 +1,12 @@
+python-apt (2.1.4) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Wrap long lines in changelog entries: 1.9.9, 1.7.0~alpha1,
+    1.1.0~alpha1, 0.9.4, 0.9.3.4.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 25 Apr 2020 16:03:04 +0000
+
 python-apt (2.1.3) unstable; urgency=medium
 
   * data/templates/Ubuntu.info.in: Add groovy (LP: #1874880)
@@ -60,7 +69,8 @@
   [ Dan Streetman ]
   * distinfo: correct subprocess usage
   * sourceslist: in __find() rstrip / from uri when comparing
-  * test: add test to verify identical entries except trailing slash are considered equal
+  * test: add test to verify identical entries except trailing slash are
+    considered equal
 
  -- Julian Andres Klode <jak@debian.org>  Sat, 07 Mar 2020 21:26:04 +0100
 
@@ -351,13 +361,15 @@
   * Fix some more type annotations for apt_pkg, complete apt.utils typing
   * apt.Cache: Remap objects when reopening cache
     (LP: #1773316)
-  * apt_pkg.DepCache: Raise CacheMismatchError if argument belongs to diff. cache
+  * apt_pkg.DepCache: Raise CacheMismatchError if argument belongs to diff.
+    cache
   * apt.Cache: Complete types
   * Completely type apt.progress
   * typehinting: Add missing type hints for unattended-upgrades
   * Complete typing for apt.auth
   * apt.debfile: Avoid exception in replaces_real_pkg for no-candidate packages
-  * apt.debfile.DebPackage: Handle no-candidate package in _maybe_append_multiarch_suffix
+  * apt.debfile.DebPackage: Handle no-candidate package in
+    _maybe_append_multiarch_suffix
   * Completely type apt.debfile
   * utils/get_debian_mirrors.py: Get data from salsa
   * apt.package: Add almost complete typing
@@ -607,7 +619,8 @@
 python-apt (1.1.0~alpha1) experimental; urgency=medium
 
   [ Michael Vogt ]
-  * apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a .dsc file
+  * apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a
+    .dsc file
 
   [ Julian Andres Klode ]
   * Drop apt_pkg.IndexRecords, it has been dropped in experimental
@@ -765,7 +778,8 @@
   [ Michael Vogt ]
   * add apt_pkg.sha512sum()
   * Add binding for apt_pkg.maybe_open_clear_signed_file()
-  * apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a .dsc file
+  * apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a
+    .dsc file
   * Update doc/example/action.py for py3 and latest API (closes: #782335)
   * Add MULTI_ARCH_NO constant and deprecate MULTI_ARCH_NONE (closes: #782802)
   * Fix dead links in python-apt documentation (Closes: #779426)
@@ -799,7 +813,7 @@
 
 python-apt (0.9.3.10) unstable; urgency=medium
 
-  * python/tag.cc: ensure that the final \n is there when 
+  * python/tag.cc: ensure that the final \n is there when
     duplicating section data
   * apt/debfile.py:
     - Stop reading after the "Format" stanza in a .dsc file
@@ -848,7 +862,7 @@
   * Add support for build profiles (Closes: 744243)
 
   [ Michael Vogt ]
-  * debian/control: 
+  * debian/control:
     - update build-depends on libapt-pkg-dev for build-profile support
   * data/templates/Ubuntu.info.in:
     - add ubuntu utopic
@@ -874,8 +888,8 @@
   * utils/get_*_mirrors*.py: Ensure failure if no mirrors were read
   * utils/get_*_mirrors*.py: Use sys.stderr.write instead of print
   * Support all compressors for data.tar/control.tar (Closes: #718330)
-  * Revert "aptsources/sourceslist.py: ensure that our sources are opened with UTF-8"
-    (Closes: #742118)
+  * Revert "aptsources/sourceslist.py: ensure that our sources are opened with
+    UTF-8" (Closes: #742118)
 
  -- Julian Andres Klode <jak@debian.org>  Thu, 20 Mar 2014 16:48:12 +0100
 
@@ -995,7 +1009,7 @@
   [ Michael Vogt ]
   * some fixes from the "coverity" scan
   * merge from Ubuntu:
-    - data/templates/Ubuntu.info.in: add "Saucy Salamander" to 
+    - data/templates/Ubuntu.info.in: add "Saucy Salamander" to
     - debian/control: add "Multi-Arch: allowed"
 
   [ Julian Andres Klode ]
@@ -1045,14 +1059,14 @@
 
   [ Michael Vogt ]
   * debian/control:
-    - updated Vcs field to point to 
+    - updated Vcs field to point to
       http://git.debian.org/git/apt/python-apt.git
   * replace .bzr-builddeb/default.conf with debian/gbp.conf
 
   [ Julian Andres Klode ]
   * Update the Vcs fields to use Vcs-Git with git protocol, and gitweb
     for Vcs-Browser
-  
+
   [ Colin Watson ]
   * add support for "key in apt.debfile.DebPackage" (closes: #710541)
 
@@ -1086,11 +1100,11 @@
     - add raring
   * tests/test_all.py, aptsources/distro.py:
     - python2.6 compat fixes
-  
+
   [ Jason Conti ]
   * lp:~jconti/python-apt/closeable-cache:
     - add apt.Cache.close() method
-  
+
   [ Martin Pitt ]
   * tests/*.py: Do not prepend None to sys.path, Python 3.3 redeems that with
     an unintelligible crash.
@@ -1125,7 +1139,7 @@
       doesn't get upset with it.
   * data/templates/Ubuntu.info.in:
     - Fix descriptions of quantal and raring.
-  
+
  -- Michael Vogt <mvo@debian.org>  Wed, 13 Mar 2013 18:36:37 +0100
 
 python-apt (0.8.8.2) unstable; urgency=low
@@ -1166,7 +1180,7 @@
     - Only support long (v4) keyids when downloading keys and
       check the keys fingerprint before importing. This avoids
       man-in-the-middle attacks (LP: #1016643)
-  * consolidate tests/test_lp1030278.py into the new 
+  * consolidate tests/test_lp1030278.py into the new
     tests/test_size_to_str.py
   * apt/auth.py:
     - support importing long keyids with leading 0x and mixed case
@@ -1243,10 +1257,10 @@
 
   [ Steve Langasek ]
   * utils/get_ubuntu_mirrors_from_lp.py: move this script to python3
-  * pre-build.sh: call dpkg-checkbuilddeps with the list of our 
+  * pre-build.sh: call dpkg-checkbuilddeps with the list of our
     source-build-dependencies; this may save someone else an hour down the
     line scratching their head over gratuitous test-suite failures...
-  
+
   [ Sebastian Heinlein ]
   * lp:~glatzor/python-apt/auth:
     - this is a port of the software-properties AptAuth module to python-apt
@@ -1331,7 +1345,7 @@
 
   * tests/test_apt_cache.py:
     - fix tests on kfreebsd/ia64
-  * apt/debfile.py: 
+  * apt/debfile.py:
     - fix crash in dep multiarch handling
 
  -- Michael Vogt <mvo@debian.org>  Tue, 24 Jan 2012 14:02:46 +0100
@@ -1351,9 +1365,9 @@
 
 python-apt (0.8.3) unstable; urgency=low
 
-  [ Alexey Feldgendler ] 
+  [ Alexey Feldgendler ]
   * handle architecture-specific conflicts correctly (LP: #829138)
-  
+
   [ Michael Vogt ]
   * lp:~mvo/python-apt/debfile-multiarch:
     - add multiarch support to the debfile.py code
@@ -1390,29 +1404,29 @@
     - set Dir::bin::dpkg if a alternate rootdir is given
       (LP: #885895)
   * build fixes for the apt in experimental
-  * apt/debfile.py: 
-    - raise error when accessing require_changes and 
-      missing_deps without calling check() before, thanks to 
+  * apt/debfile.py:
+    - raise error when accessing require_changes and
+      missing_deps without calling check() before, thanks to
       Tshepang Lekhonkhobe (closes: #624379)
   * apt/package.py:
     - add new "suggests" property, thanks to Christop Groth
     - allow Dependency object to be iteratable, this allows to write
       code like:
       for or_dep_group in pkg.candidate.dependencies:
-          for dep in or_dep_group: 
+          for dep in or_dep_group:
               do_something()
       (thanks to Christop Groth)
   * apt/progress/base.py:
     - write exception text to stderr to avoid hidding exceptions
       like "pre-configure failed" from libapt (thanks to Jean-Baptiste
       Lallement)
-  
+
   [ Tshepang Lekhonkhobe ]
   * rm usage of camelcase in cache.py doc (closes: #626617)
   * grammar fix in the cache.py doc (closes: #626610)
 
   [ Nikola Pavlović ]
-  * fixed a typo, changed "Open Source software" to 
+  * fixed a typo, changed "Open Source software" to
     "free and open-source software"  (LP: #500940)
 
  -- Michael Vogt <mvo@debian.org>  Thu, 01 Dec 2011 14:14:42 +0100
@@ -1421,7 +1435,7 @@
 
   [ Julian Andres Klode ]
   * Breaks: debsecan (<< 0.4.15) [not only << 0.4.14] (Closes: #629512)
-  
+
   [ Michael Vogt ]
   * python/arfile.cc:
     - use APT::Configuration::getCompressionTypes() instead of duplicating
@@ -1485,7 +1499,7 @@
 
   [ Stéphane Graber ]
   * Update enable_component to also apply to -src entries (LP: #758732)
-  
+
   [ Julian Andres Klode ]
   * apt_pkg: Add apt_pkg.Version.multi_arch and friends
 
@@ -1650,7 +1664,7 @@
   * add "provides" property to the apt.Version objects
   * apt/debfile.py:
     - fix error when reading binary content and add regresion test
-  * merged patch from Samuel Lidén Borell to fix crash if there utf8 
+  * merged patch from Samuel Lidén Borell to fix crash if there utf8
     in the control file (LP: #624290) and add test
   * apt/cache.py:
     - add "sources_list" parameter to cache.update() to force updating
@@ -1705,7 +1719,7 @@
     - Build-depend on APT >= 0.8 to get gzip compression enabled (optional,
       can be reverted for backports)
     - Set Standards-Version to 3.9.1
-  
+
   [ Michael Vogt ]
   * python/configuration.cc:
     - add binding for the "dump()" method to configruation objects
@@ -1719,7 +1733,7 @@
 python-apt (0.7.96.1) unstable; urgency=low
 
   * tests/test_debfile.py:
-   - properly setup fixture data to make debfile test pass 
+   - properly setup fixture data to make debfile test pass
      (closes: #588796)
 
  -- Michael Vogt <mvo@debian.org>  Mon, 12 Jul 2010 14:14:51 +0200
@@ -1730,7 +1744,7 @@
   * data/templates/gNewSense.info.in,
     data/templates/gNewSense.mirrors:
     - add gNewSense template and mirrors, thanks to Karl Goetz
-  * data/templates/Ubuntu.info.in, 
+  * data/templates/Ubuntu.info.in,
     data/templates/Ubuntu.mirrors:
     - updated for Ubuntu maverick
   * doc/source/conf.py:
@@ -1739,7 +1753,7 @@
     - ignore mirrors without a county
   * apt/cache.py:
     - add new "dpkg_journal_dirty" property that can be used to
-      detect a interrupted dpkg (the famous 
+      detect a interrupted dpkg (the famous
      "E: dpkg was interrupted, you must manually run 'dpkg --configure -a'")
   * merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port the
     DebPackage class fixes from gdebi into python-apt so that gdebi can
@@ -1923,7 +1937,7 @@
     - Run tests during build time.
   * debian/python-apt.install:
     - Install utils/migrate-0.8.py to /usr/share/python-apt/.
-  
+
   [ Michael Vogt ]
   * apt/cache.py:
     - call install_progress.startUpdate()/finishUpdate() to keep
@@ -2001,16 +2015,16 @@
   * apt/progress/__init__.py:
     - Fix InstallProgress.updateInterface() to cope with read() returning 0
       on non-blocking file descriptors (LP: #491027).
-  
+
   [ Michael Vogt ]
-  * apt/cache.py: 
+  * apt/cache.py:
     - improved docstring for the cache
     - add "enhances" property
   * data/templates/Ubuntu.info.in:
     - add lucid
   * python/cache.cc:
     - add UntranslatedDepType attribute to DependencyType
-    - add DepTypeEnum that returns a value from 
+    - add DepTypeEnum that returns a value from
       {DepDepends, DepPreDepends, ...}
   * python/apt_pkgmodule.cc:
     - add DepDpkgBreaks, DepEnhances constants

=== modified file 'debian/control'
--- a/debian/control	2020-04-16 07:53:42 +0000
+++ b/debian/control	2020-04-25 16:04:37 +0000
@@ -4,7 +4,7 @@
 Maintainer: APT Development Team <deity@lists.debian.org>
 Uploaders: Michael Vogt <mvo@debian.org>, Julian Andres Klode <jak@debian.org>
 Rules-Requires-Root: no
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Build-Depends: apt (>= 1.0.9.4),
                apt-utils,
                debhelper-compat (= 12),
@@ -103,4 +103,3 @@
  variety of functions.
  .
  This package contains the extension built for the Python debug interpreter.
-

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/93/4eda957c1f7d769293cbe686027aa7481178f5.debug
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/python_apt-2.1.4_jan_lint1.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/python_apt-2.1.4_jan_lint1.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/python_apt-2.1.4_jan_lint1.egg-info/top_level.txt
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/ajax-loader.gif
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/comment-bright.png
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/comment-close.png
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/comment.png
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/down-pressed.png
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/down.png
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/up-pressed.png
-rw-r--r--  root/root   /usr/share/doc/python-apt-doc/html/_static/up.png

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/6c/8674ba6efe2a4c0dcfe062af9f168afd1d2b35.debug
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/python_apt-2.1.3_jan_unchanged1.egg-info/PKG-INFO
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/python_apt-2.1.3_jan_unchanged1.egg-info/dependency_links.txt
-rw-r--r--  root/root   /usr/lib/python3/dist-packages/python_apt-2.1.3_jan_unchanged1.egg-info/top_level.txt

No differences were encountered between the control files of package python-apt-common

No differences were encountered between the control files of package python-apt-dev

No differences were encountered between the control files of package python-apt-doc

No differences were encountered between the control files of package python3-apt

Control files of package python3-apt-dbg: lines which differ (wdiff format)

  • Build-Ids: 652ef0c0593dd1da49826c0485851da94f916ced 6c8674ba6efe2a4c0dcfe062af9f168afd1d2b35 934eda957c1f7d769293cbe686027aa7481178f5

Run locally

Try this locally (using the lintian-brush package):

debcheckout python-apt
cd python-apt
lintian-brush

More details

Full run details