Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygments/
Date: Thu, 30 Dec 2021 21:56:10
Message-Id: 1640901340.27702248955f48d3c6cb6a4cd438cd4c6626a79d.mgorny@gentoo
1 commit: 27702248955f48d3c6cb6a4cd438cd4c6626a79d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 30 21:34:31 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 30 21:55:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27702248
7
8 dev-python/pygments: Bump to 2.11.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pygments/Manifest | 1 +
13 dev-python/pygments/pygments-2.11.0.ebuild | 34 ++++++++++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest
17 index 7dc75c3a306e..1a193655cf06 100644
18 --- a/dev-python/pygments/Manifest
19 +++ b/dev-python/pygments/Manifest
20 @@ -1 +1,2 @@
21 DIST Pygments-2.10.0.tar.gz 4052321 BLAKE2B 003d13344a2c5fe448a23d7bb45a401dc839cac10be262f5831c9547444d395811c92b74d1b18663a11a2e6cedf29b5a74cbd75267157429d61375bd9df6eb49 SHA512 28fdf35e333717795f199e0ef936d6df16ac0752324839ac36cabd2f9f6759a57663527d37f1c2f470258d63c3cf190f6dd4b631b21c849fc76575036fbdae12
22 +DIST Pygments-2.11.0.tar.gz 4157814 BLAKE2B de70a1de48083a9a0f281e4eb7f164cb551bd2fa2e7682c26c4513e1ebadf9da4ba6b2ccb50cc16955df484d313dff2b0431d6de2f5590c59c775f9ebd3884db SHA512 761b722cdcbc41bc730843e8120ae3c0d634db9918c1c1870d89b79002b55f245c896ed9301c44b665e573a8584d5f8504623fe9d4c63820b57a2cfcae576b33
23
24 diff --git a/dev-python/pygments/pygments-2.11.0.ebuild b/dev-python/pygments/pygments-2.11.0.ebuild
25 new file mode 100644
26 index 000000000000..0beaa1b09225
27 --- /dev/null
28 +++ b/dev-python/pygments/pygments-2.11.0.ebuild
29 @@ -0,0 +1,34 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
36 +inherit distutils-r1 bash-completion-r1
37 +
38 +MY_P=${P^}
39 +DESCRIPTION="Pygments is a syntax highlighting package written in Python"
40 +HOMEPAGE="
41 + https://pygments.org/
42 + https://github.com/pygments/pygments/
43 + https://pypi.org/project/Pygments/"
44 +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz"
45 +S=${WORKDIR}/${MY_P}
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64"
50 +
51 +BDEPEND="
52 + test? (
53 + dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}]
54 + virtual/ttf-fonts
55 + )"
56 +
57 +distutils_enable_sphinx doc
58 +distutils_enable_tests pytest
59 +
60 +python_install_all() {
61 + distutils-r1_python_install_all
62 + newbashcomp external/pygments.bashcomp pygmentize
63 +}