Control: tags 997378 + patch
Dear maintainer, I've prepared an NMU for python-coverage (versioned as 5.1+dfsg.1-2.1). The diff is attached to this message. Regards.
diff -Nru python-coverage-5.1+dfsg.1/debian/changelog python-coverage-5.1+dfsg.1/debian/changelog --- python-coverage-5.1+dfsg.1/debian/changelog 2020-09-06 01:43:16.000000000 -0400 +++ python-coverage-5.1+dfsg.1/debian/changelog 2021-11-19 08:33:46.000000000 -0500 @@ -1,3 +1,10 @@ +python-coverage (5.1+dfsg.1-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * use add_css_file() instead of deprecated add_stylesheet(); closes: #997378. + + -- Joseph Nahmias <je...@debian.org> Fri, 19 Nov 2021 08:33:46 -0500 + python-coverage (5.1+dfsg.1-2) unstable; urgency=medium * The “Karl Karnadi” release. diff -Nru python-coverage-5.1+dfsg.1/debian/patches/05.fix-add_stylesheet.patch python-coverage-5.1+dfsg.1/debian/patches/05.fix-add_stylesheet.patch --- python-coverage-5.1+dfsg.1/debian/patches/05.fix-add_stylesheet.patch 1969-12-31 19:00:00.000000000 -0500 +++ python-coverage-5.1+dfsg.1/debian/patches/05.fix-add_stylesheet.patch 2021-11-19 08:31:49.000000000 -0500 @@ -0,0 +1,18 @@ +Description: use add_css_file() instead of deprecated add_stylesheet() +Author: Joseph Nahmias <je...@debian.org> +Bug-debian: https://bugs.debian.org/997378 +Forwarded: not-needed +Applied-Upstream: https://github.com/nedbat/coveragepy/commit/4859de2850f703207b0cab2ff6e7116a3e587b65 +Last-Update: 2021-11-19 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/doc/conf.py ++++ b/doc/conf.py +@@ -230,6 +230,6 @@ prerelease = bool(max(release).isalpha() + + def setup(app): + """Configure Sphinx""" +- app.add_stylesheet('coverage.css') ++ app.add_css_file('coverage.css') + app.add_config_value('prerelease', False, 'env') + print("** Prerelease = %r" % prerelease) diff -Nru python-coverage-5.1+dfsg.1/debian/patches/series python-coverage-5.1+dfsg.1/debian/patches/series --- python-coverage-5.1+dfsg.1/debian/patches/series 2020-09-06 01:43:16.000000000 -0400 +++ python-coverage-5.1+dfsg.1/debian/patches/series 2021-11-19 08:32:28.000000000 -0500 @@ -2,3 +2,4 @@ 02.rename-public-programs.patch 03.remove-hotkeys.patch 04.sphinx-add-code-path.patch +05.fix-add_stylesheet.patch