Control: tags 1003573 + patch

Dear maintainer,

As discussed on IRC, I've prepared an NMU for setuptools (versioned as
58.2.0-1.1). The diff is attached to this message.

Regards.

SR
diff -Nru setuptools-58.2.0/debian/changelog setuptools-58.2.0/debian/changelog
--- setuptools-58.2.0/debian/changelog	2021-10-11 07:44:59.000000000 -0400
+++ setuptools-58.2.0/debian/changelog	2022-01-12 13:21:21.000000000 -0400
@@ -1,3 +1,10 @@
+setuptools (58.2.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build a python3-setuptools-whl package. Closes: #1003573.
+
+ -- Stefano Rivera <stefa...@debian.org>  Wed, 12 Jan 2022 13:21:21 -0400
+
 setuptools (58.2.0-1) unstable; urgency=medium
 
   * New upstream version.
diff -Nru setuptools-58.2.0/debian/control setuptools-58.2.0/debian/control
--- setuptools-58.2.0/debian/control	2020-12-23 08:13:42.000000000 -0400
+++ setuptools-58.2.0/debian/control	2022-01-12 13:21:21.000000000 -0400
@@ -48,6 +48,17 @@
 Description: Python3 Distutils Enhancements
  Extensions to the python-distutils for large or complex distributions.
 
+Package: python3-setuptools-whl
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: python-pip-whl (<< 21.3.1+dfsg-2~)
+Replaces: python-pip-whl (<< 21.3.1+dfsg-2~)
+Description: Python Distutils Enhancements (wheel package)
+ Extensions to the python-distutils for large or complex distributions.
+ .
+ This is the support package for the PEP 427 wheel version of the package,
+ required for using setuptools inside a virtual environment.
+
 #Package: pypy-pkg-resources
 #Suggests: pypy-setuptools
 #Architecture: all
@@ -72,11 +83,3 @@
 #Suggests: python-setuptools-doc
 #Description: PyPy Distutils Enhancements
 # Extensions to the python-distutils for large or complex distributions.
-
-#Package: python-setuptools-whl
-#Architecture: all
-#Depends: ${misc:Depends}
-#Description: Python Distutils Enhancements (wheel package)
-# Extensions to the python-distutils for large or complex distributions.
-# .
-# This package provides setuptools in PEP 427 wheel format.
diff -Nru setuptools-58.2.0/debian/rules setuptools-58.2.0/debian/rules
--- setuptools-58.2.0/debian/rules	2021-06-29 06:55:24.000000000 -0400
+++ setuptools-58.2.0/debian/rules	2022-01-12 13:21:21.000000000 -0400
@@ -10,9 +10,9 @@
 
 	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 
-#	mkdir -p debian/python-setuptools-whl/usr/share/python-wheels
-#	python3 setup.py bdist_wheel --universal \
-#	        -d debian/python-setuptools-whl/usr/share/python-wheels
+	mkdir -p debian/python3-setuptools-whl/usr/share/python-wheels
+	python3 setup.py bdist_wheel \
+	        -d debian/python3-setuptools-whl/usr/share/python-wheels
 
 	# dh_pypy from dh-python < 1.20150705-1 falls over requires.txt
 	# and our requires.txt aren't useful

Reply via email to