Control: tags 937696 + patch
Control: tags 937696 + pending

Dear maintainer,

I've prepared an NMU for python-defer (versioned as 1.0.6-2.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru python-defer-1.0.6/debian/changelog python-defer-1.0.6/debian/changelog
--- python-defer-1.0.6/debian/changelog	2012-06-11 08:27:58.000000000 -0400
+++ python-defer-1.0.6/debian/changelog	2019-10-14 20:39:14.000000000 -0400
@@ -1,3 +1,10 @@
+python-defer (1.0.6-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937696
+
+ -- Sandro Tosi <mo...@debian.org>  Mon, 14 Oct 2019 20:39:14 -0400
+
 python-defer (1.0.6-2) unstable; urgency=low
 
   [Sebastian Heinlein]
diff -Nru python-defer-1.0.6/debian/control python-defer-1.0.6/debian/control
--- python-defer-1.0.6/debian/control	2012-06-11 08:27:58.000000000 -0400
+++ python-defer-1.0.6/debian/control	2019-10-14 20:39:14.000000000 -0400
@@ -3,9 +3,7 @@
 Priority: extra
 Maintainer: Sebastian Heinlein (devel) <de...@glatzor.de>
 Uploaders: Michael Vogt <m...@debian.org>
-Build-Depends: debhelper (>= 7.3),
-               python,
-               python-setuptools,
+Build-Depends: debhelper (>= 7.3), dh-python, python3-nose,
                python3-setuptools,
                python3-all,
 Standards-Version: 3.9.2
@@ -14,23 +12,6 @@
 X-Python3-Version: >= 3.2
 Vcs-Bzr: http://bzr.debian.org/collab-maint/python-defer/debian-sid
 
-Package: python-defer
-Architecture: all
-Section: python
-Depends: ${misc:Depends},
-         ${python:Depends}
-Suggests: python-dbus
-Description: Small framework for asynchronous programming (Python 2)
- The defer module provides an easy way to write asynchrouns Python programs.
- It is greatly inspired by Twisted's defer, but hasn't got any external
- dependencies.
- .
- Furthermore it features decorators to write asynchronous D-Bus servers and
- clients.
- .
- At first defer was part of aptdaemon, but moved to a separate project in
- August of 2010.
-
 Package: python3-defer
 Architecture: all
 Section: python
diff -Nru python-defer-1.0.6/debian/python3-defer.install python-defer-1.0.6/debian/python3-defer.install
--- python-defer-1.0.6/debian/python3-defer.install	2012-06-11 08:27:58.000000000 -0400
+++ python-defer-1.0.6/debian/python3-defer.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/lib/python3
diff -Nru python-defer-1.0.6/debian/python-defer.install python-defer-1.0.6/debian/python-defer.install
--- python-defer-1.0.6/debian/python-defer.install	2012-06-11 08:27:58.000000000 -0400
+++ python-defer-1.0.6/debian/python-defer.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/lib/python2.*
diff -Nru python-defer-1.0.6/debian/rules python-defer-1.0.6/debian/rules
--- python-defer-1.0.6/debian/rules	2012-06-11 08:27:58.000000000 -0400
+++ python-defer-1.0.6/debian/rules	2019-10-14 20:38:49.000000000 -0400
@@ -1,21 +1,8 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with=python2,python3
+	dh $@ --with=python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf build *.egg-info po/aptdaemon.pot
-
-override_dh_auto_build:
-	dh_auto_build
-	set -ex; for python in $(shell py3versions -r); do \
-		$$python setup.py build; \
-	done;
-
-override_dh_auto_install:
-	dh_auto_install
-	set -ex; for python in $(shell py3versions -r); do \
-		$$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
-	done;
-

Reply via email to