1 |
floppym 12/01/28 19:55:27 |
2 |
|
3 |
Modified: pycuda-2011.2.2.ebuild pycuda-9999.ebuild ChangeLog |
4 |
Added: pycuda-2011.2.2-r1.ebuild |
5 |
Log: |
6 |
Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch by Arfrever. |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 dev-python/pycuda/pycuda-2011.2.2.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: pycuda-2011.2.2.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- pycuda-2011.2.2.ebuild 10 Jan 2012 16:16:58 -0000 1.1 |
24 |
+++ pycuda-2011.2.2.ebuild 28 Jan 2012 19:55:26 -0000 1.2 |
25 |
@@ -1,12 +1,12 @@ |
26 |
# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild,v 1.1 2012/01/10 16:16:58 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild,v 1.2 2012/01/28 19:55:26 floppym Exp $ |
30 |
|
31 |
EAPI=4 |
32 |
|
33 |
PYTHON_DEPEND="2" |
34 |
SUPPORT_PYTHON_ABIS="1" |
35 |
-RESTRICT_PYTHON_ABIS="3.*" |
36 |
+RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" |
37 |
|
38 |
inherit distutils multilib |
39 |
|
40 |
@@ -20,7 +20,7 @@ |
41 |
IUSE="examples opengl" |
42 |
|
43 |
RDEPEND=" |
44 |
- dev-libs/boost[python] |
45 |
+ <dev-libs/boost-1.48[python] |
46 |
dev-python/decorator |
47 |
dev-python/numpy |
48 |
dev-python/pytools |
49 |
|
50 |
|
51 |
|
52 |
1.10 dev-python/pycuda/pycuda-9999.ebuild |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?rev=1.10&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?rev=1.10&content-type=text/plain |
56 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?r1=1.9&r2=1.10 |
57 |
|
58 |
Index: pycuda-9999.ebuild |
59 |
=================================================================== |
60 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v |
61 |
retrieving revision 1.9 |
62 |
retrieving revision 1.10 |
63 |
diff -u -r1.9 -r1.10 |
64 |
--- pycuda-9999.ebuild 10 Jan 2012 16:16:58 -0000 1.9 |
65 |
+++ pycuda-9999.ebuild 28 Jan 2012 19:55:27 -0000 1.10 |
66 |
@@ -1,17 +1,16 @@ |
67 |
# Copyright 1999-2012 Gentoo Foundation |
68 |
# Distributed under the terms of the GNU General Public License v2 |
69 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.9 2012/01/10 16:16:58 jlec Exp $ |
70 |
- |
71 |
-EAPI=4 |
72 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.10 2012/01/28 19:55:27 floppym Exp $ |
73 |
|
74 |
+EAPI="4" |
75 |
PYTHON_DEPEND="2" |
76 |
SUPPORT_PYTHON_ABIS="1" |
77 |
-RESTRICT_PYTHON_ABIS="3.*" |
78 |
+RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" |
79 |
|
80 |
-inherit git-2 distutils multilib |
81 |
+inherit distutils git-2 multilib |
82 |
|
83 |
DESCRIPTION="Python wrapper for NVIDIA CUDA" |
84 |
-HOMEPAGE="http://mathema.tician.de/software/pycuda/ http://pypi.python.org/pypi/pycuda/" |
85 |
+HOMEPAGE="http://mathema.tician.de/software/pycuda/ http://pypi.python.org/pypi/pycuda" |
86 |
SRC_URI="" |
87 |
EGIT_REPO_URI="http://git.tiker.net/trees/pycuda.git" |
88 |
EGIT_HAS_SUBMODULES="True" |
89 |
@@ -21,8 +20,7 @@ |
90 |
KEYWORDS="" |
91 |
IUSE="examples opengl" |
92 |
|
93 |
-RDEPEND=" |
94 |
- dev-libs/boost[python] |
95 |
+RDEPEND=">=dev-libs/boost-1.48[python] |
96 |
dev-python/decorator |
97 |
dev-python/numpy |
98 |
dev-python/pytools |
99 |
@@ -30,37 +28,36 @@ |
100 |
opengl? ( virtual/opengl )" |
101 |
DEPEND="${RDEPEND}" |
102 |
|
103 |
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
104 |
+ |
105 |
src_unpack() { |
106 |
git-2_src_unpack |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
- local myopts="" |
111 |
- use opengl && myopts="${myopts} --cuda-enable-gl" |
112 |
+ local myopts=() |
113 |
+ use opengl && myopts+=(--cuda-enable-gl) |
114 |
|
115 |
- ./configure.py \ |
116 |
- --cuda-root="${ROOT}opt/cuda" \ |
117 |
- --boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
118 |
- --boost-inc-dir="${EPREFIX}/usr/include" \ |
119 |
- --cudadrv-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
120 |
- --cudart-lib-dir="${EPREFIX}/opt/cuda/$(get_libdir)" \ |
121 |
- --boost-python-libname=boost_python-mt \ |
122 |
- --boost-thread-libname=boost_thread-mt \ |
123 |
- --no-use-shipped-boost \ |
124 |
- ${myopts} |
125 |
+ configuration() { |
126 |
+ "$(PYTHON)" configure.py \ |
127 |
+ --boost-inc-dir="${EPREFIX}/usr/include" \ |
128 |
+ --boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
129 |
+ --boost-python-libname=boost_python-${PYTHON_ABI}-mt \ |
130 |
+ --boost-thread-libname=boost_thread-mt \ |
131 |
+ --cuda-root="${EPREFIX}/opt/cuda" \ |
132 |
+ --cudadrv-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
133 |
+ --cudart-lib-dir="${EPREFIX}/opt/cuda/$(get_libdir)" \ |
134 |
+ --no-use-shipped-boost \ |
135 |
+ "${myopts[@]}" |
136 |
+ } |
137 |
+ python_execute_function -s configuration |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
distutils_src_install |
142 |
- insinto /usr/share/doc/${PF} |
143 |
- if use examples; then |
144 |
- doins -r examples || die |
145 |
- fi |
146 |
-} |
147 |
|
148 |
-pkg_postinst() { |
149 |
- distutils_pkg_postinst |
150 |
if use examples; then |
151 |
- elog "Some of the examples provided by this package require dev-python/matplotlib." |
152 |
+ insinto /usr/share/doc/${PF} |
153 |
+ doins -r examples |
154 |
fi |
155 |
} |
156 |
|
157 |
|
158 |
|
159 |
1.14 dev-python/pycuda/ChangeLog |
160 |
|
161 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.14&view=markup |
162 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.14&content-type=text/plain |
163 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?r1=1.13&r2=1.14 |
164 |
|
165 |
Index: ChangeLog |
166 |
=================================================================== |
167 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v |
168 |
retrieving revision 1.13 |
169 |
retrieving revision 1.14 |
170 |
diff -u -r1.13 -r1.14 |
171 |
--- ChangeLog 10 Jan 2012 16:16:58 -0000 1.13 |
172 |
+++ ChangeLog 28 Jan 2012 19:55:27 -0000 1.14 |
173 |
@@ -1,6 +1,13 @@ |
174 |
# ChangeLog for dev-python/pycuda |
175 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
176 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.13 2012/01/10 16:16:58 jlec Exp $ |
177 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.14 2012/01/28 19:55:27 floppym Exp $ |
178 |
+ |
179 |
+*pycuda-2011.2.2-r1 (28 Jan 2012) |
180 |
+ |
181 |
+ 28 Jan 2012; Mike Gilbert <floppym@g.o> +pycuda-2011.2.2-r1.ebuild, |
182 |
+ pycuda-2011.2.2.ebuild, pycuda-9999.ebuild: |
183 |
+ Prepare for PYTHON_ABI-versioned Boost Python libraries in Boost 1.48. Patch |
184 |
+ by Arfrever. |
185 |
|
186 |
*pycuda-2011.2.2 (10 Jan 2012) |
187 |
|
188 |
|
189 |
|
190 |
|
191 |
1.1 dev-python/pycuda/pycuda-2011.2.2-r1.ebuild |
192 |
|
193 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2-r1.ebuild?rev=1.1&view=markup |
194 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2-r1.ebuild?rev=1.1&content-type=text/plain |
195 |
|
196 |
Index: pycuda-2011.2.2-r1.ebuild |
197 |
=================================================================== |
198 |
# Copyright 1999-2012 Gentoo Foundation |
199 |
# Distributed under the terms of the GNU General Public License v2 |
200 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2-r1.ebuild,v 1.1 2012/01/28 19:55:27 floppym Exp $ |
201 |
|
202 |
EAPI="4" |
203 |
PYTHON_DEPEND="2" |
204 |
SUPPORT_PYTHON_ABIS="1" |
205 |
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*" |
206 |
|
207 |
inherit distutils multilib |
208 |
|
209 |
DESCRIPTION="Python wrapper for NVIDIA CUDA" |
210 |
HOMEPAGE="http://mathema.tician.de/software/pycuda/ http://pypi.python.org/pypi/pycuda" |
211 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
212 |
|
213 |
LICENSE="GPL-2" |
214 |
SLOT="0" |
215 |
KEYWORDS="~amd64 ~x86" |
216 |
IUSE="examples opengl" |
217 |
|
218 |
RDEPEND=">=dev-libs/boost-1.48[python] |
219 |
dev-python/decorator |
220 |
dev-python/numpy |
221 |
dev-python/pytools |
222 |
dev-util/nvidia-cuda-toolkit |
223 |
opengl? ( virtual/opengl )" |
224 |
DEPEND="${RDEPEND}" |
225 |
|
226 |
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
227 |
|
228 |
src_configure() { |
229 |
local myopts=() |
230 |
use opengl && myopts+=(--cuda-enable-gl) |
231 |
|
232 |
configuration() { |
233 |
"$(PYTHON)" configure.py \ |
234 |
--boost-inc-dir="${EPREFIX}/usr/include" \ |
235 |
--boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
236 |
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \ |
237 |
--boost-thread-libname=boost_thread-mt \ |
238 |
--cuda-root="${EPREFIX}/opt/cuda" \ |
239 |
--cudadrv-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
240 |
--cudart-lib-dir="${EPREFIX}/opt/cuda/$(get_libdir)" \ |
241 |
--no-use-shipped-boost \ |
242 |
"${myopts[@]}" |
243 |
} |
244 |
python_execute_function -s configuration |
245 |
} |
246 |
|
247 |
src_install() { |
248 |
distutils_src_install |
249 |
|
250 |
if use examples; then |
251 |
insinto /usr/share/doc/${PF} |
252 |
doins -r examples |
253 |
fi |
254 |
} |