commit:     392aafd2579f60bb2c5c64bc8dbd2958bfe3ea23
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 22:48:22 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 26 22:54:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392aafd2

sys-process/audit: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-process/audit/audit-2.6.4.ebuild | 11 ++++-------
 sys-process/audit/audit-2.7.1.ebuild | 11 ++++-------
 2 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/sys-process/audit/audit-2.6.4.ebuild 
b/sys-process/audit/audit-2.6.4.ebuild
index b19cfd0a017..e83cf86b2dd 100644
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -15,22 +15,19 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
 IUSE="gssapi ldap python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
 RESTRICT="test"
 
 RDEPEND="gssapi? ( virtual/krb5 )
        ldap? ( net-nds/openldap )
-       sys-libs/libcap-ng"
+       sys-libs/libcap-ng
+       python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
        >=sys-kernel/linux-headers-2.6.34
-       python? (
-               ${PYTHON_DEPS}
-               dev-lang/swig:0
-       )"
+       python? ( dev-lang/swig:0 )"
 # Do not use os-headers as this is linux specific
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
 CONFIG_CHECK="~AUDIT"
 
 pkg_setup() {

diff --git a/sys-process/audit/audit-2.7.1.ebuild 
b/sys-process/audit/audit-2.7.1.ebuild
index 04b917cb1c7..85a1f9a420f 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -15,22 +15,19 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86"
 IUSE="gssapi ldap python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # Testcases are pretty useless as they are built for RedHat users/groups and 
kernels.
 RESTRICT="test"
 
 RDEPEND="gssapi? ( virtual/krb5 )
        ldap? ( net-nds/openldap )
-       sys-libs/libcap-ng"
+       sys-libs/libcap-ng
+       python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
        >=sys-kernel/linux-headers-2.6.34
-       python? (
-               ${PYTHON_DEPS}
-               dev-lang/swig:0
-       )"
+       python? ( dev-lang/swig:0 )"
 # Do not use os-headers as this is linux specific
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
 CONFIG_CHECK="~AUDIT"
 
 pkg_setup() {

Reply via email to