Control: tags 937578 + patch

Dear maintainer,

I've prepared an NMU for python-apsw (versioned as 3.30.1-r1-1.1). The diff
is attached to this message.

Please consider maintaining this package under DPMT umbrella

Regards.

diff -Nru python-apsw-3.30.1-r1/debian/changelog python-apsw-3.30.1-r1/debian/changelog
--- python-apsw-3.30.1-r1/debian/changelog	2019-12-12 15:11:20.000000000 -0500
+++ python-apsw-3.30.1-r1/debian/changelog	2020-01-17 14:52:58.000000000 -0500
@@ -1,3 +1,10 @@
+python-apsw (3.30.1-r1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #937578
+
+ -- Sandro Tosi <mo...@debian.org>  Fri, 17 Jan 2020 14:52:58 -0500
+
 python-apsw (3.30.1-r1-1) unstable; urgency=medium
 
   * New upstream release 3.30.1-r1
diff -Nru python-apsw-3.30.1-r1/debian/control python-apsw-3.30.1-r1/debian/control
--- python-apsw-3.30.1-r1/debian/control	2019-12-12 15:11:20.000000000 -0500
+++ python-apsw-3.30.1-r1/debian/control	2020-01-17 14:52:19.000000000 -0500
@@ -5,37 +5,10 @@
 Build-Depends:
  debhelper-compat (= 12),
  dh-python,
- python-all-dev,
- python-all-dbg,
  python3-all-dev,
  python3-all-dbg,
  libsqlite3-dev (>= 3.30.0)
 Standards-Version: 4.4.1
-X-Python-Version: all
-
-Package: python-apsw
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
-Suggests: python-apsw-doc
-Description: another Python SQLite 3 wrapper
- APSW (Another Python SQLite Wrapper) is an SQLite 3 wrapper that
- provides the thinnest layer over SQLite 3 possible. Everything you
- can do from the C API to SQLite 3, you can do from Python. Although
- APSW's API looks vaguely similar to Python's DB-API, it is not
- compliant with that API and instead works the way SQLite 3 does.
-
-Package: python-apsw-dbg
-Section: debug
-Architecture: any
-Depends: python-apsw (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
-Description: another Python SQLite 3 wrapper (debug extension)
- APSW (Another Python SQLite Wrapper) is an SQLite 3 wrapper that
- provides the thinnest layer over SQLite 3 possible. Everything you
- can do from the C API to SQLite 3, you can do from Python. Although
- APSW's API looks vaguely similar to Python's DB-API, it is not
- compliant with that API and instead works the way SQLite 3 does.
- .
- This package contains the extension built for the Python debug interpreter.
 
 Package: python3-apsw
 Architecture: any
diff -Nru python-apsw-3.30.1-r1/debian/python-apsw.NEWS python-apsw-3.30.1-r1/debian/python-apsw.NEWS
--- python-apsw-3.30.1-r1/debian/python-apsw.NEWS	2019-12-12 15:11:20.000000000 -0500
+++ python-apsw-3.30.1-r1/debian/python-apsw.NEWS	1969-12-31 19:00:00.000000000 -0500
@@ -1,15 +0,0 @@
-python-apsw (3.3.13-r1-2) unstable; urgency=low
-
-  Notable changes since python-apsw 3.3.5r1:
-
-  You must now explicitly call close() on Connection objects. If you do
-  not call close then a detailed error message will be printed when
-  Connection's destructor runs and cleanup will not happen of that
-  connection.
-
-  All strings returned by APSW are now in Unicode. Previously strings
-  that consisted only of ASCII characters were returned as the string
-  type and other strings were returned as the unicode type.
-
- -- Joel Rosdahl <j...@debian.org>  Sun, 03 Jun 2007 23:14:07 +0200
-
diff -Nru python-apsw-3.30.1-r1/debian/rules python-apsw-3.30.1-r1/debian/rules
--- python-apsw-3.30.1-r1/debian/rules	2019-12-12 15:11:20.000000000 -0500
+++ python-apsw-3.30.1-r1/debian/rules	2020-01-17 14:52:46.000000000 -0500
@@ -2,14 +2,12 @@
 
 #export DH_VERBOSE = 1
 
-PYVERS = $(shell pyversions -r) $(shell py3versions -r)
-
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export PYBUILD_NAME = apsw
 export PYBUILD_BUILD_ARGS = -g --enable=load_extension
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_install:
 	dh_install

Reply via email to