Hi Debian (2022.01.11_18:25:06_-0400)

Patches for setuptools and python-setuptools attached.

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272
diff --git a/debian/changelog b/debian/changelog
index f099d10..4a3bd55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-setuptools (44.1.1-2) UNRELEASED; urgency=medium
+
+  * Build a python-setuptools-whl package. Closes: #1003573.
+
+ -- Stefano Rivera <stefa...@debian.org>  Tue, 11 Jan 2022 14:59:28 -0400
+
 python-setuptools (44.1.1-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/debian/control b/debian/control
index d9a0e9b..51b589f 100644
--- a/debian/control
+++ b/debian/control
@@ -65,10 +65,13 @@ 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.
+Package: python-setuptools-whl
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: python-pip-whl (<< 21)
+Replaces: python-pip-whl (<< 21)
+Description: Python Distutils Enhancements (python 2.7 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 Python 2.7 virtual environment.
diff --git a/debian/rules b/debian/rules
index 95bcbd0..195217c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,9 +16,9 @@ override_dh_auto_install:
 
 	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/python-setuptools-whl/usr/share/python-wheels
+	python3 setup.py bdist_wheel --universal \
+	        -d debian/python-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
diff --git a/debian/changelog b/debian/changelog
index 461fdbd..0ce9b6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+setuptools (58.2.0-2) UNRELEASED; urgency=medium
+
+  * Build a python3-setuptools-whl package. Closes: #1003573.
+
+ -- Stefano Rivera <stefa...@debian.org>  Tue, 11 Jan 2022 11:33:04 -0400
+
 setuptools (58.2.0-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/debian/control b/debian/control
index 5a1880a..5463fd1 100644
--- a/debian/control
+++ b/debian/control
@@ -48,6 +48,17 @@ Suggests: python-setuptools-doc
 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 @@ Description: Python3 Distutils Enhancements
 #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 --git a/debian/rules b/debian/rules
index 2d23d06..3d21113 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,9 @@ override_dh_auto_install:
 
 	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 --universal \
+	        -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