1 |
patrick 09/09/04 17:04:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: scientificpython-2.9.ebuild |
5 |
Removed: scientificpython-2.6.1.ebuild |
6 |
scientificpython-2.4.9.ebuild |
7 |
Log: |
8 |
Bump to 2.9, remove old |
9 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.21 dev-python/scientificpython/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scientificpython/ChangeLog?rev=1.21&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scientificpython/ChangeLog?rev=1.21&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scientificpython/ChangeLog?r1=1.20&r2=1.21 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v |
21 |
retrieving revision 1.20 |
22 |
retrieving revision 1.21 |
23 |
diff -u -r1.20 -r1.21 |
24 |
--- ChangeLog 14 Aug 2009 14:59:36 -0000 1.20 |
25 |
+++ ChangeLog 4 Sep 2009 17:04:51 -0000 1.21 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-python/scientificpython |
28 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v 1.20 2009/08/14 14:59:36 armin76 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v 1.21 2009/09/04 17:04:51 patrick Exp $ |
31 |
+ |
32 |
+*scientificpython-2.9 (04 Sep 2009) |
33 |
+ |
34 |
+ 04 Sep 2009; Patrick Lauer <patrick@g.o> |
35 |
+ -scientificpython-2.4.9.ebuild, -scientificpython-2.6.1.ebuild, |
36 |
+ +scientificpython-2.9.ebuild: |
37 |
+ Bump to 2.9, remove old |
38 |
|
39 |
14 Aug 2009; Raúl Porcel <armin76@g.o> |
40 |
scientificpython-2.8.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-python/scientificpython/scientificpython-2.9.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: scientificpython-2.9.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.ebuild,v 1.1 2009/09/04 17:04:51 patrick Exp $ |
54 |
|
55 |
MY_PN=ScientificPython |
56 |
DV=2372 # hardcoded download version |
57 |
|
58 |
inherit eutils distutils |
59 |
|
60 |
DESCRIPTION="Scientific Module for Python" |
61 |
SRC_URI="http://sourcesup.cru.fr/frs/download.php/${DV}/${MY_PN}-${PV}.tar.gz" |
62 |
HOMEPAGE="http://sourcesup.cru.fr/projects/scientific-py/" |
63 |
SLOT="0" |
64 |
LICENSE="CeCILL-2" |
65 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" |
66 |
|
67 |
IUSE="mpi doc" |
68 |
|
69 |
DEPEND="dev-python/numpy |
70 |
sci-libs/netcdf |
71 |
mpi? ( virtual/mpi )" |
72 |
|
73 |
S="${WORKDIR}/${MY_PN}-${PV}.0" |
74 |
|
75 |
src_compile() { |
76 |
distutils_src_compile |
77 |
if use mpi; then |
78 |
cd Src/MPI |
79 |
PYTHONPATH=$(ls -d "${S}"/build/lib*) \ |
80 |
"${python}" compile.py || die "compile mpi failed" |
81 |
fi |
82 |
} |
83 |
|
84 |
src_test() { |
85 |
cd "${S}"/build/lib* |
86 |
for t in "${S}"/Tests/*tests.py; do |
87 |
PYTHONPATH=. "${python}" ${t} || die "test $(basename ${t}) failed" |
88 |
done |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
distutils_src_install |
93 |
# do not install bsp related stuff, since we don't compile the interface |
94 |
dodoc README README.MPI Doc/CHANGELOG || die "dodoc failed" |
95 |
insinto /usr/share/doc/${PF} |
96 |
doins Examples/{demomodule.c,netcdf_demo.py} || die "doins examples failed" |
97 |
if use mpi; then |
98 |
dobin Src/MPI/mpipython || die "dobin failed" |
99 |
doins Examples/mpi.py || die "doins mpi example failed failed" |
100 |
fi |
101 |
if use doc; then |
102 |
dohtml Doc/Reference/* || die "dohtml failed" |
103 |
fi |
104 |
} |