Control: tags 936962 + patch
Control: tags 936962 + pending

Dear maintainer,

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

Regards.

diff -Nru logbook-1.4.3/debian/changelog logbook-1.4.3/debian/changelog
--- logbook-1.4.3/debian/changelog	2019-01-22 12:41:50.000000000 -0500
+++ logbook-1.4.3/debian/changelog	2019-10-19 13:12:36.000000000 -0400
@@ -1,3 +1,10 @@
+logbook (1.4.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop python2 support; Closes: #936962
+
+ -- Sandro Tosi <mo...@debian.org>  Sat, 19 Oct 2019 13:12:36 -0400
+
 logbook (1.4.3-1) unstable; urgency=medium
 
   [ Downstreamer ]
diff -Nru logbook-1.4.3/debian/control logbook-1.4.3/debian/control
--- logbook-1.4.3/debian/control	2019-01-22 12:41:50.000000000 -0500
+++ logbook-1.4.3/debian/control	2019-10-19 13:11:57.000000000 -0400
@@ -7,33 +7,18 @@
 Build-Depends:
  debhelper (>= 11),
  dh-python,
- python-all,
- python-setuptools,
  python3-all,
  python3-setuptools,
- python-sphinx (>= 1.0.7+dfsg) | python3-sphinx,
- python-docutils,
- python2.7-doc,
- cython,
+ python3-sphinx,
+ python3-docutils,
+ python3-doc,
  cython3,
- python2.7-dev,
- python3-dev,
+ python3-all-dev,
 Standards-Version: 4.1.4
 Homepage: http://pythonhosted.org/Logbook/
 Vcs-Git: https://salsa.debian.org/debian/logbook.git
 Vcs-Browser: https://salsa.debian.org/debian/logbook
 
-Package: python-logbook
-Architecture: any
-Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
-Suggests: python-logbook-doc,
-Description: logging system for Python that replaces the standard library's module
- Logbook is a logging system for Python that replaces the standard library's
- logging module. It was designed with both complex and simple applications in
- mind and the idea to make logging fun
- .
- This is the Python 2 version of the package.
-
 Package: python3-logbook
 Architecture: any
 Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
diff -Nru logbook-1.4.3/debian/rules logbook-1.4.3/debian/rules
--- logbook-1.4.3/debian/rules	2019-01-22 12:41:50.000000000 -0500
+++ logbook-1.4.3/debian/rules	2019-10-19 13:12:36.000000000 -0400
@@ -9,7 +9,7 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
@@ -17,7 +17,8 @@
 	rm -rf Logbook.egg-info
 
 override_dh_auto_build:
-	make cybuild
+	cython3 logbook/_speedups.pyx
+	python3 setup.py build_ext --inplace
 	dh_auto_build
 
 override_dh_auto_install:

Reply via email to