Control: tags 938840 + patch

Dear maintainer,

I've prepared an NMU for xcffib (versioned as 0.8.1-0.8). The diff
is attached to this message.

Regards.

diff -Nru xcffib-0.8.1/debian/changelog xcffib-0.8.1/debian/changelog
--- xcffib-0.8.1/debian/changelog	2020-02-14 21:31:52.000000000 -0500
+++ xcffib-0.8.1/debian/changelog	2020-02-17 01:30:44.000000000 -0500
@@ -1,3 +1,10 @@
+xcffib (0.8.1-0.8) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #938840
+
+ -- Sandro Tosi <mo...@debian.org>  Mon, 17 Feb 2020 01:30:44 -0500
+
 xcffib (0.8.1-0.7) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru xcffib-0.8.1/debian/control xcffib-0.8.1/debian/control
--- xcffib-0.8.1/debian/control	2020-02-14 21:29:09.000000000 -0500
+++ xcffib-0.8.1/debian/control	2020-02-17 01:27:32.000000000 -0500
@@ -20,46 +20,22 @@
   , libghc-attoparsec-dev
   , libghc-semigroups-dev
   , libghc-either-dev
-  , python-setuptools
   , python3-setuptools
-  , python-all
   , python3-all
-  , python-cffi
   , python3-cffi
 # testing
-  , python-nose
   , python3-nose
   , xvfb
   , x11-apps
 # Because xcffib imports itself in setup.py to do the cffi extension magic, all
 # Depends: are also Build-depends:
-  , python-six
   , python3-six
   , libxcb1
-X-Python-Version: >= 2.6
-X-Python3-Version: >= 3.2
 Standards-Version: 3.9.6
 Homepage: https://github.com/tych0/xcffib
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/xcffib.git
 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/xcffib.git
 
-Package: python-xcffib
-Architecture: any
-Depends: python-six
-  , libxcb1
-  , ${misc:Depends}
-  , ${shlibs:Depends}
-  , ${python:Depends}
-Provides: ${python:Provides}
-Description: This package is a Python binding for XCB (Python 2)
- This package is intended to be a (mostly) drop-in replacement for xpyb. xpyb
- has an inactive upstream, several memory leaks, is python2 only and doesn't
- have pypy support. xcffib is a binding which uses python-cffi, which mitigates
- some of the issues described above. xcffib also builds bindings for 27 of the
- 29 (xprint and xkb are missing) X extensions in 1.10.
- .
- This package installs the library for Python 2.
-
 Package: python3-xcffib
 Architecture: any
 Depends: python3-six,
diff -Nru xcffib-0.8.1/debian/python3-xcffib.install xcffib-0.8.1/debian/python3-xcffib.install
--- xcffib-0.8.1/debian/python3-xcffib.install	2017-07-14 17:38:59.000000000 -0400
+++ xcffib-0.8.1/debian/python3-xcffib.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python3*
diff -Nru xcffib-0.8.1/debian/python-xcffib.install xcffib-0.8.1/debian/python-xcffib.install
--- xcffib-0.8.1/debian/python-xcffib.install	2017-07-14 17:38:59.000000000 -0400
+++ xcffib-0.8.1/debian/python-xcffib.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python2*
diff -Nru xcffib-0.8.1/debian/rules xcffib-0.8.1/debian/rules
--- xcffib-0.8.1/debian/rules	2019-12-21 20:57:12.000000000 -0500
+++ xcffib-0.8.1/debian/rules	2020-02-17 01:27:47.000000000 -0500
@@ -14,4 +14,4 @@
 	rm -rf .ghc.environment.*
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild

Reply via email to