1 |
commit: b0b3c2287071f4fdcf8b0a1a48dbdfaa177c980e |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 15 18:42:54 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 15 19:05:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b3c228 |
7 |
|
8 |
dev-python/pygments: add 2.13.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pygments/Manifest | 1 + |
13 |
dev-python/pygments/pygments-2.13.0.ebuild | 39 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest |
17 |
index bd98adf953a0..96b4dbc5a122 100644 |
18 |
--- a/dev-python/pygments/Manifest |
19 |
+++ b/dev-python/pygments/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Pygments-2.12.0.tar.gz 4282017 BLAKE2B 9ad241d5bcafe59057e9495edb75468e6fa74d150f2d3266590a5a567a7df8ce2ef4ea18f90a8ab83e2fb84993fcf00dec12b04dd968f4c516b8339c49aecc08 SHA512 70bbfaefeb34f9afb5d74aa924ac3da4a913d1c7f607c0b3f80b6cd25c88a8996e516a689062bf2009c472b29999e309eb044f0f427fa1ea8479bf921b51c524 |
22 |
+DIST Pygments-2.13.0.tar.gz 4324285 BLAKE2B 6edbce4827684baf61c571fe4d900fd8d1850c49ed9a2ec4bf674757b17efc3d933145f0ccb743d5f713887dff95abce58d38ceafb4d5b033d46afbf5645c6fe SHA512 d492acf112423fa997f35d6d3cae18b89bf11619c696879c6df49697dca933b6d54d7cb22907e06812e0a562f03e8ed5ccefde5247bc1c51cf2d3d69e7d65422 |
23 |
|
24 |
diff --git a/dev-python/pygments/pygments-2.13.0.ebuild b/dev-python/pygments/pygments-2.13.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c5c990add1f6 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pygments/pygments-2.13.0.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 bash-completion-r1 |
39 |
+ |
40 |
+MY_P=${P^} |
41 |
+DESCRIPTION="Pygments is a syntax highlighting package written in Python" |
42 |
+HOMEPAGE=" |
43 |
+ https://pygments.org/ |
44 |
+ https://github.com/pygments/pygments/ |
45 |
+ https://pypi.org/project/Pygments/ |
46 |
+" |
47 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" |
48 |
+S=${WORKDIR}/${MY_P} |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
57 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
58 |
+ dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] |
59 |
+ virtual/ttf-fonts |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+src_install() { |
66 |
+ distutils-r1_src_install |
67 |
+ newbashcomp external/pygments.bashcomp pygmentize |
68 |
+} |