Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/scientificpython: scientificpython-2.9.2.ebuild metadata.xml ChangeLog
Date: Wed, 22 May 2013 10:59:59
Message-Id: 20130522105951.C847B21710@flycatcher.gentoo.org
1 jlec 13/05/22 10:59:51
2
3 Modified: metadata.xml ChangeLog
4 Added: scientificpython-2.9.2.ebuild
5 Log:
6 dev-python/scientificpython: Version Bump
7
8 (Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
9
10 Revision Changes Path
11 1.5 dev-python/scientificpython/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/metadata.xml?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/metadata.xml?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/metadata.xml?r1=1.4&r2=1.5
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/scientificpython/metadata.xml,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- metadata.xml 8 Dec 2008 23:01:45 -0000 1.4
24 +++ metadata.xml 22 May 2013 10:59:51 -0000 1.5
25 @@ -1,9 +1,9 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>sci</herd>
30 -<herd>python</herd>
31 -<longdescription lang="en">
32 + <herd>sci</herd>
33 + <herd>python</herd>
34 + <longdescription lang="en">
35 ScientificPython is a collection of Python modules that are useful for
36 scientific computing. In this collection you will find modules that
37 cover basic geometry (vectors, tensors, transformations, vector and
38
39
40
41 1.42 dev-python/scientificpython/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/ChangeLog?rev=1.42&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/ChangeLog?rev=1.42&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/ChangeLog?r1=1.41&r2=1.42
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v
50 retrieving revision 1.41
51 retrieving revision 1.42
52 diff -u -r1.41 -r1.42
53 --- ChangeLog 23 Feb 2012 04:54:38 -0000 1.41
54 +++ ChangeLog 22 May 2013 10:59:51 -0000 1.42
55 @@ -1,6 +1,12 @@
56 # ChangeLog for dev-python/scientificpython
57 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v 1.41 2012/02/23 04:54:38 patrick Exp $
59 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
60 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v 1.42 2013/05/22 10:59:51 jlec Exp $
61 +
62 +*scientificpython-2.9.2 (22 May 2013)
63 +
64 + 22 May 2013; Justin Lecher <jlec@g.o> +scientificpython-2.9.2.ebuild,
65 + metadata.xml:
66 + Version Bump
67
68 23 Feb 2012; Patrick Lauer <patrick@g.o> scientificpython-2.9.1.ebuild:
69 Restricting pypy
70
71
72
73 1.1 dev-python/scientificpython/scientificpython-2.9.2.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.2.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.2.ebuild?rev=1.1&content-type=text/plain
77
78 Index: scientificpython-2.9.2.ebuild
79 ===================================================================
80 # Copyright 1999-2013 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.2.ebuild,v 1.1 2013/05/22 10:59:51 jlec Exp $
83
84 EAPI=5
85
86 PYTHON_COMPAT=( python{2_6,2_7} )
87
88 inherit distutils-r1
89
90 MY_PN="ScientificPython"
91 MY_P="${MY_PN}-${PV}"
92 DOWNLOAD_NUMBER=4153
93
94 DESCRIPTION="Scientific Module for Python"
95 SRC_URI="http://sourcesup.cru.fr/frs/download.php/${DOWNLOAD_NUMBER}/${MY_P}.tar.gz"
96 HOMEPAGE="http://sourcesup.cru.fr/projects/scientific-py/"
97
98 LICENSE="CeCILL-2"
99 SLOT="0"
100 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
101 IUSE="doc mpi test"
102
103 RDEPEND="
104 dev-python/numpy[${PYTHON_USEDEP}]
105 dev-python/pyro:3[${PYTHON_USEDEP}]
106 sci-libs/netcdf
107 mpi? ( virtual/mpi )"
108 DEPEND="${RDEPEND}
109 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
110
111 S="${WORKDIR}/${MY_P}"
112
113 PATCHES=( "${FILESDIR}"/${PN}-2.9-mpi.patch )
114 DOCS=( README README.MPI Doc/CHANGELOG Examples/demomodule.c Examples/netcdf_demo.py )
115
116 python_prepare_all() {
117 use mpi && PATCHES+=( "${FILESDIR}"/${PN}-2.9.1-mpi-netcdf.patch )
118 distutils-r1_python_prepare_all
119 }
120
121 python_compile() {
122 distutils-r1_python_compile
123
124 if use mpi; then
125 cd Src/MPI
126 building_of_mpipython() {
127 ${PYTHON} compile.py
128 mv -f mpipython mpipython-${EPYTHON}
129 }
130 python_foreach_impl building_of_mpipython
131 fi
132 }
133
134 python_test() {
135 cd "${S}"/Tests || die
136 python_foreach_impl nosetests
137 }
138
139 python_install_all() {
140 use doc && HTML_DOCS=( Doc/Reference/. )
141 distutils-r1_python_install_all
142
143 if use mpi; then
144 dobin Src/MPI/mpipython-${EPYTHON}
145 dosym python-exec /usr/bin/mpipython
146 insinto /usr/share/doc/${PF}
147 doins Examples/mpi.py
148 fi
149 }