diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-18 17:04:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-18 17:04:41 +0000 |
commit | 6cdde4bf2702fac82ba7163fe9f922e7fa0b9a66 (patch) | |
tree | 876fe918d1abfd24cf9323208d2929b94a47cfc7 /dev-python/pygments | |
parent | ce89e807ecd2194613ad6e6bcee8cf95e982ad1a (diff) |
gentoo auto-resync : 18:11:2023 - 17:04:41
Diffstat (limited to 'dev-python/pygments')
-rw-r--r-- | dev-python/pygments/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pygments/pygments-2.17.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 0b62d7f80822..4f2af5241348 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1,3 +1,5 @@ DIST Pygments-2.16.1.tar.gz 4872980 BLAKE2B 57ec4f52f2bca3d9df993f583434d61ad0adbc2719f2d0b4ac84160672a3a57ec144509c520f2724a15f0222548abfbe0e743fa31a8dac64d54111b2d7393ae4 SHA512 9b66c79c03e7ecd36cc00efd428a0a6b372e70dbccdcaae26eff4d56c07a17e2e00d2cf0291eb6624ffd1c896b797789b973e80ccbca4240d56daad95eacfd80 +DIST pygments-2.17.0.tar.gz 4827657 BLAKE2B 53ab36177bb88a3a19cd14a86bedab5aecf3286e2b08432f643d31d22179c4bf7e938dc8fffc3a5ecfcfead747d26085730dd611d050ae649cea62353639941e SHA512 b385f58bb7dba6b193e6c9715e0a34a883d810d2ee919a24268d7b9fffaf7501c0964c8d84aa26edcb503141330e6b752fe52d11b3d146177d42ecd3ab9211de EBUILD pygments-2.16.1.ebuild 1135 BLAKE2B fb1c884181f6d7baaa137a026efff2c9efbdd8aae176e39995e0a9fe50419ace41e494e4487800d5b36b3417afa0212cd38adc19c65fa2e03030a8c5906a5b0f SHA512 bc90d7607123ba745ab60546f29c8473a7ab8c955308c01b8b69aad3b88570e321c7652cad9a26c9265764d618c7f4f1f2e23f679919553b1f0d74b976c73797 +EBUILD pygments-2.17.0.ebuild 1138 BLAKE2B caa905d76cda4f5602583b6ef9e69f533a6c5dac110c9cd01a376701e65cf24f566c34456e5af907e2d4ec529d107130b1fde5877aa4090daa58d61273b89b59 SHA512 d5d29603e828ac685483306b50ae3bd5962a6d93affd99bafde776bfa3d5ecd6ee87e23b2131d63dabfa8163c931f79fe42a1cb699131cb3c5f1bc40de985065 MISC metadata.xml 618 BLAKE2B fbe7a30ff157e4e13592f96ef8a8b9be60ef2f8e72c08baa56dcca027dde82715b78b3b670ef29190d88dbb582f5cc5fdf9aa2547db5d714c666c28020b54def SHA512 860f398e047e516a8ea4d7fd4e900f1c8efed92422c304e305dc16df9e536ce7be7e06407f93caca0d47f6f929eaa66b2e56acd25105d4f232b841eaca381eb6 diff --git a/dev-python/pygments/pygments-2.17.0.ebuild b/dev-python/pygments/pygments-2.17.0.ebuild new file mode 100644 index 000000000000..11302a94d365 --- /dev/null +++ b/dev-python/pygments/pygments-2.17.0.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 +} |