summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-04-23 21:43:36 +0200
committerDavid Seifert <soap@gentoo.org>2017-04-23 22:58:10 +0200
commitf400cb42867f777c7a219f2dacfc47bad918da43 (patch)
tree10066b710f08a90ef73b3965e302ebcad632257b /net-dns/rbldnsd
parentnet-dns/bind: [QA] Add missing python metadata variables (diff)
downloadgentoo-f400cb42867f777c7a219f2dacfc47bad918da43.tar.gz
gentoo-f400cb42867f777c7a219f2dacfc47bad918da43.tar.bz2
gentoo-f400cb42867f777c7a219f2dacfc47bad918da43.zip
net-dns/rbldnsd: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-dns/rbldnsd')
-rw-r--r--net-dns/rbldnsd/rbldnsd-0.998-r2.ebuild10
-rw-r--r--net-dns/rbldnsd/rbldnsd-0.998.ebuild12
2 files changed, 11 insertions, 11 deletions
diff --git a/net-dns/rbldnsd/rbldnsd-0.998-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998-r2.ebuild
index d84c64c3a959..04537f305756 100644
--- a/net-dns/rbldnsd/rbldnsd-0.998-r2.ebuild
+++ b/net-dns/rbldnsd/rbldnsd-0.998-r2.ebuild
@@ -4,7 +4,7 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit toolchain-funcs user python-single-r1
+inherit toolchain-funcs user python-any-r1
DESCRIPTION="DNS server designed to serve blacklist zones"
HOMEPAGE="https://rbldnsd.io/"
@@ -15,12 +15,12 @@ SLOT="0"
KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~x86-fbsd"
IUSE="ipv6 test zlib"
-REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
-
RDEPEND="zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
- test? ( ${PYTHON_DEPS}
- dev-python/pydns:2[${PYTHON_USEDEP}] )"
+ test? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]')
+ )"
PATCHES=(
"${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.patch"
diff --git a/net-dns/rbldnsd/rbldnsd-0.998.ebuild b/net-dns/rbldnsd/rbldnsd-0.998.ebuild
index 536c8b74e494..8c559177fb0e 100644
--- a/net-dns/rbldnsd/rbldnsd-0.998.ebuild
+++ b/net-dns/rbldnsd/rbldnsd-0.998.ebuild
@@ -1,10 +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 eutils toolchain-funcs user python-single-r1
+inherit eutils toolchain-funcs user python-any-r1
DESCRIPTION="DNS server designed to serve blacklist zones"
HOMEPAGE="http://www.corpit.ru/mjt/rbldnsd.html"
@@ -15,12 +15,12 @@ SLOT="0"
KEYWORDS="amd64 hppa ~sparc x86 ~x86-fbsd"
IUSE="ipv6 test zlib"
-REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
-
RDEPEND="zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
- test? ( ${PYTHON_DEPS}
- dev-python/pydns:2[${PYTHON_USEDEP}] )"
+ test? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]')
+ )"
src_prepare() {
epatch "${FILESDIR}/rbldnsd-0.997a-robust-ipv6-test-support.patch"