diff options
Diffstat (limited to 'dev-python/pygments')
-rw-r--r-- | dev-python/pygments/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pygments/pygments-2.15.1.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest index 2f8766f70468..a15328ec2b81 100644 --- a/dev-python/pygments/Manifest +++ b/dev-python/pygments/Manifest @@ -1,5 +1,7 @@ DIST Pygments-2.14.0.tar.gz 4434562 BLAKE2B a3050bae96a8ae044f803e7964b5dede7a73b04f04f6af9d4b9e4d24e3ae0185138d0d68801ee5ac81cdaf74e50c7fea303913470c23182adb30ff2c08c332a8 SHA512 51416a8e2a8d0288cbbf6fd81e6870ffe9d999da255c43d0f870eb5cb4d01660416d136d39fad38b76c4bace3c3aa648fb306519e85e340545a87fc657aaeb15 DIST Pygments-2.15.0.tar.gz 4818485 BLAKE2B c7890910d3c62803f48e52192ffec636343302bdb54f82fd0863bdd1b1fd9f437a4e714f39e955f8666f3ed50ee9b576373aabfde9231c9b3bb6d41453a6252c SHA512 5b9ca24ded1a16ea68d77d727ead635b3555c4c3dece735fb6c122aaef49b9f50bb8ef462cd60aac43eff88ed32415ec8e432e0ac5677bc02c14670f2aef97e4 +DIST Pygments-2.15.1.tar.gz 4819591 BLAKE2B f42d3342b88c5b5745fbfbd1f76913f7d17745d396311a39627aca8e968445b19983e7c633583097c495ce6f43a6a7224262a7c35645751803b6c1172062d8c0 SHA512 408f0bbbc8226ee91b82ed084d178f114657150bcf9381dd34debb704399ccdb2e78cb5578ff297797771660d7263c51c305d03b2a27ae29269110be0bca50a9 EBUILD pygments-2.14.0.ebuild 872 BLAKE2B 38111be304f7207fe115abc4d7ad32148b0e0326bafa1cc23807b58e4bf82ecdeff50cedb955949c6d288347c021017a00209c28428252db5f696de98b18bcd8 SHA512 a0f7ca9b64852dc3b82c7a3b70223282263b8108d44a46e725621993b82af23c7b96542e7b183bde4398bd204c862a17218a15ba2d5fc623cbde4a4f6fd6a15a EBUILD pygments-2.15.0.ebuild 974 BLAKE2B 71398269554790960cdda4644aa289e699ed8de713b10ab1fe36a3256500a442c6de6b7543204f4dc47b81f5aa8a5aef8befb5ae44ba9fcb19dd3fe559f8cc45 SHA512 54cfa9f3a25d9fb70aea21d2719eac33c95bf0a19886d136a9a86f00193682dab7f9219c08204ab34693803edf9be7cef53b8cff67c3e7dd5426b3949d059395 +EBUILD pygments-2.15.1.ebuild 974 BLAKE2B 71398269554790960cdda4644aa289e699ed8de713b10ab1fe36a3256500a442c6de6b7543204f4dc47b81f5aa8a5aef8befb5ae44ba9fcb19dd3fe559f8cc45 SHA512 54cfa9f3a25d9fb70aea21d2719eac33c95bf0a19886d136a9a86f00193682dab7f9219c08204ab34693803edf9be7cef53b8cff67c3e7dd5426b3949d059395 MISC metadata.xml 618 BLAKE2B fbe7a30ff157e4e13592f96ef8a8b9be60ef2f8e72c08baa56dcca027dde82715b78b3b670ef29190d88dbb582f5cc5fdf9aa2547db5d714c666c28020b54def SHA512 860f398e047e516a8ea4d7fd4e900f1c8efed92422c304e305dc16df9e536ce7be7e06407f93caca0d47f6f929eaa66b2e56acd25105d4f232b841eaca381eb6 diff --git a/dev-python/pygments/pygments-2.15.1.ebuild b/dev-python/pygments/pygments-2.15.1.ebuild new file mode 100644 index 000000000000..18d730b2435f --- /dev/null +++ b/dev-python/pygments/pygments-2.15.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{9..11} 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" + +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 +) + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + newbashcomp external/pygments.bashcomp pygmentize +} |