diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-06-15 15:46:00 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-06-15 15:46:00 -0400 |
commit | b82cd1a14182e51649406a9c9d96e3eedd6423af (patch) | |
tree | 6334db1dbbe4a5930da1ba181738083256b99af8 /dev-util/umockdev | |
parent | www-plugins/chrome-binary-plugins: automated update (83.0.4103.106) (diff) | |
download | gentoo-b82cd1a14182e51649406a9c9d96e3eedd6423af.tar.gz gentoo-b82cd1a14182e51649406a9c9d96e3eedd6423af.tar.bz2 gentoo-b82cd1a14182e51649406a9c9d96e3eedd6423af.zip |
dev-util/umockdev: only call python_setup when USE=test
Closes: https://bugs.gentoo.org/723174
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-util/umockdev')
-rw-r--r-- | dev-util/umockdev/umockdev-0.12.1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/umockdev/umockdev-0.12.1.ebuild b/dev-util/umockdev/umockdev-0.12.1.ebuild index 489c41974703..74df08aae95a 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 \ |