1 |
arfrever 10/12/31 20:10:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: scientificpython-2.9.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha11_p1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.34 dev-python/scientificpython/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/ChangeLog?rev=1.34&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/ChangeLog?rev=1.34&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/ChangeLog?r1=1.33&r2=1.34 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v |
20 |
retrieving revision 1.33 |
21 |
retrieving revision 1.34 |
22 |
diff -u -r1.33 -r1.34 |
23 |
--- ChangeLog 23 May 2010 14:15:38 -0000 1.33 |
24 |
+++ ChangeLog 31 Dec 2010 20:10:05 -0000 1.34 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-python/scientificpython |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v 1.33 2010/05/23 14:15:38 arfrever Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v 1.34 2010/12/31 20:10:05 arfrever Exp $ |
30 |
+ |
31 |
+*scientificpython-2.9.1 (31 Dec 2010) |
32 |
+ |
33 |
+ 31 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 |
+ -scientificpython-2.9.ebuild, +scientificpython-2.9.1.ebuild, |
35 |
+ +files/scientificpython-2.9.1-mpi-netcdf.patch: |
36 |
+ Version bump. |
37 |
|
38 |
23 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
39 |
scientificpython-2.9-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/scientificpython/scientificpython-2.9.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: scientificpython-2.9.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.1.ebuild,v 1.1 2010/12/31 20:10:05 arfrever Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
PYTHON_DEPEND="2" |
56 |
SUPPORT_PYTHON_ABIS="1" |
57 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
58 |
|
59 |
inherit distutils eutils |
60 |
|
61 |
MY_PN="ScientificPython" |
62 |
MY_P="${MY_PN}-${PV}" |
63 |
|
64 |
DESCRIPTION="Scientific Module for Python" |
65 |
DOWNLOAD_NUMBER="3420" |
66 |
SRC_URI="http://sourcesup.cru.fr/frs/download.php/${DOWNLOAD_NUMBER}/${MY_P}.tar.gz" |
67 |
HOMEPAGE="http://sourcesup.cru.fr/projects/scientific-py/" |
68 |
|
69 |
LICENSE="CeCILL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" |
72 |
IUSE="doc mpi test" |
73 |
|
74 |
RDEPEND="dev-python/numpy |
75 |
sci-libs/netcdf |
76 |
mpi? ( virtual/mpi )" |
77 |
DEPEND="${RDEPEND} |
78 |
test? ( dev-python/nose )" |
79 |
|
80 |
S="${WORKDIR}/${MY_P}" |
81 |
|
82 |
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") |
83 |
|
84 |
PYTHON_MODNAME="Scientific" |
85 |
|
86 |
src_prepare() { |
87 |
distutils_src_prepare |
88 |
epatch "${FILESDIR}/${PN}-2.9-mpi.patch" |
89 |
use mpi && epatch "${FILESDIR}/${P}-mpi-netcdf.patch" |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
distutils_src_compile |
94 |
|
95 |
if use mpi; then |
96 |
cd Src/MPI |
97 |
building_of_mpipython() { |
98 |
PYTHONPATH="$(ls -d ../../build-${PYTHON_ABI}/lib*)" "$(PYTHON)" compile.py |
99 |
mv -f mpipython mpipython-${PYTHON_ABI} |
100 |
} |
101 |
python_execute_function \ |
102 |
--action-message 'Building of mpipython with $(python_get_implementation) $(python_get_version)' \ |
103 |
--failure-message 'Building of mpipython failed with $(python_get_implementation) $(python_get_version)' \ |
104 |
building_of_mpipython |
105 |
fi |
106 |
} |
107 |
|
108 |
src_test() { |
109 |
cd Tests |
110 |
python_execute_nosetests -P '$(ls -d ../build-${PYTHON_ABI}/lib.*)' |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
distutils_src_install |
115 |
# do not install bsp related stuff, since we don't compile the interface |
116 |
dodoc README README.MPI Doc/CHANGELOG || die "dodoc failed" |
117 |
insinto /usr/share/doc/${PF} |
118 |
doins Examples/{demomodule.c,netcdf_demo.py} || die "doins examples failed" |
119 |
|
120 |
if use mpi; then |
121 |
installation_of_mpipython() { |
122 |
dobin Src/MPI/mpipython-${PYTHON_ABI} |
123 |
} |
124 |
python_execute_function -q installation_of_mpipython |
125 |
python_generate_wrapper_scripts "${ED}usr/bin/mpipython" |
126 |
doins Examples/mpi.py || die "doins mpi example failed failed" |
127 |
fi |
128 |
|
129 |
if use doc; then |
130 |
dohtml Doc/Reference/* || die "dohtml failed" |
131 |
fi |
132 |
} |