Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyspf: pyspf-2.0.8-r1.ebuild ChangeLog
Date: Fri, 21 Mar 2014 04:28:46
Message-Id: 20140321042839.E365C2004E@flycatcher.gentoo.org
1 idella4 14/03/21 04:28:39
2
3 Modified: ChangeLog
4 Added: pyspf-2.0.8-r1.ebuild
5 Log:
6 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
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.24 dev-python/pyspf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyspf/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 24 Feb 2014 06:05:44 -0000 1.23
24 +++ ChangeLog 21 Mar 2014 04:28:39 -0000 1.24
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pyspf
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/ChangeLog,v 1.23 2014/02/24 06:05:44 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyspf/ChangeLog,v 1.24 2014/03/21 04:28:39 idella4 Exp $
30 +
31 +*pyspf-2.0.8-r1 (21 Mar 2014)
32 +
33 + 21 Mar 2014; Ian Delaney <idella4@g.o> +pyspf-2.0.8-r1.ebuild:
34 + revbump; Add py3 support, update deps & new PYTHON_REQ_USE setting for tests,
35 + thx to mjo for extensive testing, fixes Bugs #503266 #503264 by mjo
36
37 *pyspf-2.0.8 (24 Feb 2014)
38
39
40
41
42 1.1 dev-python/pyspf/pyspf-2.0.8-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyspf/pyspf-2.0.8-r1.ebuild?rev=1.1&view=markup
45 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
46
47 Index: pyspf-2.0.8-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $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 $
52
53 EAPI="5"
54
55 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
56 PYTHON_REQ_USE="ipv6" # Required for tests
57 inherit distutils-r1
58
59 DESCRIPTION="Python implementation of the Sender Policy Framework (SPF) protocol"
60 HOMEPAGE="http://pypi.python.org/pypi/pyspf"
61 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62
63 LICENSE="PSF-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="test"
67
68 # >=python-3.3 comes with the built-in ipaddress module
69 PY23_USEDEP=$(python_gen_usedep 'python2*' python3_2)
70 PY2_USEDEP=$(python_gen_usedep 'python2*')
71 PY3_USEDEP=$(python_gen_usedep 'python3*')
72 RDEPEND="dev-python/authres[${PYTHON_USEDEP}]
73 $(python_gen_cond_dep "dev-python/ipaddr[${PY23_USEDEP}]" 'python2*' python3_2)
74 $(python_gen_cond_dep "dev-python/pydns:2[${PY2_USEDEP}]" 'python2*')
75 $(python_gen_cond_dep "dev-python/pydns:3[${PY3_USEDEP=}]" python3*)"
76
77 DEPEND="test? ( ${RDEPEND}
78 dev-python/pyyaml[${PYTHON_USEDEP}] )"
79
80 python_test() {
81 # if a 'run' makes it to the end and there are test failures, this will always return 0.
82 # A patch is planned for submitting upstream. This state won't occur in most cases.
83 pushd test &> /dev/null
84 "${PYTHON}" testspf.py || die
85 popd &> /dev/null
86 }