diff options
Diffstat (limited to 'debian/patches')
3 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/0001-docs-moved-to-python-pygments-doc-binary-package.patch b/debian/patches/0001-docs-moved-to-python-pygments-doc-binary-package.patch new file mode 100644 index 0000000..00117aa --- /dev/null +++ b/debian/patches/0001-docs-moved-to-python-pygments-doc-binary-package.patch @@ -0,0 +1,22 @@ +From: =?utf-8?q?Piotr_O=C5=BCarowski?= <piotr@debian.org> +Date: Mon, 31 Dec 2018 12:36:56 +0100 +Subject: docs: moved to python-pygments-doc binary package + +Forwarded: not-needed +--- + doc/pygmentize.1 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/pygmentize.1 b/doc/pygmentize.1 +index 5ac8fe6..85d44f8 100644 +--- a/doc/pygmentize.1 ++++ b/doc/pygmentize.1 +@@ -104,7 +104,7 @@ Show help screen. + .B \-V + Show version of the Pygments package. + .SH SEE ALSO +-/usr/share/doc/python-pygments/index.html ++/usr/share/doc/python-pygments-doc/index.html + .SH AUTHOR + pygmentize was written by Georg Brandl <g.brandl@gmx.net>. + .PP diff --git a/debian/patches/0002-pygments.bashcomp-Remove-hashbang-within-bash-comple.patch b/debian/patches/0002-pygments.bashcomp-Remove-hashbang-within-bash-comple.patch new file mode 100644 index 0000000..145d84e --- /dev/null +++ b/debian/patches/0002-pygments.bashcomp-Remove-hashbang-within-bash-comple.patch @@ -0,0 +1,19 @@ +From: Carsten Schoenert <c.schoenert@t-online.de> +Date: Mon, 14 Feb 2022 17:51:56 +0100 +Subject: pygments.bashcomp: Remove hashbang within bash-completion + +This completion script isn't needing any hashbang as it's not intended +to get executed directly. +--- + external/pygments.bashcomp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/external/pygments.bashcomp b/external/pygments.bashcomp +index 1299fdb..2f802d6 100644 +--- a/external/pygments.bashcomp ++++ b/external/pygments.bashcomp +@@ -1,4 +1,3 @@ +-#!bash + # + # Bash completion support for Pygments (the 'pygmentize' command). + # diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..7c2672f --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +0001-docs-moved-to-python-pygments-doc-binary-package.patch +0002-pygments.bashcomp-Remove-hashbang-within-bash-comple.patch |