net-dns/hash-slinger: Move to virtual/dnspython
authorJustin Lecher <jlec@gentoo.org>
Fri, 30 Oct 2015 10:51:12 +0000 (11:51 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 30 Oct 2015 12:03:49 +0000 (13:03 +0100)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
net-dns/hash-slinger/hash-slinger-2.6-r1.ebuild [moved from net-dns/hash-slinger/hash-slinger-2.6.ebuild with 90% similarity]
net-dns/hash-slinger/metadata.xml

similarity index 90%
rename from net-dns/hash-slinger/hash-slinger-2.6.ebuild
rename to net-dns/hash-slinger/hash-slinger-2.6-r1.ebuild
index e3045b354142a02ec78dd4a98513ccb98278ff0a..8fb61bfb181d02157037e81708781aa3d61aa473 100644 (file)
@@ -5,6 +5,7 @@
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
+
 inherit python-r1
 
 DESCRIPTION="Various tools to generate special DNS records like SSHFP, TLSA, OPENPGPKEY, IPSECKEY"
@@ -16,26 +17,26 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="ipsec +openpgp +ssh"
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 DEPEND=""
 RDEPEND="
        ${PYTHON_DEPS}
-       dev-python/dnspython[$PYTHON_USEDEP]
        dev-python/ipaddr[$PYTHON_USEDEP]
        dev-python/m2crypto[$PYTHON_USEDEP]
        net-dns/unbound[python,$PYTHON_USEDEP]
+       virtual/dnspython[$PYTHON_USEDEP]
        ipsec? ( net-misc/libreswan[dnssec] )
        openpgp? ( dev-python/python-gnupg[$PYTHON_USEDEP] )
        ssh? ( net-misc/openssh )
 "
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
 src_install() {
        local tools
        tools="tlsa"
-       use ssh         && tools+=" sshfp"
+       use ssh && tools+=" sshfp"
        use openpgp && tools+=" openpgpkey"
-       use ipsec       && tools+=" ipseckey"
+       use ipsec && tools+=" ipseckey"
        for tool in $tools ; do
                doman ${tool}.1
                python_foreach_impl python_doscript ${tool}
index 4b0698ebfd3684894b9a879bc5f814c3a308bdb8..064d3c9a70327a3d1cd0a8fb00835a7b9eb88f06 100644 (file)
@@ -6,8 +6,8 @@
                <name>Marc Schiffbauer</name>
        </maintainer>
        <use>
-               <flag name='ipsec'>Enable support for IPSECKEY records (ipseckey)</flag>
-               <flag name='openpgp'>Enable support for OPENPGPKEY records (openpgpkey)</flag>
-               <flag name='ssh'>Enable support for SSHFP records (sshfp)</flag>
+               <flag name="ipsec">Enable support for IPSECKEY records (ipseckey)</flag>
+               <flag name="openpgp">Enable support for OPENPGPKEY records (openpgpkey)</flag>
+               <flag name="ssh">Enable support for SSHFP records (sshfp)</flag>
        </use>
 </pkgmetadata>