diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-08-19 16:31:21 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-08-19 16:53:54 -0700 |
commit | e9ef239fbf4e16b0dc6871513578533e0e99739d (patch) | |
tree | 8032ea274b1e78a7beaab2cf6e40641f4b046789 /dev-libs/gobject-introspection | |
parent | sys-apps/debianutils: bump to v4.11.1 (diff) | |
download | gentoo-e9ef239fbf4e16b0dc6871513578533e0e99739d.tar.gz gentoo-e9ef239fbf4e16b0dc6871513578533e0e99739d.tar.bz2 gentoo-e9ef239fbf4e16b0dc6871513578533e0e99739d.zip |
dev-libs/gobject-introspection: Depend on mako and markdown for tests
test_docwriter.py looks to requires dev-python/mako, and via
giscanner/docwriter.py, dev-python/markdown. The test contains
@unittest.skipUnless(HAS_MAKO, "mako missing")
which skips the test if mako is not available, but it does not check
whether markdown is also available. In the case that mako is available
but markdown is not, the test will run and fail to import markdown.
These are common and small dependencies. Let's just require both of them
for tests.
Closes: https://bugs.gentoo.org/733668
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/gobject-introspection')
-rw-r--r-- | dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild index e46c93b2e1fc..ff498a735a4e 100644 --- a/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild +++ b/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild @@ -39,7 +39,13 @@ DEPEND="${RDEPEND} ) sys-devel/bison sys-devel/flex - test? ( x11-libs/cairo[glib] ) + test? ( + x11-libs/cairo[glib] + $(python_gen_cond_dep ' + dev-python/mako[${PYTHON_MULTI_USEDEP}] + dev-python/markdown[${PYTHON_MULTI_USEDEP}] + ') + ) " pkg_setup() { |