1 |
commit: d3d7c9f8df4be82a45d6f93acccd96f6f044a9b7 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 23 09:09:53 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 23 09:09:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d7c9f8 |
7 |
|
8 |
app-text/txt2tags: enable py3.10, enable tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/814437 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
app-text/txt2tags/txt2tags-3.7.ebuild | 9 ++++++--- |
14 |
1 file changed, 6 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/app-text/txt2tags/txt2tags-3.7.ebuild b/app-text/txt2tags/txt2tags-3.7.ebuild |
17 |
index 8a244a869e9..2e0a3ab3466 100644 |
18 |
--- a/app-text/txt2tags/txt2tags-3.7.ebuild |
19 |
+++ b/app-text/txt2tags/txt2tags-3.7.ebuild |
20 |
@@ -3,9 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{7..9} ) |
25 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
26 |
- |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
inherit distutils-r1 |
29 |
|
30 |
DESCRIPTION="Generate marked up documents (HTML, etc.)from a plain text file with markup" |
31 |
@@ -15,3 +13,8 @@ SRC_URI="https://codeload.github.com/txt2tags/txt2tags/tar.gz/${PV} -> ${P}.tar. |
32 |
LICENSE="GPL-2" |
33 |
SLOT="0" |
34 |
KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" |
35 |
+ |
36 |
+python_test() { |
37 |
+ cd test || die |
38 |
+ "${EPYTHON}" run.py || die "Tests failed with ${EPYTHON}" |
39 |
+} |