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
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')
-rw-r--r--dev-util/trace-cmd/trace-cmd-2.5.1.ebuild5
-rw-r--r--dev-util/trace-cmd/trace-cmd-2.6.ebuild5
2 files changed, 6 insertions, 4 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() {
diff --git a/dev-util/trace-cmd/trace-cmd-2.6.ebuild b/dev-util/trace-cmd/trace-cmd-2.6.ebuild
index a93b9ac2a09d..4187d0fdd2f3 100644
--- a/dev-util/trace-cmd/trace-cmd-2.6.ebuild
+++ b/dev-util/trace-cmd/trace-cmd-2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -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 )
@@ -41,7 +42,7 @@ PATCHES=(
pkg_setup() {
linux-info_pkg_setup
- python-single-r1_pkg_setup
+ use python && python-single-r1_pkg_setup
}
src_configure() {