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/simplejson: simplejson-2.1.2.ebuild
Date: Fri, 31 Dec 2010 20:31:22
Message-Id: 20101231203112.227FF20054@flycatcher.gentoo.org
1 arfrever 10/12/31 20:31:12
2
3 Modified: simplejson-2.1.2.ebuild
4 Log:
5 Improve support for Jython in src_test().
6
7 (Portage version: 2.2.0_alpha11_p1/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 dev-python/simplejson/simplejson-2.1.2.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simplejson/simplejson-2.1.2.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simplejson/simplejson-2.1.2.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/simplejson/simplejson-2.1.2.ebuild?r1=1.3&r2=1.4
15
16 Index: simplejson-2.1.2.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-2.1.2.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- simplejson-2.1.2.ebuild 13 Dec 2010 16:05:46 -0000 1.3
23 +++ simplejson-2.1.2.ebuild 31 Dec 2010 20:31:12 -0000 1.4
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-2.1.2.ebuild,v 1.3 2010/12/13 16:05:46 tomka Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simplejson/simplejson-2.1.2.ebuild,v 1.4 2010/12/31 20:31:12 arfrever Exp $
29
30 EAPI="3"
31 PYTHON_DEPEND="2"
32 @@ -25,7 +25,9 @@
33
34 src_test() {
35 testing() {
36 - ln -fs ../$(ls -d build-${PYTHON_ABI}/lib*)/simplejson/_speedups.so simplejson/_speedups.so
37 + if [[ "$(python_get_implementation)" != "Jython" ]]; then
38 + ln -fs ../$(ls -d build-${PYTHON_ABI}/lib*)/simplejson/_speedups.so simplejson/_speedups.so || return 1
39 + fi
40 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" simplejson/tests/__init__.py
41 }
42 python_execute_function testing