summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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() {