commit: ef50a8b9159484de6941c0af921734c4a42e519d
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 20:09:39 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 20:59:07 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef50a8b9
net-libs/nfqueue-bindings: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild | 12 ++++++++----
net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild | 12 ++++++++----
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild
b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild
index ee81ba0f637..9b53a58b9d8 100644
--- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild
+++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild
@@ -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"
diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild
b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild
index 0d4a5800b41..2282bae8496 100644
--- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild
+++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild
@@ -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"