1 |
commit: c8182378f242de09cc0accb87f0ef4e45e187630 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 07:26:01 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 07:26:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8182378 |
7 |
|
8 |
dev-python/pygments: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pygments/Manifest | 1 - |
13 |
.../files/pygments-2.11.2-fix-docs-relative.patch | 26 -------------- |
14 |
dev-python/pygments/pygments-2.11.2.ebuild | 41 ---------------------- |
15 |
dev-python/pygments/pygments-2.12.0.ebuild | 41 ---------------------- |
16 |
4 files changed, 109 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pygments/Manifest b/dev-python/pygments/Manifest |
19 |
index b096c4cec670..bd98adf953a0 100644 |
20 |
--- a/dev-python/pygments/Manifest |
21 |
+++ b/dev-python/pygments/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST Pygments-2.11.2.tar.gz 4206258 BLAKE2B d9b7ac03ab564051df8eebf390586387d824584f5485eb6af2048cec181412fe2812409251c9c042421125a2579d9ac6de4006c1c0de025ed7b010482482b9f9 SHA512 606ff0c35fa47882f4c5c3794827132e1ee6ccbb4895ae858f9c93ea0c92b73163c9f4d630b51a8bb782ba0b4944a66d1059ad5d017d3191a0a5b30c1e5b8f9f |
24 |
DIST Pygments-2.12.0.tar.gz 4282017 BLAKE2B 9ad241d5bcafe59057e9495edb75468e6fa74d150f2d3266590a5a567a7df8ce2ef4ea18f90a8ab83e2fb84993fcf00dec12b04dd968f4c516b8339c49aecc08 SHA512 70bbfaefeb34f9afb5d74aa924ac3da4a913d1c7f607c0b3f80b6cd25c88a8996e516a689062bf2009c472b29999e309eb044f0f427fa1ea8479bf921b51c524 |
25 |
|
26 |
diff --git a/dev-python/pygments/files/pygments-2.11.2-fix-docs-relative.patch b/dev-python/pygments/files/pygments-2.11.2-fix-docs-relative.patch |
27 |
deleted file mode 100644 |
28 |
index 199a88d28dbb..000000000000 |
29 |
--- a/dev-python/pygments/files/pygments-2.11.2-fix-docs-relative.patch |
30 |
+++ /dev/null |
31 |
@@ -1,26 +0,0 @@ |
32 |
-Subject: Fix relative path for doc generation |
33 |
- |
34 |
-Signed-off-by: Arthur Zamarin <arthurzam@g.o> |
35 |
- |
36 |
---- a/doc/conf.py |
37 |
-+++ b/doc/conf.py |
38 |
-@@ -244,7 +244,7 @@ def pg_context(app, pagename, templatename, ctx, event_arg): |
39 |
- ctx['languages'] = lexer_name_url |
40 |
- |
41 |
- if pagename in ('styles', 'demo'): |
42 |
-- with open('examples/example.py') as f: |
43 |
-+ with open('doc/examples/example.py') as f: |
44 |
- html = f.read() |
45 |
- lexer = pygments.lexers.get_lexer_for_filename('example.py') |
46 |
- min_contrasts = test_contrasts.min_contrasts() |
47 |
-@@ -280,7 +280,7 @@ def pg_context(app, pagename, templatename, ctx, event_arg): |
48 |
- def source_read(app, docname, source): |
49 |
- # linkify issue / PR numbers in changelog |
50 |
- if docname == 'docs/changelog': |
51 |
-- with open('../CHANGES') as f: |
52 |
-+ with open('CHANGES') as f: |
53 |
- changelog = f.read() |
54 |
- |
55 |
- idx = changelog.find('\nVersion 2.4.2\n') |
56 |
--- |
57 |
-2.35.1 |
58 |
|
59 |
diff --git a/dev-python/pygments/pygments-2.11.2.ebuild b/dev-python/pygments/pygments-2.11.2.ebuild |
60 |
deleted file mode 100644 |
61 |
index 4df58e44053c..000000000000 |
62 |
--- a/dev-python/pygments/pygments-2.11.2.ebuild |
63 |
+++ /dev/null |
64 |
@@ -1,41 +0,0 @@ |
65 |
-# Copyright 1999-2022 Gentoo Authors |
66 |
-# Distributed under the terms of the GNU General Public License v2 |
67 |
- |
68 |
-EAPI=8 |
69 |
- |
70 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
71 |
-inherit distutils-r1 bash-completion-r1 |
72 |
- |
73 |
-MY_P=${P^} |
74 |
-DESCRIPTION="Pygments is a syntax highlighting package written in Python" |
75 |
-HOMEPAGE=" |
76 |
- https://pygments.org/ |
77 |
- https://github.com/pygments/pygments/ |
78 |
- https://pypi.org/project/Pygments/" |
79 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" |
80 |
-S=${WORKDIR}/${MY_P} |
81 |
- |
82 |
-LICENSE="BSD" |
83 |
-SLOT="0" |
84 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
85 |
- |
86 |
-BDEPEND=" |
87 |
- test? ( |
88 |
- dev-python/lxml[${PYTHON_USEDEP}] |
89 |
- dev-python/pillow[${PYTHON_USEDEP}] |
90 |
- dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] |
91 |
- virtual/ttf-fonts |
92 |
- )" |
93 |
- |
94 |
-PATCHES=( |
95 |
- "${FILESDIR}/${PN}-2.11.2-fix-docs-relative.patch" |
96 |
-) |
97 |
- |
98 |
-distutils_enable_sphinx doc \ |
99 |
- dev-python/wcag-contrast-ratio |
100 |
-distutils_enable_tests pytest |
101 |
- |
102 |
-python_install_all() { |
103 |
- distutils-r1_python_install_all |
104 |
- newbashcomp external/pygments.bashcomp pygmentize |
105 |
-} |
106 |
|
107 |
diff --git a/dev-python/pygments/pygments-2.12.0.ebuild b/dev-python/pygments/pygments-2.12.0.ebuild |
108 |
deleted file mode 100644 |
109 |
index 0054a81979e4..000000000000 |
110 |
--- a/dev-python/pygments/pygments-2.12.0.ebuild |
111 |
+++ /dev/null |
112 |
@@ -1,41 +0,0 @@ |
113 |
-# Copyright 1999-2022 Gentoo Authors |
114 |
-# Distributed under the terms of the GNU General Public License v2 |
115 |
- |
116 |
-EAPI=8 |
117 |
- |
118 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
119 |
-inherit distutils-r1 bash-completion-r1 |
120 |
- |
121 |
-MY_P=${P^} |
122 |
-DESCRIPTION="Pygments is a syntax highlighting package written in Python" |
123 |
-HOMEPAGE=" |
124 |
- https://pygments.org/ |
125 |
- https://github.com/pygments/pygments/ |
126 |
- https://pypi.org/project/Pygments/" |
127 |
-SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" |
128 |
-S=${WORKDIR}/${MY_P} |
129 |
- |
130 |
-LICENSE="BSD" |
131 |
-SLOT="0" |
132 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
133 |
- |
134 |
-BDEPEND=" |
135 |
- test? ( |
136 |
- dev-python/lxml[${PYTHON_USEDEP}] |
137 |
- dev-python/pillow[${PYTHON_USEDEP}] |
138 |
- dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] |
139 |
- virtual/ttf-fonts |
140 |
- )" |
141 |
- |
142 |
-PATCHES=( |
143 |
- "${FILESDIR}/${PN}-2.11.2-fix-docs-relative.patch" |
144 |
-) |
145 |
- |
146 |
-distutils_enable_sphinx doc \ |
147 |
- dev-python/wcag-contrast-ratio |
148 |
-distutils_enable_tests pytest |
149 |
- |
150 |
-python_install_all() { |
151 |
- distutils-r1_python_install_all |
152 |
- newbashcomp external/pygments.bashcomp pygmentize |
153 |
-} |