summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-04-20 22:26:53 +0200
committerDavid Seifert <soap@gentoo.org>2017-04-20 22:47:40 +0200
commitf2db4592e64138a0ae3a3bae6cf91e1c36e9b50c (patch)
treee15811f8c6df5f7487654ce69da56fc399fc82f5 /dev-util/trace-cmd/trace-cmd-2.5.1.ebuild
parentdev-util/rr: [QA] Add missing python metadata variables (diff)
downloadgentoo-f2db4592e64138a0ae3a3bae6cf91e1c36e9b50c.tar.gz
gentoo-f2db4592e64138a0ae3a3bae6cf91e1c36e9b50c.tar.bz2
gentoo-f2db4592e64138a0ae3a3bae6cf91e1c36e9b50c.zip
dev-util/trace-cmd: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/trace-cmd/trace-cmd-2.5.1.ebuild')
-rw-r--r--dev-util/trace-cmd/trace-cmd-2.5.1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild b/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild
index e7790e344abb..c6acbd767956 100644
--- a/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild
+++ b/dev-util/trace-cmd/trace-cmd-2.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,6 +14,7 @@ LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc gtk python udis86"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="python? ( ${PYTHON_DEPS} )
udis86? ( dev-libs/udis86 )
@@ -37,7 +38,7 @@ CONFIG_CHECK="
pkg_setup() {
linux-info_pkg_setup
- python-single-r1_pkg_setup
+ use python && python-single-r1_pkg_setup
}
src_prepare() {