Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/twisted: twisted-10.0.0.ebuild ChangeLog
Date: Fri, 23 Apr 2010 08:48:48
Message-Id: 20100423084842.747B040014@corvid.gentoo.org
1 grobian 10/04/23 08:48:42
2
3 Modified: twisted-10.0.0.ebuild ChangeLog
4 Log:
5 Fix src_test for Prefix, thanks Dan Wallis in bug #316739
6 (Portage version: 2.2.00.15842-prefix/cvs/SunOS i386)
7
8 Revision Changes Path
9 1.2 dev-python/twisted/twisted-10.0.0.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-10.0.0.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-10.0.0.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-10.0.0.ebuild?r1=1.1&r2=1.2
14
15 Index: twisted-10.0.0.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.0.0.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- twisted-10.0.0.ebuild 17 Mar 2010 10:39:23 -0000 1.1
22 +++ twisted-10.0.0.ebuild 23 Apr 2010 08:48:42 -0000 1.2
23 @@ -1,8 +1,8 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.0.0.ebuild,v 1.1 2010/03/17 10:39:23 patrick Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.0.0.ebuild,v 1.2 2010/04/23 08:48:42 grobian Exp $
28
29 -EAPI="2"
30 +EAPI="3"
31 SUPPORT_PYTHON_ABIS="1"
32
33 inherit eutils distutils versionator
34 @@ -46,7 +46,7 @@
35 local return_status="0"
36 "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with Python ${PYTHON_ABI}"
37
38 - pushd "${T}/tests$(python_get_sitedir)" > /dev/null || die
39 + pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die
40
41 # Skip broken tests.
42 rm -f twisted/python/test/test_release.py
43 @@ -58,7 +58,7 @@
44 # docstrings in all packages
45 echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
46
47 - if ! PYTHONPATH="." "${T}/tests/usr/bin/trial" twisted; then
48 + if ! PYTHONPATH="." "${T}/tests${EPREFIX}/usr/bin/trial" twisted; then
49 if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
50 die "Tests failed with Python ${PYTHON_ABI}"
51 else
52 @@ -102,7 +102,7 @@
53
54 update_plugin_cache() {
55 # Update dropin.cache only when Twisted is still installed.
56 - if [[ -f "${ROOT%/}${EPREFIX}$(python_get_sitedir)/twisted/plugin.py" ]]; then
57 + if [[ -f "${EROOT%/}$(python_get_sitedir)/twisted/plugin.py" ]]; then
58 einfo "Regenerating plugin cache with Python ${PYTHON_ABI}"
59 # http://twistedmatrix.com/documents/current/core/howto/plugin.html
60 "$(PYTHON)" -c "from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))"
61
62
63
64 1.128 dev-python/twisted/ChangeLog
65
66 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.128&view=markup
67 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.128&content-type=text/plain
68 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/ChangeLog?r1=1.127&r2=1.128
69
70 Index: ChangeLog
71 ===================================================================
72 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v
73 retrieving revision 1.127
74 retrieving revision 1.128
75 diff -u -r1.127 -r1.128
76 --- ChangeLog 17 Mar 2010 10:39:23 -0000 1.127
77 +++ ChangeLog 23 Apr 2010 08:48:42 -0000 1.128
78 @@ -1,6 +1,9 @@
79 # ChangeLog for dev-python/twisted
80 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
81 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.127 2010/03/17 10:39:23 patrick Exp $
82 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.128 2010/04/23 08:48:42 grobian Exp $
83 +
84 + 23 Apr 2010; Fabian Groffen <grobian@g.o> twisted-10.0.0.ebuild:
85 + Fix src_test for Prefix, thanks Dan Wallis in bug #316739
86
87 *twisted-10.0.0 (17 Mar 2010)