net-libs/nfqueue-bindings: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 20:09:39 +0000 (22:09 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 20:59:07 +0000 (22:59 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild
net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild

index ee81ba0f637fbe78c05df20c71cd20e18730b79d..9b53a58b9d8d4c0e3aacb056961dcdf6504ab48f 100644 (file)
@@ -1,8 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
+
 PYTHON_COMPAT=( python2_7 )
+
 inherit cmake-utils perl-module linux-info python-single-r1
 
 DESCRIPTION="High-level language bindings for libnetfilter_queue"
@@ -13,12 +15,14 @@ KEYWORDS="~x86 ~amd64"
 SLOT="0"
 LICENSE="GPL-3"
 IUSE="perl python examples"
-REQUIRED_USE="|| ( perl python )"
+REQUIRED_USE="|| ( perl python ) python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="python? (
+RDEPEND="
+       python? (
                dev-python/dpkt[${PYTHON_USEDEP}]
                ${PYTHON_DEPS}
-       )
+       )"
+DEPEND="${RDEPEND}
        perl? ( dev-lang/perl )
        net-libs/libnetfilter_queue
        dev-lang/swig"
index 0d4a5800b415954cf7c0c8e2f3c50c1af907ee7c..2282bae8496234e8f48598198d73780174ff06f2 100644 (file)
@@ -1,8 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
+
 PYTHON_COMPAT=( python2_7 )
+
 inherit cmake-utils perl-module linux-info python-single-r1
 
 DESCRIPTION="High-level language bindings for libnetfilter_queue"
@@ -13,12 +15,14 @@ KEYWORDS="~x86 ~amd64"
 SLOT="0"
 LICENSE="GPL-3"
 IUSE="perl python examples"
-REQUIRED_USE="|| ( perl python )"
+REQUIRED_USE="|| ( perl python ) python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="python? (
+RDEPEND="
+       python? (
                dev-python/dpkt[${PYTHON_USEDEP}]
                ${PYTHON_DEPS}
-       )
+       )"
+DEPEND="${RDEPEND}
        perl? ( dev-lang/perl )
        net-libs/libnetfilter_queue
        dev-lang/swig"