Lintian Fixes - python3.9

Ready changes

Summary

Failed fixers:

See the worker log for details.

Diff

diff --git a/debian/changelog b/debian/changelog
index 046c2f2..4cb287a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python3.9 (3.9.13-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Replace XC-Package-Type with Package-Type.
+  * Remove unnecessary XS-Testsuite field in debian/control.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 13 Jun 2023 08:05:36 -0000
+
 python3.9 (3.9.13-1) unstable; urgency=medium
 
   * New upstream version.
@@ -2955,7 +2963,7 @@ python2.5 (2.5.2-3) unstable; urgency=medium
     - Fix CVE-2008-1721, integer signedness error in the zlib extension module.
     - Fix urllib2 file descriptor happens byte-at-a-time, reverting
       a fix for excessively large memory allocations when calling .read()
-      on a socket object wrapped with makefile(). 
+      on a socket object wrapped with makefile().
   * Disable some regression tests on some architectures:
     - arm: test_compiler, test_ctypes.
     - armel: test_compiler.
@@ -3329,7 +3337,7 @@ python2.4 (2.4.3-4) unstable; urgency=low
   * Fix typo in pdb(1). Closes: #365772.
   * New autoconf likes the mandir in /usr/share instead of /usr; work
     with both locations. Closes: #367618.
-	
+
  -- Matthias Klose <doko@debian.org>  Wed,  7 Jun 2006 21:37:20 +0200
 
 python2.4 (2.4.3-3) unstable; urgency=low
@@ -3499,7 +3507,7 @@ python2.4 (2.4.1-2) unstable; urgency=low
 python2.4 (2.4.1-1ubuntu2) breezy; urgency=low
 
   * Add the debug symbols for the python2.4, python2.4-minimal, python2.4-gdbm
-    and python2.4-tk packages to the python2.4-dbg package. Ubuntu 10261, 
+    and python2.4-tk packages to the python2.4-dbg package. Ubuntu 10261,
   * Add gdbinit example to doc directory.
   * For os.utime, use utimes(2), correctly working with glibc-2.3.5.
     Ubuntu 10294.
@@ -3572,7 +3580,7 @@ python2.4 (2.4dfsg-1ubuntu4) hoary; urgency=medium
     - Don't map 'utf8', 'utf-8' to 'utf', which is not a known encoding
       for glibc.
   * os.py: Avoid using items() in environ.update(). Fixes #1124513.
-  * Python/pythonrun.c: 
+  * Python/pythonrun.c:
   * Build depend on locales, generate the locales needed for the
     testsuite.
   * Add build dependency on libbluetooth1-dev, adding some bluetooth
@@ -3655,8 +3663,8 @@ python2.4 (2.4-6) unstable; urgency=low
 
 python2.4 (2.4-5) unstable; urgency=high
 
-  * Fix a flaw in SimpleXMLRPCServerthat can affect any XML-RPC servers.  
-    This affects any programs have been written that allow remote 
+  * Fix a flaw in SimpleXMLRPCServerthat can affect any XML-RPC servers.
+    This affects any programs have been written that allow remote
     untrusted users to do unrestricted traversal and can allow them to
     access or change function internals using the im_* and func_* attributes.
     References: CAN-2005-0089.
@@ -3906,7 +3914,7 @@ python2.3 (2.3.3-6) unstable; urgency=low
   * Don't build python-elisp from the python2.3 source anymore,
     get it from python-mode.sf.net as a separate source package.
   * python2.3-dev suggests libc-dev (closes: #231091).
-  * get LDSHARED and CCSHARED (like, CC, CXX, CPP, CFLAGS) from 
+  * get LDSHARED and CCSHARED (like, CC, CXX, CPP, CFLAGS) from
     the environment
   * Set CXX in installed config/Makefile (closes: #230273).
 
diff --git a/debian/control b/debian/control
index a9f1c70..25fd224 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Matthias Klose <doko@debian.org>
 Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.17.11),
   quilt, autoconf,
   lsb-release, sharutils,
-  libreadline-dev, libncursesw5-dev (>= 5.3), 
+  libreadline-dev, libncursesw5-dev (>= 5.3),
   zlib1g-dev, libbz2-dev, liblzma-dev,
   libgdbm-dev, libdb-dev,
   tk-dev, blt-dev (>= 2.4z), libssl-dev,
@@ -22,7 +22,6 @@ Build-Conflicts: git
 Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/cpython-team/python3/tree/python3.9
 Vcs-Git: https://salsa.debian.org/cpython-team/python3.git -b python3.9
-XS-Testsuite: autopkgtest
 
 Package: python3.9
 Architecture: any
@@ -172,7 +171,7 @@ Description: Testsuite for the Python standard library (v3.9)
  The complete testsuite for the Python standard library.  Note that
  a subset is found in the libpython3.9-stdlib package, which should
  be enough for other packages to use (please do not build-depend
- on this package, but file a bug report to include additional 
+ on this package, but file a bug report to include additional
  testsuite files in the libpython3.9-stdlib package).
 
 Package: idle-python3.9
diff --git a/debian/control.in b/debian/control.in
index dbba763..f422988 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -22,7 +22,6 @@ Build-Conflicts: git
 Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/cpython-team/python3/tree/python3.9
 Vcs-Git: https://salsa.debian.org/cpython-team/python3.git -b python3.9
-XS-Testsuite: autopkgtest
 
 Package: @PVER@
 Architecture: any
@@ -172,7 +171,7 @@ Description: Testsuite for the Python standard library (v@VER@)
  The complete testsuite for the Python standard library.  Note that
  a subset is found in the lib@PVER@-stdlib package, which should
  be enough for other packages to use (please do not build-depend
- on this package, but file a bug report to include additional 
+ on this package, but file a bug report to include additional
  testsuite files in the lib@PVER@-stdlib package).
 
 Package: idle-@PVER@
diff --git a/debian/control.stdlib b/debian/control.stdlib
index fa1d444..fd129e5 100644
--- a/debian/control.stdlib
+++ b/debian/control.stdlib
@@ -13,4 +13,3 @@ Depends: @PVER@ (= ${Source-Version}), ${shlibs:Depends}
 Description: GNU dbm database support for Python (v@VER@)
  GNU dbm database module for Python. Install this if you want to
  create or read GNU dbm database files with Python.
-
diff --git a/debian/control.udeb b/debian/control.udeb
index 3e1a351..18a4c45 100644
--- a/debian/control.udeb
+++ b/debian/control.udeb
@@ -1,6 +1,6 @@
 
 Package: @PVER@-udeb
-XC-Package-Type: udeb
+Package-Type: udeb
 Section: debian-installer
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index 014da60..2271f30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1515,7 +1515,7 @@ stamps/stamp-patch:
 	touch Objects/obmalloc.c Python/dynamic_annotations.c \
 	  Python/mysnprintf.c Python/pyctype.c
 	@sleep 1
-	touch Grammar/Grammar 
+	touch Grammar/Grammar
 	@sleep 1
 	touch Include/graminit.h
 	@sleep 1

Run locally

More details

Full run details

Historical runs