summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:33:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 11:33:32 +0000
commit0c4233495b50e3b2e7a423edaf334b0116e2901d (patch)
treeb6d4fe7d612d9cab9538f2fe4bad5d20984a44e9
parentAdding upstream version 2.14.0+dfsg. (diff)
downloadpygments-0c4233495b50e3b2e7a423edaf334b0116e2901d.tar.xz
pygments-0c4233495b50e3b2e7a423edaf334b0116e2901d.zip
Adding debian version 2.14.0+dfsg-1.debian/2.14.0+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/README.source2
-rw-r--r--debian/changelog538
-rw-r--r--debian/control55
-rw-r--r--debian/copyright81
-rw-r--r--debian/dirs1
-rw-r--r--debian/gbp.conf13
-rw-r--r--debian/patches/0001-docs-moved-to-python-pygments-doc-binary-package.patch22
-rw-r--r--debian/patches/0002-pygments.bashcomp-Remove-hashbang-within-bash-comple.patch19
-rw-r--r--debian/patches/series2
-rw-r--r--debian/python-pygments-doc.doc-base10
-rw-r--r--debian/python-pygments-doc.docs1
-rw-r--r--debian/python-pygments-doc.examples1
-rw-r--r--debian/python-pygments-doc.install1
-rw-r--r--debian/python-pygments-doc.links2
-rw-r--r--debian/python3-pygments.dirs1
-rw-r--r--debian/python3-pygments.manpages1
-rwxr-xr-xdebian/rules28
-rw-r--r--debian/salsa-ci.yml4
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control7
-rwxr-xr-xdebian/tests/python3-pygments10
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch6
23 files changed, 811 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..53bdf29
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,2 @@
+This package uses the patch management system quilt as documented in
+/usr/share/doc/quilt/README.source.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5ee6dd9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,538 @@
+pygments (2.14.0+dfsg-1) unstable; urgency=medium
+
+ * Team upload
+ * New upstream version 2.14.0+dfsg
+ * d/copyright: Update year data
+ * d/control: Bump Standards-Version to 4.6.2
+ No further changes needed.
+
+ -- Carsten Schoenert <c.schoenert@t-online.de> Sat, 07 Jan 2023 10:12:03 +0100
+
+pygments (2.13.0+dfsg-1) unstable; urgency=medium
+
+ * Team upload
+ * d/gbp.conf: Adjust back to debian/master
+ In order to make things work as expected.
+ * New upstream version 2.13.0+dfsg
+
+ -- Carsten Schoenert <c.schoenert@t-online.de> Sun, 20 Nov 2022 17:35:38 +0100
+
+pygments (2.12.0+dfsg-2) unstable; urgency=medium
+
+ * debian/control
+ - remove debian/exp.. branch from Vcs fields
+ - adjust pytest b-d versioned relationship
+ - run wrap-and-sort -at
+
+ -- Sandro Tosi <morph@debian.org> Mon, 27 Jun 2022 21:34:45 -0400
+
+pygments (2.12.0+dfsg-1) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Sandro Tosi <morph@debian.org> Thu, 23 Jun 2022 22:52:47 -0400
+
+pygments (2.12.0+dfsg-1~exp1) experimental; urgency=medium
+
+ * Team upload
+ * d/gbp.conf: Adjust to debian/experimental
+ * New upstream version 2.12.0+dfsg
+ * d/control: Increase required version on package pytest
+ * d/control: Bump Standards-Version to 4.6.1
+ * d/control: Adjust VCS linking to debian/experimental
+ * d/control: Use https within upstream URI
+ * d/control: Sort binary packages alphabetical
+ * d/python3-pygments.dirs: Ensure bash-completion folder exits
+ * d/rules: Ignore bash-completion within python-pygments-doc
+
+ -- Carsten Schoenert <c.schoenert@t-online.de> Sat, 11 Jun 2022 08:39:00 +0200
+
+pygments (2.11.2+dfsg-2) unstable; urgency=medium
+
+ * Team upload
+ * autopkgtest: Adjust B-D for autopkgtest
+
+ -- Carsten Schoenert <c.schoenert@t-online.de> Tue, 15 Feb 2022 12:37:08 +0100
+
+pygments (2.11.2+dfsg-1) unstable; urgency=medium
+
+ * Team upload
+ * d/gbp.conf: Add content to filter out
+ * New upstream version 2.11.2+dfsg
+ * d/control: Extend packages for Build-Depends
+ - The new upstream version requires now python3-lxml and
+ python3-wcag-contrast-ratio.
+ * d/*control: Running wrap-and-sort -ast
+ - No functional modifications.
+ * Rebuild patch queue from patch-queue branch
+ - Added patch:
+ 0002-pygments.bashcomp-Remove-hashbang-within-bash-comple.patch
+ * d/copyright: Update copyright year
+ * d/control: Remove obsolete Conflicts for python-pygments
+ * d/python-pygments-doc.doc-base: Add new sequencer file
+
+ -- Carsten Schoenert <c.schoenert@t-online.de> Mon, 14 Feb 2022 18:50:39 +0100
+
+pygments (2.10.0+dfsg-1) unstable; urgency=medium
+
+ * New upstream release; Closes: #984625
+ * debian/copyright
+ - update upstream copyright notice
+ * debian/patchees/
+ - refresh patches, remove patches released upstream
+ * debian/rules
+ - exclude more tests that rely on example data that's removed
+ - convert to dh sequence
+ * debian/tests/python3-pygments
+ - exclude more tests that rely on example data that's removed
+ * debian/patches/0003-Update-change-docs-theme-patch.patch
+ - drop patch, no longer needed
+ * debian/control
+ - bump Standards-Version to 4.6.0.1 (no changes needed)
+
+ -- Sandro Tosi <morph@debian.org> Fri, 10 Dec 2021 00:46:37 -0500
+
+pygments (2.7.1+dfsg-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix several exponential/cubic complexity regexes (CVE-2021-27291)
+ (Closes: #985574)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 05 Jun 2021 11:00:18 +0200
+
+pygments (2.7.1+dfsg-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Sandro Tosi ]
+ * Use the new Debian Python Team contact name and address
+
+ [ Emilio Pozuelo Monfort ]
+ * CVE-2021-20270: infinite loop in the SML lexer (Closes: #984664).
+
+ -- Emilio Pozuelo Monfort <pochu@debian.org> Fri, 12 Mar 2021 10:54:46 +0100
+
+pygments (2.7.1+dfsg-1) unstable; urgency=medium
+
+ [ Emmanuel Arias ]
+ * New upstream version 2.6.1 (Closes: #962505)
+ * wrap-and-sort.
+ * d/salsa-ci.yml: enable salsa-ci.
+ * d/gbp.conf: set debian/master as default branch.
+ * d/patches: update change_docs_theme patch.
+ - Remove not applied Adapt-conf.py-for-sphinx-2.0 patch.
+
+ [ Christian Kastner ]
+ * Convert d/copyright to Machine-Readable Copyright Format 1.0
+ * Add Files-Excluded+Comment to d/copyright
+ * Add repacksuffix=+dfsg to d/watch
+ * Drop obsolete get-orig-source target (uscan removes files now)
+ * Add python3-pytest to Build-Depends
+ * Replace nose with pytest in autopkgtest
+ * Enable running tests at build time
+ * Update d/watch to version 4
+ * Drop TODO from python-pygments-doc.docs
+ * d/gbp.conf: Rename upstream -> upstream/latest
+ * Add upstream metadata
+
+ [ Ondřej Nový ]
+ * d/control: Update Vcs-* fields with new Debian Python Team Salsa
+ layout.
+
+ [ Sandro Tosi ]
+ * New upstream release; Closes: #962505
+ * Skip test that's missing some example file (gh:issues/1567)
+ * debian/rules
+ - if you never run dh_install, .install files are not processed
+
+ -- Sandro Tosi <morph@debian.org> Thu, 08 Oct 2020 18:54:38 -0400
+
+pygments (2.3.1+dfsg-4) unstable; urgency=medium
+
+ * Drop python2 support + run wrap-and-sort; Closes: #937446
+
+ -- Sandro Tosi <morph@debian.org> Fri, 17 Jul 2020 15:18:56 -0400
+
+pygments (2.3.1+dfsg-3) unstable; urgency=medium
+
+ * Team upload.
+ * Drop Recommend: python-chardet to allow the drop of python-chardet from
+ the archive.
+
+ -- Pierre-Elliott Bécue <peb@debian.org> Wed, 22 Apr 2020 16:32:33 +0200
+
+pygments (2.3.1+dfsg-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Ondřej Nový ]
+ * Use debhelper-compat instead of debian/compat.
+
+ [ Debian Janitor ]
+ * Set upstream metadata fields: Name.
+
+ [ Mattia Rizzolo ]
+ * Move pygmentize.1 manpage to the python3-pygmentize, together with the
+ /usr/bin/pygmentize binary. Closes: #919653
+ * Hard dependency on python3-pkg-resources to be able to use /usr/bin/pygments
+ Closes: #944908
+ * Recommend the py3 package from the docs package, isntead of the py2 one.
+ * Bump Standards-Version to 4.5.0:
+ + Set Rules-Requires-Root:no.
+ * autopkgtest: use py3versions -s instead of py3versions -i.
+
+ -- Mattia Rizzolo <mattia@debian.org> Sun, 05 Apr 2020 15:53:18 +0200
+
+pygments (2.3.1+dfsg-1) unstable; urgency=medium
+
+ * New upstream release.
+ - sphinx_1.7.patch and python_3.7.patch removed - fixed upstream
+ * /usr/bin/pygmentize moved to python3-pygments binary package. Closes: 857273
+ * Add patch to add -g parameter to pygmentize man page. Closes: 807495
+ (thanks to Stéphane Blondon for the patch)
+ * Add patch to update HTML documentation location in manpage. Closes: 801586
+ (thanks to Stéphane Blondon for the patch)
+ * Standards-Version bumped to 4.3.0 (no changes needed)
+
+ -- Piotr Ożarowski <piotr@debian.org> Mon, 31 Dec 2018 12:10:22 +0100
+
+pygments (2.2.0+dfsg-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Ondřej Nový ]
+ * d/control: Set Vcs-* to salsa.debian.org.
+ * d/control: Deprecating priority extra as per policy 4.0.1.
+ * d/control: Remove XS-Testsuite field, not needed anymore.
+ * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP.
+ * d/control: Remove ancient X-Python-Version field.
+ * Convert git repository from git-dpm to gbp layout.
+
+ [ Helmut Grohne ]
+ * Mark all packages Multi-Arch: foreign. Closes: #892948
+
+ [ Mattia Rizzolo ]
+ * Suggests python-pygments-doc from the library packages. Closes: #902690
+ * Add patch from Dmitry Shachnev to fix FTBFS with Sphinx 1.7. Closes: 896627
+ * Add patch to fix compatibility with Python 3.7. Closes: #904325
+
+ -- Mattia Rizzolo <mattia@debian.org> Mon, 24 Sep 2018 13:17:46 +0200
+
+pygments (2.2.0+dfsg-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Piotr Ożarowski <piotr@debian.org> Mon, 23 Jan 2017 23:25:26 +0100
+
+pygments (2.1.3+dfsg-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Ondřej Nový ]
+ * Fixed VCS URL (https)
+
+ [ Dmitry Shachnev ]
+ * New upstream bugfix release.
+
+ -- Dmitry Shachnev <mitya57@debian.org> Mon, 02 May 2016 12:54:25 +0300
+
+pygments (2.1+dfsg-1) unstable; urgency=medium
+
+ [ Dmitry Shachnev ]
+ * New upstream release.
+ * Drop CVE-2015-8557.patch, applied upstream.
+ * Disable two tests that need example files, again.
+ * Stop setting PYTHONWARNINGS=d when running the autopkgtests, that
+ breaks the cmdline test which checks that process stderr is empty.
+
+ [ Piotr Ożarowski ]
+ * Remove /etc/bash_completion.d/pygmentize conffile in maintainer scripts
+ (closes: #810661)
+
+ -- Dmitry Shachnev <mitya57@debian.org> Mon, 25 Jan 2016 18:04:14 +0300
+
+pygments (2.0.1+dfsg-2) unstable; urgency=high
+
+ [ Salvatore Bonaccorso ]
+ * Add CVE-2015-8557.patch patch.
+ CVE-2015-8557: Shell injection in FontManager._get_nix_font_path.
+ (Closes: #802828)
+
+ [ Piotr Ożarowski ]
+ * debian/watch: use pypi.debian.net redirector
+ * install pygmentize's bash completion to
+ /usr/share/bash-completion/completions
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 10 Jan 2016 18:56:35 +0100
+
+pygments (2.0.1+dfsg-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/copyright: add the missing licenses of:
+ - pygments/lexers/robotframework.py
+ - tests/dtds/HTMLspec.ent
+ - tests/dtds/HTMLlat1.ent
+ - tests/dtds/HTMLsym.ent
+ (Closes: #766042)
+
+ -- Sébastien Villemot <sebastien@debian.org> Sun, 22 Mar 2015 10:23:41 +0100
+
+pygments (2.0.1+dfsg-1) unstable; urgency=medium
+
+ [ Dmitry Shachnev ]
+ * Drop disable_example_files_test.patch, no longer needed.
+ * Enable verbose tests output.
+
+ [ Piotr Ożarowski ]
+ * New upstream release
+ - pygmentize no longer fails when writing UTF-8 to output files
+ (closes: 771724)
+ * Drop doc/_build from the tarball (mostly due to missing JS sources; these
+ files are regenerated anyway)
+ * Remove .pyc files from upstream tarball
+ * make_utf8_default patch removed, no longer needed
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 09 Nov 2014 23:03:38 +0100
+
+pygments (2.0~rc1.a2bc2bd+dfsg-1) unstable; urgency=medium
+
+ [ Jakub Wilk ]
+ * Use canonical URIs for Vcs-* fields.
+
+ [ Dmitry Shachnev ]
+ * Make autopkgtests depend on patch (to fix test failure on CI)
+ and python[3]-all (to run tests for all supported Python versions).
+ Closes: #740166.
+
+ [ Piotr Ożarowski ]
+ * New upstream release
+ - Bump X-Python-Version to 2.6
+ * Documentation moved to new binary package: python-pygments-doc
+ * Add dh-python and python-sphinx to Build-Depends
+ * Switch debhelper compat level to 9
+ * Standards-Version bumped to 3.9.6 (no changes needed)
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 19 Oct 2014 23:00:26 +0200
+
+pygments (1.6+dfsg-1) experimental; urgency=low
+
+ * New upstream release
+ * fix_makefile_re.patch removed, no longer needed
+ * debian/watch file updated to handle rc versions correctly
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 03 Feb 2013 22:32:34 +0100
+
+pygments (1.5+dfsg-2) unstable; urgency=low
+
+ [ Dmitry Shachnev ]
+ * Add DEP-8 tests (closes: #693028).
+ * Remove unneeded build-dependency on quilt.
+ * Bump Standards-Version to 3.9.4.
+ + Add empty build-arch target to debian/rules.
+ * Drop Breaks: {python:Breaks}, it is obsolete.
+ * debian/patches/fix_makefile_re.patch: cherry-picked upstream commit
+ that fixes Makefile highlighting.
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 06 Jan 2013 14:38:26 +0100
+
+pygments (1.5+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * make_utf8_default patch: do not change the encoding guessing part in
+ pygments/lexer.py; updated to new upstream version
+ * debian/pygmentize no longer needed, upstream now ships the script in the
+ tarball (and it returns correct exit codes, closes: 628881)
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 11 Mar 2012 18:22:42 +0100
+
+pygments (1.4+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * Provide python3-pygments binary package
+ * Convert from python-support to dh_python2
+ * Source package format changed to 3.0 (quilt)
+ * Standards-Version bumped to 3.9.1 (no changes needed)
+
+ -- Piotr Ożarowski <piotr@debian.org> Tue, 04 Jan 2011 20:13:50 +0100
+
+pygments (1.3.1+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * Add ttf-bitstream-vera package to Suggests ("img" formatter needs it)
+ * Homepage field updated
+
+ -- Piotr Ożarowski <piotr@debian.org> Sat, 20 Mar 2010 20:43:06 +0100
+
+pygments (1.3+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ - install Bash completion script for pygmentize
+ * Standards-Version bumped to 3.8.4 (no changes needed)
+
+ -- Piotr Ożarowski <piotr@debian.org> Tue, 02 Mar 2010 20:06:16 +0100
+
+pygments (1.2.2+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 03 Jan 2010 00:50:59 +0100
+
+pygments (1.2.1+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ - minimum required Python version bumped to 2.4
+
+ -- Piotr Ożarowski <piotr@debian.org> Sat, 02 Jan 2010 21:40:38 +0100
+
+pygments (1.1.1+dfsg-2) unstable; urgency=low
+
+ * Add --prefix=/usr (Python >= 2.6 needs it)
+
+ -- Piotr Ożarowski <piotr@debian.org> Fri, 13 Nov 2009 23:04:50 +0100
+
+pygments (1.1.1+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ - upstream tarball repackaged: tests/examplefiles removed (at least one
+ of example files is not DFSG-free and I'm too lazy to review the rest
+ as most of them have different copyright holder and license),
+ get-orig-source target added, debian/watch file updated
+ * use_jinja2_to_generate_docs patch removed (incorporated upstream)
+ * disable_ez_setup.patch no longer needed
+ * make_utf8_default.patch updated
+ * debian/copyright file updated
+ * Standards-Version bumped to 3.8.3 (no changes needed)
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 13 Sep 2009 10:13:17 +0200
+
+pygments (1.0-3) unstable; urgency=low
+
+ * Add use_jinja2_to_generate_docs patch and replace python-jinja with
+ python-jinja2 build dependency
+ * Standards-Version bumped to 3.8.2 (no changes needed)
+
+ -- Piotr Ożarowski <piotr@debian.org> Thu, 09 Jul 2009 22:30:15 +0200
+
+pygments (1.0-2) unstable; urgency=low
+
+ * Add description to the patches
+ * Remove brainf*ck from long description (LP: #302898)
+ * Upload to unstable
+
+ -- Piotr Ożarowski <piotr@debian.org> Tue, 10 Feb 2009 19:14:36 +0100
+
+pygments (1.0-1) experimental; urgency=low
+
+ [ Sandro Tosi ]
+ * Switch Vcs-Browser field to viewsvn
+
+ [ Piotr Ożarowski ]
+ * New upstream release (upload to experimental due to Lenny freeze, to ease
+ testing rev. dependencies)
+ * Install scripts from external directory as examples (closes: #497532)
+ * debian/copyright: list of copyright holders updated
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 23 Nov 2008 20:14:31 +0100
+
+pygments (0.11.1-1) experimental; urgency=low
+
+ * New upstream release (upload to experimental due to Lenny freeze, to ease
+ testing rev. dependencies)
+ * Standards-Version bumped to 3.8.0:
+ + debian/README.source file added
+
+ -- Piotr Ożarowski <piotr@debian.org> Sun, 31 Aug 2008 16:48:09 +0200
+
+pygments (0.10-1) unstable; urgency=low
+
+ * New upstream release
+ * Add make_utf8_default patch - useful while using pygmentize with pipes
+ (use: pygmentize -P 'encoding=ascii' if you want old behaviour)
+ * Install debian/pygmentize instead of script created by setuptools
+ * Change Debian packaging licence to match upstream
+
+ -- Piotr Ożarowski <piotr@debian.org> Wed, 07 May 2008 20:38:26 +0200
+
+pygments (0.9-3) unstable; urgency=low
+
+ [ Sandro Tosi ]
+ * debian/control
+ - uniforming Vcs-Browser field
+
+ [ Piotr Ożarowski ]
+ * Switch to python-support
+ * Replace python-setuptools runtime dependency with new python-pkg-resources
+ (closes: 468710)
+ * Compress binary package with bzip2
+ * Strip the "-1" from quilt's and setuptools' required build versions
+
+ -- Piotr Ożarowski <piotr@debian.org> Sat, 01 Mar 2008 13:37:39 +0100
+
+pygments (0.9-2) unstable; urgency=low
+
+ * Install original pygmentize script (not touched by setuptools)
+ (closes: 455222)
+ * Bump Standards-Version to 3.7.3 (no changes needed)
+
+ -- Piotr Ożarowski <piotr@debian.org> Mon, 10 Dec 2007 19:59:55 +0100
+
+pygments (0.9-1) unstable; urgency=low
+
+ * New upstream release
+ * Add patch that disables ez_setup at build time
+ - quilt added to Build-Depends
+ * Homepage field added
+ * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+
+ -- Piotr Ożarowski <piotr@debian.org> Mon, 15 Oct 2007 22:37:08 +0200
+
+pygments (0.8.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Piotr Ożarowski <piotr@debian.org> Thu, 28 Jun 2007 15:08:22 +0200
+
+pygments (0.8-1) unstable; urgency=low
+
+ * New upstream release
+ * Bump required Jinja version (build dependency)
+ * Added python-setuptools to Recommends
+
+ -- Piotr Ożarowski <piotr@debian.org> Wed, 30 May 2007 19:33:29 +0200
+
+pygments (0.7.1-2) unstable; urgency=low
+
+ * Upload to unstable
+ * debian/copyright file updated
+ * Changed my address to piotr@debian.org
+
+ -- Piotr Ożarowski <piotr@debian.org> Mon, 09 Apr 2007 20:18:54 +0200
+
+pygments (0.7.1-1) experimental; urgency=low
+
+ * New upstream release (upload to experimental due to Etch freeze)
+
+ -- Piotr Ozarowski <ozarow@gmail.com> Thu, 15 Feb 2007 21:17:10 +0100
+
+pygments (0.7-1) experimental; urgency=low
+
+ * New upstream release (upload to experimental due to Etch freeze)
+ * Some debian/rules cleanups
+
+ -- Piotr Ozarowski <ozarow@gmail.com> Wed, 14 Feb 2007 21:52:50 +0100
+
+pygments (0.6-1) experimental; urgency=low
+
+ * New upstream release (upload to experimental due to Etch freeze)
+ * Added XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control
+ * Added python-chardet to Recommends: (guessing input encoding added)
+ * debian/copyright updated (license change to BSD)
+ * Removed debian/pygmentize.1 manpage (it's in upstream sources now)
+
+ -- Piotr Ozarowski <ozarow@gmail.com> Thu, 21 Dec 2006 16:20:10 +0100
+
+pygments (0.5.1-1) unstable; urgency=low
+
+ * Initial release (closes: #395064)
+
+ -- Piotr Ozarowski <ozarow@gmail.com> Mon, 30 Oct 2006 17:19:10 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a3f9ef3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: pygments
+Section: python
+Priority: optional
+Maintainer: Piotr Ożarowski <piotr@debian.org>
+Uploaders: Debian Python Team <team+python@tracker.debian.org>,
+Build-Depends: debhelper-compat (= 13),
+Build-Depends-Indep: dh-python,
+ python3-all,
+ python3-docutils,
+ python3-jinja2,
+ python3-lxml,
+ python3-pytest (>= 7) <!nocheck>,
+ python3-setuptools,
+ python3-sphinx,
+ python3-wcag-contrast-ratio,
+Standards-Version: 4.6.2
+Rules-Requires-Root: no
+Homepage: https://pygments.org/
+Vcs-Git: https://salsa.debian.org/python-team/packages/pygments.git
+Vcs-Browser: https://salsa.debian.org/python-team/packages/pygments
+
+Package: python-pygments-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends},
+Recommends: python3-pygments,
+Description: documentation for the Pygments
+ Pygments is syntax highlighting package.
+ .
+ This package contains the documentation for Pygments in HTML and
+ reStructuredText format.
+
+Package: python3-pygments
+Architecture: all
+Multi-Arch: foreign
+Depends: python3-pkg-resources,
+ ${misc:Depends},
+ ${python3:Depends},
+Suggests: python-pygments-doc,
+ ttf-bitstream-vera,
+Breaks: python-pygments (<< 2.3.1+dfsg-4~),
+Replaces: python-pygments (<< 2.3.1+dfsg-4~),
+Description: syntax highlighting package written in Python 3
+ Pygments aims to be a generic syntax highlighter for general use in all kinds
+ of software such as forum systems, wikis or other applications that need to
+ prettify source code.
+ .
+ Highlights are:
+ * a wide range of common languages and markup formats is supported
+ * special attention is paid to details, increasing quality by a fair amount
+ * support for new languages and formats are added easily
+ * a number of output formats, presently HTML, LaTeX and ANSI sequences
+ * it is usable as a command-line tool and as a library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..613bd33
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,81 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pygments
+Upstream-Contact: Georg Brandl <georg@python.org>
+Source: https://pypi.org/project/Pygments/
+Files-Excluded:
+ tests/examplefiles tests/test_examplefiles.py
+ doc/_build
+ Pygments.egg-info
+Comment: The examplefiles contain numerous code fragments from various sources
+ for which determining licensing is difficult, so they have been removed.
+ Furthermore, the pre-built documentation and egg info has been removed.
+
+Files: *
+Copyright: 2006-2023 Pygments team, see AUTHORS
+License: BSD-2-clause
+
+Files: scripts/vim2pygments.py
+Copyright: 2006 Armin Ronacher
+License: BSD-2-clause
+
+Files: pygments/lexers/robotframework.py
+Copyright: 2012 Nokia Siemens Networks Oyj
+ 2006-2014 The Pygments team
+License: Apache-2.0 and BSD-2-clause
+
+Files: tests/dtds/HTMLlat1.ent
+ tests/dtds/HTMLspec.ent
+ tests/dtds/HTMLsym.ent
+Copyright: 1986 International Organization for Standardization
+License: ISO-1986
+
+Files: debian/*
+Copyright: 2006-2009, Piotr Ożarowski <piotr@debian.org>
+ 2022-2023, Carsten Schoenert <c.schoenert@t-online.de>
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License, version 2.0,
+ can be found in the file `/usr/share/common-licenses/Apache-2.0`.
+
+License: ISO-1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..3096425
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+/usr/share/bash-completion/completions
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7a720d
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,13 @@
+[DEFAULT]
+debian-branch = debian/master
+upstream-branch = upstream/latest
+pristine-tar = true
+
+[import-orig]
+filter = [
+ 'Pygments.egg-info',
+ 'doc/_build',
+ 'tests/examplefiles',
+ 'tests/test_examplefiles.py',
+ ]
+filter-pristine-tar = True
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
diff --git a/debian/python-pygments-doc.doc-base b/debian/python-pygments-doc.doc-base
new file mode 100644
index 0000000..948ad7c
--- /dev/null
+++ b/debian/python-pygments-doc.doc-base
@@ -0,0 +1,10 @@
+Document: python-pygments-doc
+Title: Pygments Documentation
+Abstract: This is the documentation of Pygments, a generic syntax highlighter
+ suitable for use in code hosting, forums, wikis or other applications that need
+ to prettify source code.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pygments-doc/html/index.html
+Files: /usr/share/doc/python-pygments-doc/html/*.html
diff --git a/debian/python-pygments-doc.docs b/debian/python-pygments-doc.docs
new file mode 100644
index 0000000..62deb04
--- /dev/null
+++ b/debian/python-pygments-doc.docs
@@ -0,0 +1 @@
+AUTHORS
diff --git a/debian/python-pygments-doc.examples b/debian/python-pygments-doc.examples
new file mode 100644
index 0000000..8cb2f53
--- /dev/null
+++ b/debian/python-pygments-doc.examples
@@ -0,0 +1 @@
+external/*py
diff --git a/debian/python-pygments-doc.install b/debian/python-pygments-doc.install
new file mode 100644
index 0000000..2d11b25
--- /dev/null
+++ b/debian/python-pygments-doc.install
@@ -0,0 +1 @@
+doc/_build/html/ /usr/share/doc/python-pygments-doc/
diff --git a/debian/python-pygments-doc.links b/debian/python-pygments-doc.links
new file mode 100644
index 0000000..a78c424
--- /dev/null
+++ b/debian/python-pygments-doc.links
@@ -0,0 +1,2 @@
+/usr/share/doc/python-pygments-doc/html/ /usr/share/doc/python3-pygments/html
+/usr/share/doc/python-pygments-doc/html/_sources/ /usr/share/doc/python3-pygments/rst
diff --git a/debian/python3-pygments.dirs b/debian/python3-pygments.dirs
new file mode 100644
index 0000000..3096425
--- /dev/null
+++ b/debian/python3-pygments.dirs
@@ -0,0 +1 @@
+/usr/share/bash-completion/completions
diff --git a/debian/python3-pygments.manpages b/debian/python3-pygments.manpages
new file mode 100644
index 0000000..2dfc28d
--- /dev/null
+++ b/debian/python3-pygments.manpages
@@ -0,0 +1 @@
+doc/pygmentize.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d5c230a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=pygments
+export PYBUILD_TEST_ARGS=-v -k 'not test_chooses_correct_lexer_for_example_files and not test_guess_lexer_singularity and not test_guess_lexer_forth and not test_guess_lexer_modula2 and not test_guess_lexer_unicon and not test_guess_lexer_ezhil and not test_guess_lexer_gdscript and not test_guess_lexer_gap and not test_guess_lexer_easytrieve and not test_guess_lexer_jcl and not test_guess_lexer_rexx'
+
+%:
+ dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build Pygments.egg-info doc/_build
+ find . -name "*\.py[co]" -delete
+
+execute_after_dh_auto_build:
+ PYTHONPATH=$(CURDIR):$(CURDIR)/doc make -C doc html
+
+override_dh_auto_install:
+ dh_auto_install
+ install -m 644 external/pygments.bashcomp debian/python3-pygments/usr/share/bash-completion/completions/pygmentize
+ test -d debian/python-pygments-doc/usr/share/bash-completion && rm -rf debian/python-pygments-doc/usr/share/bash-completion
+
+override_dh_installchangelogs:
+ dh_installchangelogs -i CHANGES
+
+override_dh_compress:
+ dh_compress -i -X.py -X.inv
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..33c3a64
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,4 @@
+---
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2ae49d9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Tests: python3-pygments
+Depends:
+ python3-all,
+ python3-lxml,
+ python3-pygments,
+ python3-pytest,
+ python3-wcag-contrast-ratio,
diff --git a/debian/tests/python3-pygments b/debian/tests/python3-pygments
new file mode 100755
index 0000000..7de838ea
--- /dev/null
+++ b/debian/tests/python3-pygments
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -eu
+
+cp -r tests "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP/tests"
+
+for python in $(py3versions -s); do
+ $python -m pytest -v -k 'not test_chooses_correct_lexer_for_example_files and not test_guess_lexer_singularity and not test_guess_lexer_forth and not test_guess_lexer_modula2 and not test_guess_lexer_unicon and not test_guess_lexer_ezhil and not test_guess_lexer_gdscript and not test_guess_lexer_gap and not test_guess_lexer_easytrieve and not test_guess_lexer_jcl and not test_guess_lexer_rexx'
+done
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..f94a76a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Name: Pygments
+Bug-Database: https://github.com/pygments/pygments/issues
+Bug-Submit: https://github.com/pygments/pygments/issues/new
+Repository: https://github.com/pygments/pygments.git
+Repository-Browse: https://github.com/pygments/pygments
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..45a249c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=4
+opts=\
+dversionmangle=s/\+dfsg//,\
+uversionmangle=s/(beta|rc|a|b|c)/~$1/,\
+repacksuffix=+dfsg \
+https://pypi.debian.net/Pygments/Pygments-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))