1 |
commit: 77207d3d80b075208e9dd6b001d63d39a4ede9db |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 11 23:40:00 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 16 22:31:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77207d3d |
7 |
|
8 |
dev-python/ansi2html: add Python 3.9 support, misc. fixes |
9 |
|
10 |
* Remove redundant src_compile. |
11 |
* Rely on distutils_enable_tests (chmod -x and setup.py check are not |
12 |
necessary). |
13 |
* Don't include manpage in DOCS. |
14 |
* Move test dependencies to BDEPEND. |
15 |
|
16 |
Package-Manager: Portage-3.0.6, Repoman-3.0.1 |
17 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
18 |
|
19 |
dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild | 32 ++++++++++++++++++++++++++ |
20 |
1 file changed, 32 insertions(+) |
21 |
|
22 |
diff --git a/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild b/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..6bcbcf7230e |
25 |
--- /dev/null |
26 |
+++ b/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild |
27 |
@@ -0,0 +1,32 @@ |
28 |
+# Copyright 1999-2020 Gentoo Authors |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=7 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
34 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Convert text with ANSI color codes to HTML" |
39 |
+HOMEPAGE="https://pypi.org/project/ansi2html/ https://github.com/ralphbean/ansi2html" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-3+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~x86" |
45 |
+ |
46 |
+RDEPEND=">=dev-python/six-1.7.3[${PYTHON_USEDEP}]" |
47 |
+BDEPEND=" |
48 |
+ test? ( |
49 |
+ dev-python/mock[${PYTHON_USEDEP}] |
50 |
+ dev-python/nose[${PYTHON_USEDEP}] |
51 |
+ ) |
52 |
+" |
53 |
+ |
54 |
+distutils_enable_tests setup.py |
55 |
+ |
56 |
+python_install_all() { |
57 |
+ doman man/${PN}.1 |
58 |
+ distutils-r1_python_install_all |
59 |
+} |