Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/sancho: ChangeLog sancho-2.4.ebuild
Date: Tue, 08 Sep 2009 03:42:52
Message-Id: E1MkrbV-00064y-OX@stork.gentoo.org
1 arfrever 09/09/08 03:42:49
2
3 Modified: ChangeLog
4 Added: sancho-2.4.ebuild
5 Log:
6 Version bump. Set SUPPORT_PYTHON_ABIS.
7 (Portage version: 14215-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.34 dev-python/sancho/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 22 Aug 2008 21:36:10 -0000 1.33
23 +++ ChangeLog 8 Sep 2009 03:42:49 -0000 1.34
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/sancho
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v 1.33 2008/08/22 21:36:10 aballier Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v 1.34 2009/09/08 03:42:49 arfrever Exp $
30 +
31 +*sancho-2.4 (08 Sep 2009)
32 +
33 + 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +sancho-2.4.ebuild:
35 + Version bump. Set SUPPORT_PYTHON_ABIS.
36
37 22 Aug 2008; Alexis Ballier <aballier@g.o> sancho-0.11-r1.ebuild:
38 keyword ~sparc-fbsd
39
40
41
42 1.1 dev-python/sancho/sancho-2.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/sancho-2.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/sancho-2.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sancho-2.4.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/sancho-2.4.ebuild,v 1.1 2009/09/08 03:42:49 arfrever Exp $
52
53 EAPI="2"
54
55 NEED_PYTHON="2.4"
56 SUPPORT_PYTHON_ABIS="1"
57
58 inherit distutils
59
60 MY_P=${P/s/S}
61 DESCRIPTION="Sancho is a unit testing framework"
62 HOMEPAGE="http://www.mems-exchange.org/software/sancho/"
63 SRC_URI="http://www.mems-exchange.org/software/files/${PN}/${MY_P}.tar.gz"
64
65 LICENSE="CNRI"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
68 IUSE=""
69
70 DEPEND=""
71 RDEPEND=""
72
73 S="${WORKDIR}/${MY_P}"
74
75 DOCS="CHANGES.txt"
76
77 src_test() {
78 cd test
79 testing() {
80 local test test_failure test_failure_count=0
81 for test in *.py; do
82 test_failure="0"
83 ebegin "Testing ${test}"
84 PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" "${test}" > "${test}.output"
85 grep -Eqv "^${test}: .*:$" "${test}.output" && test_failure="1"
86 eend "${test_failure}"
87 if [[ "${test_failure}" == "1" ]]; then
88 ((test_failure_count++))
89 eerror "Failure output for ${test}"
90 cat "${test}.output"
91 fi
92 done
93 if [[ "${test_failure_count}" -gt "0" ]]; then
94 die "${test_failure_count} tests failed with Python ${PYTHON_ABI}"
95 fi
96 }
97 python_execute_function testing
98 }