sys-process/audit: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Fri, 26 May 2017 22:48:22 +0000 (00:48 +0200)
committerDavid Seifert <soap@gentoo.org>
Fri, 26 May 2017 22:54:00 +0000 (00:54 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

sys-process/audit/audit-2.6.4.ebuild
sys-process/audit/audit-2.7.1.ebuild

index b19cfd0a017f9b28293940c248d71991871a77cc..e83cf86b2dd19b3e78d93c5406668c968cfb0adb 100644 (file)
@@ -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() {
index 04b917cb1c741fd88b10a677586b9e4c4debc527..85a1f9a420fbd67b4675e596e53bab23ffe9fd5d 100644 (file)
@@ -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() {