idella4     14/03/21 04:28:39

  Modified:             ChangeLog
  Added:                pyspf-2.0.8-r1.ebuild
  Log:
  revbump; Add py3 support, update deps & new PYTHON_REQ_USE setting for tests, 
thx to mjo for extensive testing, fixes Bugs #503266 #503264 by mjo
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.24                 dev-python/pyspf/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/ChangeLog?rev=1.24&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/ChangeLog?rev=1.24&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/ChangeLog?r1=1.23&r2=1.24

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyspf/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog   24 Feb 2014 06:05:44 -0000      1.23
+++ ChangeLog   21 Mar 2014 04:28:39 -0000      1.24
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/pyspf
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/ChangeLog,v 1.23 
2014/02/24 06:05:44 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/ChangeLog,v 1.24 
2014/03/21 04:28:39 idella4 Exp $
+
+*pyspf-2.0.8-r1 (21 Mar 2014)
+
+  21 Mar 2014; Ian Delaney <idel...@gentoo.org> +pyspf-2.0.8-r1.ebuild:
+  revbump; Add py3 support, update deps & new PYTHON_REQ_USE setting for tests,
+  thx to mjo for extensive testing, fixes Bugs #503266 #503264 by mjo
 
 *pyspf-2.0.8 (24 Feb 2014)
 



1.1                  dev-python/pyspf/pyspf-2.0.8-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/pyspf-2.0.8-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/pyspf-2.0.8-r1.ebuild?rev=1.1&content-type=text/plain

Index: pyspf-2.0.8-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/pyspf-2.0.8-r1.ebuild,v 1.1 
2014/03/21 04:28:39 idella4 Exp $

EAPI="5"

PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
PYTHON_REQ_USE="ipv6"           # Required for tests
inherit distutils-r1

DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) 
protocol"
HOMEPAGE="http://pypi.python.org/pypi/pyspf";
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

# >=python-3.3 comes with the built-in ipaddress module
PY23_USEDEP=$(python_gen_usedep 'python2*' python3_2)
PY2_USEDEP=$(python_gen_usedep 'python2*')
PY3_USEDEP=$(python_gen_usedep 'python3*')
RDEPEND="dev-python/authres[${PYTHON_USEDEP}]
        $(python_gen_cond_dep "dev-python/ipaddr[${PY23_USEDEP}]" 'python2*' 
python3_2)
        $(python_gen_cond_dep "dev-python/pydns:2[${PY2_USEDEP}]" 'python2*')
        $(python_gen_cond_dep "dev-python/pydns:3[${PY3_USEDEP=}]" python3*)"

DEPEND="test? ( ${RDEPEND}
        dev-python/pyyaml[${PYTHON_USEDEP}] )"

python_test() {
        # if a 'run' makes it to the end and there are test failures, this will 
always return 0.
        # A patch is planned for submitting upstream.  This state won't occur 
in most cases.
        pushd test &> /dev/null
        "${PYTHON}" testspf.py || die
        popd &> /dev/null
}




Reply via email to