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/mpi4py: metadata.xml mpi4py-1.3.1.ebuild ChangeLog
Date: Sat, 09 Nov 2013 10:54:17
Message-Id: 20131109105407.D2EB72004B@flycatcher.gentoo.org
1 jlec 13/11/09 10:54:07
2
3 Modified: metadata.xml ChangeLog
4 Added: mpi4py-1.3.1.ebuild
5 Log:
6 dev-python/mpi4py: Version BUmp
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.4 dev-python/mpi4py/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/mpi4py/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 2 Aug 2012 17:20:52 -0000 1.3
24 +++ metadata.xml 9 Nov 2013 10:54:07 -0000 1.4
25 @@ -1,8 +1,8 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>python</herd>
30 -<longdescription lang="en">MPI for Python (mpi4py) provides bindings of the Message Passing
31 + <herd>python</herd>
32 + <longdescription lang="en">MPI for Python (mpi4py) provides bindings of the Message Passing
33 Interface (MPI) standard for the Python programming language,
34 allowing any Python program to exploit multiple processors.
35 This package is constructed on top of the MPI-1/MPI-2 specification
36 @@ -13,7 +13,7 @@
37 Python object exposing the single-segment buffer interface (NumPy
38 arrays, builtin bytes/string/array objects).
39 </longdescription>
40 -<upstream>
41 - <remote-id type="google-code">mpi4py</remote-id>
42 -</upstream>
43 + <upstream>
44 + <remote-id type="google-code">mpi4py</remote-id>
45 + </upstream>
46 </pkgmetadata>
47
48
49
50 1.13 dev-python/mpi4py/ChangeLog
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/ChangeLog?rev=1.13&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/ChangeLog?rev=1.13&content-type=text/plain
54 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/ChangeLog?r1=1.12&r2=1.13
55
56 Index: ChangeLog
57 ===================================================================
58 RCS file: /var/cvsroot/gentoo-x86/dev-python/mpi4py/ChangeLog,v
59 retrieving revision 1.12
60 retrieving revision 1.13
61 diff -u -r1.12 -r1.13
62 --- ChangeLog 5 Sep 2013 18:47:18 -0000 1.12
63 +++ ChangeLog 9 Nov 2013 10:54:07 -0000 1.13
64 @@ -1,6 +1,12 @@
65 # ChangeLog for dev-python/mpi4py
66 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
67 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/ChangeLog,v 1.12 2013/09/05 18:47:18 mgorny Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/ChangeLog,v 1.13 2013/11/09 10:54:07 jlec Exp $
69 +
70 +*mpi4py-1.3.1 (09 Nov 2013)
71 +
72 + 09 Nov 2013; Justin Lecher <jlec@g.o> +mpi4py-1.3.1.ebuild,
73 + metadata.xml:
74 + Version BUmp
75
76 05 Sep 2013; Michał Górny <mgorny@g.o> mpi4py-1.3-r1.ebuild:
77 Clean up PYTHON_COMPAT from old implementations.
78
79
80
81 1.1 dev-python/mpi4py/mpi4py-1.3.1.ebuild
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/mpi4py-1.3.1.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mpi4py/mpi4py-1.3.1.ebuild?rev=1.1&content-type=text/plain
85
86 Index: mpi4py-1.3.1.ebuild
87 ===================================================================
88 # Copyright 1999-2013 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/dev-python/mpi4py/mpi4py-1.3.1.ebuild,v 1.1 2013/11/09 10:54:07 jlec Exp $
91
92 EAPI=5
93 # Still fails test with py3.3
94 # https://bitbucket.org/mpi4py/mpi4py/issue/2/fails-test-with-py33
95 PYTHON_COMPAT=( python{2_6,2_7,3_2} )
96
97 inherit distutils-r1
98
99 DESCRIPTION="Message Passing Interface for Python"
100 HOMEPAGE="http://code.google.com/p/mpi4py/ http://pypi.python.org/pypi/mpi4py"
101 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
102
103 LICENSE="BSD"
104 SLOT="0"
105 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
106 IUSE="doc examples test"
107
108 RDEPEND="virtual/mpi"
109 DEPEND="${RDEPEND}
110 test? ( dev-python/nose[${PYTHON_USEDEP}]
111 virtual/mpi[romio] )"
112 DISTUTILS_IN_SOURCE_BUILD=1
113
114 python_prepare_all() {
115 # not needed on install
116 rm -r docs/source || die
117 distutils-r1_python_prepare_all
118 }
119
120 src_compile() {
121 export FAKEROOTKEY=1
122 distutils-r1_src_compile
123 }
124
125 python_test() {
126 echo "Beginning test phase"
127 pushd "${BUILD_DIR}"/../ &> /dev/null
128 mpiexec -n 2 "${PYTHON}" ./test/runtests.py || die "Testsuite failed under ${EPYTHON}"
129 popd &> /dev/null
130 }
131
132 python_install_all() {
133 use doc && local HTML_DOCS=( docs/. )
134 use examples && local EXAMPLES=( demo/. )
135 distutils-r1_python_install_all
136 }