Bug#1016775: python-packaging: please drop pypy-packaging to support python2.7 removal

2022-08-28 Thread Paul Gevers

Control: tag -1 pending patch

Hi Matthias,

On Sun, 07 Aug 2022 10:32:36 +0200 Paul Gevers  wrote:

If I didn't make a mistake, pypy-packaging is keeping pypy in the key
package set because it Build-Depends on it. Again, if I didn't make a
mistake, there are no reverse Build-Depends or Depends anymore of
pypy-packaging, so I think the package can just be dropped. That would
be another step in the python2.7 removal transition.


I have created the attached debdiff that I intend to upload to 
DELAYED/14 shortly. Please let me know if I should speed it up, delay or 
cancel.


Paul
diff --git a/debian/changelog b/debian/changelog
index d47e1aa..91fdf80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-packaging (21.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Stop building pypy-packaging (Closes: #1016775)
+
+ -- Paul Gevers   Sat, 27 Aug 2022 16:53:26 +0200
+
 python-packaging (21.3-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/debian/control b/debian/control
index e3c99d8..c066ee8 100644
--- a/debian/control
+++ b/debian/control
@@ -4,12 +4,12 @@ Priority: optional
 Maintainer: Matthias Klose 
 Build-Depends: debhelper (>= 11),
   dh-python,
-  python3-all, pypy,
-  python3-pretend, pypy-pretend,
-  python3-pyparsing, pypy-pyparsing,
-  python3-six, pypy-six,
+  python3-all,
+  python3-pretend,
+  python3-pyparsing,
+  python3-six,
   python3-pytest,
-  python3-setuptools, pypy-setuptools,
+  python3-setuptools,
 Standards-Version: 4.6.0
 Homepage: https://pypi.python.org/pypi/packaging
 
@@ -20,11 +20,3 @@ Description: core utilities for python3 packages
  These core utilities currently consist of:
   - Version Handling (PEP 440)
   - Dependency Specification (PEP 440)
-
-Package: pypy-packaging
-Architecture: all
-Depends: ${pypy:Depends}, ${misc:Depends}, pypy-pyparsing
-Description: core utilities for pypy packages
- These core utilities currently consist of:
-  - Version Handling (PEP 440)
-  - Dependency Specification (PEP 440)
diff --git a/debian/pypy-packaging.install b/debian/pypy-packaging.install
deleted file mode 100644
index e9807d0..000
--- a/debian/pypy-packaging.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/pypy/dist-packages/packaging*
diff --git a/debian/python3-packaging.install b/debian/python3-packaging.install
deleted file mode 100644
index e49d484..000
--- a/debian/python3-packaging.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3*/dist-packages/packaging*
diff --git a/debian/rules b/debian/rules
index 145e316..62596dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,4 @@
 export PYBUILD_DISABLE_pypy=test
 
 %:
-   dh $@ --with python3,pypy --buildsystem=pybuild
+   dh $@ --with python3 --buildsystem=pybuild


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1016775: python-packaging: please drop pypy-packaging to support python2.7 removal

2022-08-07 Thread Paul Gevers
Source: python-packaging
Version: 21.3-1
Severity: serious
Justification: rt

Dear Matthias,

If I didn't make a mistake, pypy-packaging is keeping pypy in the key
package set because it Build-Depends on it. Again, if I didn't make a
mistake, there are no reverse Build-Depends or Depends anymore of
pypy-packaging, so I think the package can just be dropped. That would
be another step in the python2.7 removal transition.

Paul