Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygsl: ChangeLog pygsl-0.9.4.ebuild
Date: Wed, 30 Sep 2009 18:55:11
Message-Id: E1Mt4KS-0005Ue-SF@stork.gentoo.org
1 bicatali 09/09/30 18:55:08
2
3 Modified: ChangeLog pygsl-0.9.4.ebuild
4 Log:
5 Added a patch to compile with gsl >= 1.13, thanks Kacper Kowalik, closing bug #286605
6 (Portage version: 2.2_rc42/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.11 dev-python/pygsl/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/ChangeLog?rev=1.11&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/ChangeLog?rev=1.11&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/ChangeLog?r1=1.10&r2=1.11
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygsl/ChangeLog,v
18 retrieving revision 1.10
19 retrieving revision 1.11
20 diff -u -r1.10 -r1.11
21 --- ChangeLog 4 Sep 2009 20:20:56 -0000 1.10
22 +++ ChangeLog 30 Sep 2009 18:55:08 -0000 1.11
23 @@ -1,6 +1,11 @@
24 # ChangeLog for dev-python/pygsl
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygsl/ChangeLog,v 1.10 2009/09/04 20:20:56 patrick Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygsl/ChangeLog,v 1.11 2009/09/30 18:55:08 bicatali Exp $
28 +
29 + 30 Sep 2009; S├ębastien Fabbro <bicatali@g.o> pygsl-0.9.4.ebuild,
30 + +files/pygsl-0.9.4-obsolete-units.patch:
31 + Added a patch to compile with gsl >= 1.13, thanks Kacper Kowalik, closing
32 + bug #286605
33
34 04 Sep 2009; Patrick Lauer <patrick@g.o> -pygsl-0.9.3.ebuild:
35 Remove old
36
37
38
39 1.3 dev-python/pygsl/pygsl-0.9.4.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/pygsl-0.9.4.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/pygsl-0.9.4.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygsl/pygsl-0.9.4.ebuild?r1=1.2&r2=1.3
44
45 Index: pygsl-0.9.4.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygsl/pygsl-0.9.4.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- pygsl-0.9.4.ebuild 6 Apr 2009 14:39:59 -0000 1.2
52 +++ pygsl-0.9.4.ebuild 30 Sep 2009 18:55:08 -0000 1.3
53 @@ -1,7 +1,8 @@
54 # Copyright 1999-2009 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygsl/pygsl-0.9.4.ebuild,v 1.2 2009/04/06 14:39:59 ranger Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygsl/pygsl-0.9.4.ebuild,v 1.3 2009/09/30 18:55:08 bicatali Exp $
58
59 +EAPI=2
60 inherit distutils
61
62 DESCRIPTION="A Python interface for the GNU scientific library (gsl)."
63 @@ -17,6 +18,10 @@
64 dev-python/numpy"
65 RDEPEND="${DEPEND}"
66
67 +src_prepare() {
68 + has_version '>=sci-libs/gsl-1.13' && epatch "${FILESDIR}"/${P}-obsolete-units.patch
69 +}
70 +
71 src_test() {
72 cd "${S}/tests"
73 PYTHONPATH=$(ls -d ../build/lib*) "${python}" run_test.py || die "tests failed"