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/twisted-core: twisted-core-14.0.0.ebuild ChangeLog
Date: Tue, 27 May 2014 13:52:48
Message-Id: 20140527135244.BFF962004E@flycatcher.gentoo.org
1 idella4 14/05/27 13:52:44
2
3 Modified: twisted-core-14.0.0.ebuild ChangeLog
4 Log:
5 Correct USE test set in RDEPEND, minor tidy, update test phase, ticket filed upstream for multi test failures, holding back on py3 support
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.5 dev-python/twisted-core/twisted-core-14.0.0.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild?r1=1.4&r2=1.5
15
16 Index: twisted-core-14.0.0.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- twisted-core-14.0.0.ebuild 20 May 2014 08:51:01 -0000 1.4
23 +++ twisted-core-14.0.0.ebuild 27 May 2014 13:52:44 -0000 1.5
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2014 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild,v 1.4 2014/05/20 08:51:01 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild,v 1.5 2014/05/27 13:52:44 idella4 Exp $
29
30 EAPI=5
31 PYTHON_COMPAT=( python{2_6,2_7} )
32 @@ -12,12 +12,11 @@
33 KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
34 IUSE="crypt gtk serial test"
35
36 -DEPEND=">=net-zope/zope-interface-3.6.0[${PYTHON_USEDEP}]
37 +RDEPEND=">=net-zope/zope-interface-3.6.0[${PYTHON_USEDEP}]
38 crypt? ( >=dev-python/pyopenssl-0.10[${PYTHON_USEDEP}] )
39 gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] )
40 - serial? ( dev-python/pyserial[${PYTHON_USEDEP}] )
41 - test? ( dev-python/twisted-lore[${PYTHON_USEDEP}] )"
42 -RDEPEND="${DEPEND}"
43 + serial? ( dev-python/pyserial[${PYTHON_USEDEP}] )"
44 +DEPEND="test? ( ${RDEPEND} )"
45
46 PATCHES=(
47 # Give a load-sensitive test a better chance of succeeding.
48 @@ -46,10 +45,9 @@
49 python_compile() {
50 local CFLAGS CXXFLAGS
51
52 - if [[ ${EPYTHON} != python3* ]]; then
53 + if ! python_is_python3; then
54 # Needed to make the sendmsg extension work
55 # (see http://twistedmatrix.com/trac/ticket/5701 )
56 -
57 append-flags -fno-strict-aliasing
58 fi
59
60 @@ -57,8 +55,7 @@
61 }
62
63 python_test() {
64 - # NOTE: on pypy a couple of failures (refcounting, version-checking) is
65 - # expected
66 + # NOTE: on pypy a couple of failures (refcounting, version-checking) is expected
67
68 distutils_install_for_testing
69
70 @@ -70,10 +67,6 @@
71 sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py \
72 || die "sed failed"
73
74 - # tap2rpm is already skipped if rpm is not installed, but fails for me on a Gentoo box with it present.
75 - # I currently lack the cycles to track this failure down.
76 - rm twisted/scripts/test/test_tap2rpm.py
77 -
78 # Prevent it from pulling in plugins from already installed twisted packages.
79 rm -f twisted/plugins/__init__.py
80
81 @@ -84,12 +77,24 @@
82 sed -e 's:test_basicOperation:_&:' -i twisted/scripts/test/test_tap2deb.py || die
83 sed -e 's:test_inspectCertificate:_&:' -i twisted/test/test_sslverify.py || die
84
85 - # Requires twisted-web creating a cric. dep
86 + # Requires twisted-web, twisted-lore and twisted-names, creating a circ. dep and fail even if installed.
87 + # test_loreDeprecation and test_exist failures appeared in version 14.0.0.
88 rm -f twisted/python/test/test_release.py || die
89 + sed -e 's:test_loreDeprecation:_&:' -i twisted/test/test_twisted.py || die
90 + sed -e 's:test_exist:_&:' -i twisted/python/test/test_dist3.py || die
91
92 # Requires connection to the network
93 sed -e 's:test_multiListen:_&:' -i twisted/test/test_udp.py || die
94
95 + # Appeared in version 14.0.0; https://twistedmatrix.com/trac/ticket/7422
96 + sed -e 's:test_dataReceivedThrows:_&:' \
97 + -e 's:test_resumeProducingThrows:_&:' \
98 + -e 's:test_resumeProducingAbortLater:_&:' \
99 + -e 's:test_resumeProducingAbort:_&:' \
100 + -e 's:test_fullWriteBufferAfterByteExchange:_&:' \
101 + -i twisted/internet/test/test_tcp.py || die
102 + sed -e 's:test_logPrefix:_&:' -i twisted/internet/test/connectionmixins.py || die
103 +
104 if ! "${TEST_DIR}"/scripts/trial twisted; then
105 die "Tests failed with ${EPYTHON}"
106 fi
107
108
109
110 1.24 dev-python/twisted-core/ChangeLog
111
112 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/ChangeLog?rev=1.24&view=markup
113 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/ChangeLog?rev=1.24&content-type=text/plain
114 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twisted-core/ChangeLog?r1=1.23&r2=1.24
115
116 Index: ChangeLog
117 ===================================================================
118 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v
119 retrieving revision 1.23
120 retrieving revision 1.24
121 diff -u -r1.23 -r1.24
122 --- ChangeLog 20 May 2014 08:51:01 -0000 1.23
123 +++ ChangeLog 27 May 2014 13:52:44 -0000 1.24
124 @@ -1,6 +1,10 @@
125 # ChangeLog for dev-python/twisted-core
126 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
127 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.23 2014/05/20 08:51:01 jer Exp $
128 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.24 2014/05/27 13:52:44 idella4 Exp $
129 +
130 + 27 May 2014; Ian Delaney <idella4@g.o> twisted-core-14.0.0.ebuild:
131 + Correct USE test set in RDEPEND, minor tidy, update test phase, ticket filed
132 + upstream for multi test failures, holding back on py3 support
133
134 20 May 2014; Jeroen Roovers <jer@g.o> twisted-core-14.0.0.ebuild:
135 Add dep, drop keywords.