diff --git a/debian/changelog b/debian/changelog index bc1b873..10d4bc3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +logbook (1.5.3-3) UNRELEASED; urgency=medium + + * Complete python2 removal, which was done already as a NMU but that the + maintainer decided to ignore and perform partially; Closes: #936962 + + -- Sandro Tosi Sat, 14 Mar 2020 16:24:20 -0400 + logbook (1.5.3-2) unstable; urgency=medium * Remove python2 package. diff --git a/debian/control b/debian/control index 2973eb7..2c53968 100644 --- a/debian/control +++ b/debian/control @@ -7,16 +7,12 @@ Build-Depends: debhelper-compat (= 12), 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, Standards-Version: 4.4.1 Homepage: http://pythonhosted.org/Logbook/ @@ -37,7 +33,7 @@ Package: python-logbook-doc Architecture: all Depends: ${misc:Depends}, ${sphinxdoc:Depends} -Suggests: python-doc +Suggests: python3-doc Section: doc Description: logging system for Python that replaces the standard library's module (doc) Logbook is a logging system for Python that replaces the standard library's diff --git a/debian/patches/series b/debian/patches/series index 93a692d..825e9b4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-Point-intersphinx-map-to-local-doc.patch +use-cython3.patch diff --git a/debian/patches/use-cython3.patch b/debian/patches/use-cython3.patch new file mode 100644 index 0000000..db93071 --- /dev/null +++ b/debian/patches/use-cython3.patch @@ -0,0 +1,17 @@ +--- a/Makefile ++++ b/Makefile +@@ -25,11 +25,11 @@ docs: + make -C docs html SPHINXOPTS=-Aonline=1 + + release: logbook/_speedups.so +- python scripts/make-release.py ++ @python scripts/make-release.py + + logbook/_speedups.so: logbook/_speedups.pyx +- cython logbook/_speedups.pyx +- python setup.py build_ext --inplace ++ cython3 logbook/_speedups.pyx ++ python3 setup.py build_ext --inplace + + cybuild: logbook/_speedups.so +