[dev-python/pyspf] in tree mow
This commit is contained in:
parent
8216e363b9
commit
6901d026b1
@ -1 +0,0 @@
|
||||
DIST pyspf-2.0.12t.tar.gz 67189 SHA256 8aa21ba0e3aff8a4e8ad8f586c500a5d1f9c4c902c3f11bcc107465857cd41a2 SHA512 1ad23b5dea4aa8edd03b3fd9fc675685bcb0e216474534563c55988df040abd4e2bbc8488bba80d26466877e8b2ec88cbadc2f67eb8c4bf6f26f975d8af81d8d WHIRLPOOL 9159c23a0f9b56e6069f4cf35cadd5af6ab017f8bee4e7d5f98bf94c2cd0a336660d95f35a81c769b19c96235500760e6a9bde504b3e5c9f1419a05d19913d3e
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
PYTHON_REQ_USE="ipv6?"
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) protocol"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pyspf"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}t.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ipv6 test"
|
||||
|
||||
# >=python-3.3 comes with the built-in ipaddress module
|
||||
RDEPEND="dev-python/authres[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/ipaddr-2.1.10[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep 'dev-python/pydns:2[${PYTHON_USEDEP}]' python2_7)
|
||||
$(python_gen_cond_dep 'dev-python/pydns:3[${PYTHON_USEDEP}]' 'python3*')"
|
||||
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}] )"
|
||||
|
||||
REQUIRED_USE="test? ( ipv6 )"
|
||||
|
||||
python_test() {
|
||||
pushd test &> /dev/null
|
||||
"${PYTHON}" testspf.py || die
|
||||
popd &> /dev/null
|
||||
}
|
Loading…
Reference in New Issue
Block a user