diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-03-16 12:55:43 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-03-16 12:55:43 +0100 |
commit | 104584c36ee07f2c9240485681fa147140822f99 (patch) | |
tree | 0bbc02c57f6621c6c6424a4db7a8f1bc026932a2 /app-text | |
parent | app-text/xml2rfc: stabilize 3.16.0 for amd64 (diff) | |
download | gentoo-104584c36ee07f2c9240485681fa147140822f99.tar.gz gentoo-104584c36ee07f2c9240485681fa147140822f99.tar.bz2 gentoo-104584c36ee07f2c9240485681fa147140822f99.zip |
app-text/xml2rfc: enable unittests
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xml2rfc/xml2rfc-3.17.0.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app-text/xml2rfc/xml2rfc-3.17.0.ebuild b/app-text/xml2rfc/xml2rfc-3.17.0.ebuild index ec6251e95adb..495e49666d19 100644 --- a/app-text/xml2rfc/xml2rfc-3.17.0.ebuild +++ b/app-text/xml2rfc/xml2rfc-3.17.0.ebuild @@ -42,9 +42,10 @@ RDEPEND=" dev-python/six[${PYTHON_USEDEP}] " -distutils_enable_tests setup.py +distutils_enable_tests unittest -#src_test() { - # https://github.com/ietf-tools/xml2rfc/issues/561 -# emake tests-no-network -#} +src_prepare() { + default + # Disable broken PdfWriterTests. + sed -i 's/ PdfWriterTests(unittest.TestCase):/ PdfWriterTests:/' test.py || die +} |