Control: tags 936508 + patch

Dear maintainer,

I've prepared an NMU for fdb (versioned as 2.0.0-1.1). The diff
is attached to this message.

Regards.

diff -Nru fdb-2.0.0/debian/changelog fdb-2.0.0/debian/changelog
--- fdb-2.0.0/debian/changelog	2019-02-07 05:43:34.000000000 -0500
+++ fdb-2.0.0/debian/changelog	2019-12-30 22:53:40.000000000 -0500
@@ -1,3 +1,10 @@
+fdb (2.0.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #936508
+
+ -- Sandro Tosi <mo...@debian.org>  Mon, 30 Dec 2019 22:53:40 -0500
+
 fdb (2.0.0-1) unstable; urgency=low
 
   * New upstream version
diff -Nru fdb-2.0.0/debian/control fdb-2.0.0/debian/control
--- fdb-2.0.0/debian/control	2019-02-07 05:43:34.000000000 -0500
+++ fdb-2.0.0/debian/control	2019-12-30 22:48:38.000000000 -0500
@@ -4,31 +4,14 @@
 Priority: optional
 Build-Depends: debhelper (>= 9)
 Build-Depends-Indep:
-  python-all (>= 2.7), python3-all,
-  python-sphinx, python-sphinx-bootstrap-theme,
-  python-setuptools, python3-setuptools,
-  python-future,
+  python3-all,
+  python3-sphinx, python3-sphinx-bootstrap-theme,
+  python3-setuptools,
   libjs-sphinxdoc,
   dh-python
 Standards-Version: 3.9.8
-X-Python-Version: >= 2.7
-X-Python3-Version: >= 3.4
 Homepage: https://pypi.python.org/pypi/fdb/
 
-Package: python-fdb
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, libfbclient2, python-future
-Suggests: python-fdb-doc
-Description: Python2 DB-API driver for Firebird
- FDB is a Python library package that implements Python Database API
- 2.0-compliant support for the open source relational database Firebird®.
- In addition to the minimal feature set of the standard Python DB API,
- FDB also exposes nearly the entire native client API of the database
- engine.  This version installs the Python2 byte code.
- .
- FDB is a replacement for python-kinterbasdb, which is no longer
- maintained by upstream.
-
 Package: python3-fdb
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}, libfbclient2
@@ -47,7 +30,7 @@
 Architecture: all
 Section: doc
 Depends: ${misc:Depends}, libjs-sphinxdoc
-Recommends: python-fdb
+Recommends: python3-fdb
 Description: Python DB-API driver for Firebird documentation
  FDB is a Python library package that implements Python Database API
  2.0-compliant support for the open source relational database Firebird®.
diff -Nru fdb-2.0.0/debian/rules fdb-2.0.0/debian/rules
--- fdb-2.0.0/debian/rules	2019-02-07 05:43:34.000000000 -0500
+++ fdb-2.0.0/debian/rules	2019-12-30 22:53:20.000000000 -0500
@@ -8,7 +8,7 @@
 
 %:
 	#dh $@ -v --with python2,python3,sphinxdoc --buildsystem=pybuild
-	dh "$@" -v --with python2,python3 --buildsystem=pybuild
+	dh "$@" -v --with python3 --buildsystem=pybuild
 
 get-orig-source:
 	uscan --force-download
@@ -16,7 +16,7 @@
 override_dh_auto_build: $(PYBUILD_NAME).egg-info.orig
 	dh_auto_build
 	rm -rf docs
-	$(MAKE) --directory sphinx html
+	$(MAKE) --directory sphinx html SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build
 	rm -rf html
 	mv docs html
 

Reply via email to