commit:     a3faba9c126ecea09476926b727365f1d0df8962
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 06:51:16 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 07:48:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3faba9c

dev-python/pygments: Bump to 2.17.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pygments/Manifest               |  1 +
 dev-python/pygments/pygments-2.17.2.ebuild | 46 ++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
index 98bd6da5a29d..a2ee87b0131e 100644
--- a/dev-python/pygments/Manifest
+++ b/dev-python/pygments/Manifest
@@ -1,3 +1,4 @@
 DIST Pygments-2.16.1.tar.gz 4872980 BLAKE2B 
57ec4f52f2bca3d9df993f583434d61ad0adbc2719f2d0b4ac84160672a3a57ec144509c520f2724a15f0222548abfbe0e743fa31a8dac64d54111b2d7393ae4
 SHA512 
9b66c79c03e7ecd36cc00efd428a0a6b372e70dbccdcaae26eff4d56c07a17e2e00d2cf0291eb6624ffd1c896b797789b973e80ccbca4240d56daad95eacfd80
 DIST pygments-2.17.0.tar.gz 4827657 BLAKE2B 
53ab36177bb88a3a19cd14a86bedab5aecf3286e2b08432f643d31d22179c4bf7e938dc8fffc3a5ecfcfead747d26085730dd611d050ae649cea62353639941e
 SHA512 
b385f58bb7dba6b193e6c9715e0a34a883d810d2ee919a24268d7b9fffaf7501c0964c8d84aa26edcb503141330e6b752fe52d11b3d146177d42ecd3ab9211de
 DIST pygments-2.17.1.tar.gz 4827687 BLAKE2B 
71e5311b15ece8463a5062a4a83796b5e652b3d67ab2d4578cc03d139816fb3de9dff204c1d35ef9e959e502d57ef22b1507212d3ed477866757e596c6c488f4
 SHA512 
587f9d32bbb6c9bdbe53db2f5a24b93323905cd515acf3a0e73318c00bdbb71e109d9258de54ac45a1d85fe285ffdd1b9b0397b41391124754f41af4c9e02e4b
+DIST pygments-2.17.2.tar.gz 4827772 BLAKE2B 
7e6db51ff35ec35981fcdd6f4a1f0a242c29e8b0947a5a3febdee35a0e4047414d49d6883b8fbf9de78b149323f0b3c86b315b03eaada557b4cd70e67917aab8
 SHA512 
a3408a21f4c0a9f1a81d4fae5c2924f66f1f17daf98a52c4379d6953625354f47bb8db3005e6ab09407627f592843efde12afb14e1271c1e685973eb4c238d89

diff --git a/dev-python/pygments/pygments-2.17.2.ebuild 
b/dev-python/pygments/pygments-2.17.2.ebuild
new file mode 100644
index 000000000000..11302a94d365
--- /dev/null
+++ b/dev-python/pygments/pygments-2.17.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_PN=${PN^}
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 bash-completion-r1 pypi
+
+DESCRIPTION="Pygments is a syntax highlighting package written in Python"
+HOMEPAGE="
+       https://pygments.org/
+       https://github.com/pygments/pygments/
+       https://pypi.org/project/Pygments/
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+
+BDEPEND="
+       test? (
+               dev-python/lxml[${PYTHON_USEDEP}]
+               dev-python/pillow[${PYTHON_USEDEP}]
+               dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}]
+               virtual/ttf-fonts
+       )
+"
+
+EPYTEST_DESELECT=(
+       # fuzzing tests, very slow
+       tests/test_basic_api.py::test_random_input
+       # incompatibility with python-ctags3, apparently
+       # https://github.com/pygments/pygments/issues/2486
+       tests/test_html_formatter.py::test_ctags
+)
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_install() {
+       distutils-r1_src_install
+       newbashcomp external/pygments.bashcomp pygmentize
+}

Reply via email to