Control: tags 937265 + patch

Dear maintainer,

I've prepared an NMU for pdfrw (versioned as 0.4-2.1). The diff
is attached to this message.

Regards.

diff -Nru pdfrw-0.4/debian/changelog pdfrw-0.4/debian/changelog
--- pdfrw-0.4/debian/changelog	2018-04-12 11:14:12.000000000 -0400
+++ pdfrw-0.4/debian/changelog	2019-12-20 17:37:50.000000000 -0500
@@ -1,3 +1,10 @@
+pdfrw (0.4-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937265
+
+ -- Sandro Tosi <[email protected]>  Fri, 20 Dec 2019 17:37:50 -0500
+
 pdfrw (0.4-2) unstable; urgency=medium
 
   * Bumped Standards-Version to 4.1.3
diff -Nru pdfrw-0.4/debian/control pdfrw-0.4/debian/control
--- pdfrw-0.4/debian/control	2018-04-12 11:14:12.000000000 -0400
+++ pdfrw-0.4/debian/control	2019-12-20 17:37:37.000000000 -0500
@@ -5,8 +5,6 @@
 Build-Depends:
  debhelper (>= 10),
  dh-python,
- python-all (>= 2.6.6-3~),
- python-setuptools,
  python3-all,
  python3-setuptools,
 Standards-Version: 4.1.3
@@ -17,32 +15,6 @@
 X-Python3-Version: >= 3.2
 Testsuite: autopkgtest-pkg-python
 
-Package: python-pdfrw
-Architecture: all
-Depends:
- ${misc:Depends},
- ${python:Depends},
-Suggests:
- python-pdfrw-doc,
- python-reportlab,
-Description: PDF file manipulation library (Python 2)
- pdfrw can read and write PDF files, and can also be used to read in PDFs which
- can then be used inside reportlab.
- .
- pdfrw tries to be agnostic about the contents of PDF files, and support them
- as containers, but to do useful work, something a little higher-level is
- required. It supports the following:
- .
-  * PDF pages. pdfrw knows enough to find the pages in PDF files you read in,
-    and to write a set of pages back out to a new PDF file.
-  * Form XObjects. pdfrw can take any page or rectangle on a page, and convert
-    it to a Form XObject, suitable for use inside another PDF file
-  * reportlab objects. pdfrw can recursively create a set of reportlab objects
-    from its internal object format. This allows, for example, Form XObjects to
-    be used inside reportlab.
- .
- This package installs the library for Python 2.
-
 Package: python-pdfrw-doc
 Architecture: all
 Multi-Arch: foreign
diff -Nru pdfrw-0.4/debian/rules pdfrw-0.4/debian/rules
--- pdfrw-0.4/debian/rules	2018-04-12 10:39:24.000000000 -0400
+++ pdfrw-0.4/debian/rules	2019-12-20 17:37:44.000000000 -0500
@@ -3,6 +3,6 @@
 export PYBUILD_NAME = pdfrw
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:

Reply via email to