diff -Nru pybtex-0.24.0/debian/changelog pybtex-0.24.0/debian/changelog --- pybtex-0.24.0/debian/changelog 2022-06-12 01:21:54.000000000 +0000 +++ pybtex-0.24.0/debian/changelog 2023-01-06 18:19:33.000000000 +0000 @@ -1,3 +1,15 @@ +pybtex (0.24.0-3) unstable; urgency=medium + + * Team upload. + * Fix pygments_style name (Closes: #1026694) + * Improve d/rules + * Add R³ + * Move package description to source package + * Use dh-sequence-* + * Use execute_after in d/rules + + -- Jochen Sprickerhof Fri, 06 Jan 2023 19:19:33 +0100 + pybtex (0.24.0-2) unstable; urgency=medium * Team upload. diff -Nru pybtex-0.24.0/debian/control pybtex-0.24.0/debian/control --- pybtex-0.24.0/debian/control 2022-06-12 01:21:54.000000000 +0000 +++ pybtex-0.24.0/debian/control 2023-01-06 18:19:33.000000000 +0000 @@ -6,7 +6,8 @@ Priority: optional Build-Depends: debhelper-compat (= 13), - dh-python, + dh-sequence-python3, + dh-sequence-sphinxdoc , python3-all, python3-doc , python3-latexcodec (>= 1.0.4), @@ -21,13 +22,7 @@ Vcs-Git: https://salsa.debian.org/science-team/pybtex.git Homepage: https://pybtex.org/ Testsuite: autopkgtest-pkg-python - -Package: pybtex -Architecture: all -Depends: - python3-pybtex (= ${binary:Version}), - ${misc:Depends}, - ${python3:Depends}, +Rules-Requires-Root: no Description: BibTeX-compatible bibliography processor Pybtex reads citation information from a file and produces a formatted bibliography. BibTeX style files are supported. Alternatively it is @@ -42,6 +37,15 @@ * LaTeX * HTML * plain text + +Package: pybtex +Architecture: all +Depends: + python3-pybtex (= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, +Description: ${source:Synopsis} + ${source:Extended-Description} . This package provides the command-line interface. @@ -56,20 +60,8 @@ python3-doc, Built-Using: ${sphinxdoc:Built-Using}, -Description: documentation for pybtex - Pybtex reads citation information from a file and produces a formatted - bibliography. BibTeX style files are supported. Alternatively it is - possible to write styles in Python. - . - Pybtex currently understands the following bibliography formats: - * BibTeX - * BibTeXML - * YAML-based format - . - The resulting bibliography may be output in one of the following formats: - * LaTeX - * HTML - * plain text +Description: ${source:Synopsis} - documentation + ${source:Extended-Description} . This package provides the documentation. Build-Profiles: @@ -83,19 +75,7 @@ ${python3:Depends}, Suggests: python-pybtex-doc , -Description: public modules for pybtex (Python 3) - Pybtex reads citation information from a file and produces a formatted - bibliography. BibTeX style files are supported. Alternatively it is - possible to write styles in Python. - . - Pybtex currently understands the following bibliography formats: - * BibTeX - * BibTeXML - * YAML-based format - . - The resulting bibliography may be output in one of the following formats: - * LaTeX - * HTML - * plain text +Description: ${source:Synopsis} - Python 3 module + ${source:Extended-Description} . This package provides the modules for Python 3. diff -Nru pybtex-0.24.0/debian/patches/0002-Remove-non-working-pygments_style.patch pybtex-0.24.0/debian/patches/0002-Remove-non-working-pygments_style.patch --- pybtex-0.24.0/debian/patches/0002-Remove-non-working-pygments_style.patch 1970-01-01 00:00:00.000000000 +0000 +++ pybtex-0.24.0/debian/patches/0002-Remove-non-working-pygments_style.patch 2023-01-06 18:18:47.000000000 +0000 @@ -0,0 +1,20 @@ +From: Jochen Sprickerhof +Date: Fri, 6 Jan 2023 19:00:22 +0100 +Subject: Remove non working pygments_style + +--- + docs/theme/theme.conf | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/docs/theme/theme.conf b/docs/theme/theme.conf +index 751e088..4bd722b 100644 +--- a/docs/theme/theme.conf ++++ b/docs/theme/theme.conf +@@ -1,7 +1,6 @@ + [theme] + inherit = basic + stylesheet = master.css +-pygments_style = pybtex + + [options] + nosidebar = true diff -Nru pybtex-0.24.0/debian/patches/series pybtex-0.24.0/debian/patches/series --- pybtex-0.24.0/debian/patches/series 2022-06-12 01:21:54.000000000 +0000 +++ pybtex-0.24.0/debian/patches/series 2023-01-06 18:18:47.000000000 +0000 @@ -1 +1,2 @@ Use-local-intersphinx-inventory.patch +0002-Remove-non-working-pygments_style.patch diff -Nru pybtex-0.24.0/debian/rules pybtex-0.24.0/debian/rules --- pybtex-0.24.0/debian/rules 2022-06-12 01:20:26.000000000 +0000 +++ pybtex-0.24.0/debian/rules 2023-01-06 18:19:33.000000000 +0000 @@ -11,25 +11,20 @@ export PYBUILD_BEFORE_TEST=cp -r {dir}/*.egg-info {build_dir} export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info endif +ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) +export PYBUILD_AFTER_BUILD=PYTHONPATH={dir} $(MAKE) -C docs html +endif %: - dh $@ --with python3,sphinxdoc --buildsystem=pybuild + dh $@ --buildsystem=pybuild -override_dh_auto_clean: - dh_auto_clean +execute_after_dh_auto_clean: ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) $(MAKE) -C docs clean endif -override_dh_auto_build: - dh_auto_build -ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) - PYTHONPATH=$(CURDIR) $(MAKE) -C docs html -endif - -override_dh_auto_install: - dh_auto_install +execute_after_dh_auto_install: dh_movefiles --package=pybtex --sourcedir=debian/python3-pybtex usr/bin override_dh_compress: