From: David Seifert Date: Sun, 23 Apr 2017 20:09:39 +0000 (+0200) Subject: net-libs/nfqueue-bindings: [QA] Add missing python metadata variables X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ef50a8b9159484de6941c0af921734c4a42e519d;p=gentoo.git net-libs/nfqueue-bindings: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild index ee81ba0f637f..9b53a58b9d8d 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 0d4a5800b415..2282bae84962 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"