commit: b82cd1a14182e51649406a9c9d96e3eedd6423af Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Mon Jun 15 19:46:00 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Mon Jun 15 19:46:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82cd1a1
dev-util/umockdev: only call python_setup when USE=test Closes: https://bugs.gentoo.org/723174 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> dev-util/umockdev/umockdev-0.12.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-util/umockdev/umockdev-0.12.1.ebuild b/dev-util/umockdev/umockdev-0.12.1.ebuild index 489c4197470..74df08aae95 100644 --- a/dev-util/umockdev/umockdev-0.12.1.ebuild +++ b/dev-util/umockdev/umockdev-0.12.1.ebuild @@ -33,6 +33,10 @@ DEPEND="${RDEPEND} # Tests seem to hang forever # RESTRICT="test" +pkg_setup() { + use test && python-any-r1_pkg_setup +} + multilib_src_configure() { local ECONF_SOURCE="${S}" econf \