1 |
commit: 104584c36ee07f2c9240485681fa147140822f99 |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 16 11:55:43 2023 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 11:55:43 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104584c3 |
7 |
|
8 |
app-text/xml2rfc: enable unittests |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
app-text/xml2rfc/xml2rfc-3.17.0.ebuild | 11 ++++++----- |
13 |
1 file changed, 6 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/app-text/xml2rfc/xml2rfc-3.17.0.ebuild b/app-text/xml2rfc/xml2rfc-3.17.0.ebuild |
16 |
index ec6251e95adb..495e49666d19 100644 |
17 |
--- a/app-text/xml2rfc/xml2rfc-3.17.0.ebuild |
18 |
+++ b/app-text/xml2rfc/xml2rfc-3.17.0.ebuild |
19 |
@@ -42,9 +42,10 @@ RDEPEND=" |
20 |
dev-python/six[${PYTHON_USEDEP}] |
21 |
" |
22 |
|
23 |
-distutils_enable_tests setup.py |
24 |
+distutils_enable_tests unittest |
25 |
|
26 |
-#src_test() { |
27 |
- # https://github.com/ietf-tools/xml2rfc/issues/561 |
28 |
-# emake tests-no-network |
29 |
-#} |
30 |
+src_prepare() { |
31 |
+ default |
32 |
+ # Disable broken PdfWriterTests. |
33 |
+ sed -i 's/ PdfWriterTests(unittest.TestCase):/ PdfWriterTests:/' test.py || die |
34 |
+} |