1 |
jlec 12/01/10 16:16:58 |
2 |
|
3 |
Modified: metadata.xml ChangeLog pycuda-9999.ebuild |
4 |
Added: pycuda-2011.2.2.ebuild |
5 |
Removed: pycuda-0.94.2.ebuild pycuda-2011.1.2.ebuild |
6 |
Log: |
7 |
Version Bump, Dropped old, fixes python.eclass related issues, do not link against bundled boost, fix finding of system cuda related libs, use git submodules, #345517, #383041 and #384211; thanks JTRiley for the many fixes |
8 |
|
9 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 dev-python/pycuda/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/metadata.xml?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/metadata.xml?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/metadata.xml?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/metadata.xml,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- metadata.xml 24 Sep 2011 08:29:12 -0000 1.2 |
25 |
+++ metadata.xml 10 Jan 2012 16:16:58 -0000 1.3 |
26 |
@@ -1,7 +1,7 @@ |
27 |
<?xml version="1.0" encoding="UTF-8"?> |
28 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
29 |
<pkgmetadata> |
30 |
-<maintainer> |
31 |
- <email>spock@g.o</email> |
32 |
-</maintainer> |
33 |
+ <maintainer> |
34 |
+ <email>spock@g.o</email> |
35 |
+ </maintainer> |
36 |
</pkgmetadata> |
37 |
|
38 |
|
39 |
|
40 |
1.13 dev-python/pycuda/ChangeLog |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.13&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.13&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?r1=1.12&r2=1.13 |
45 |
|
46 |
Index: ChangeLog |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v |
49 |
retrieving revision 1.12 |
50 |
retrieving revision 1.13 |
51 |
diff -u -r1.12 -r1.13 |
52 |
--- ChangeLog 21 Sep 2011 08:48:19 -0000 1.12 |
53 |
+++ ChangeLog 10 Jan 2012 16:16:58 -0000 1.13 |
54 |
@@ -1,6 +1,15 @@ |
55 |
# ChangeLog for dev-python/pycuda |
56 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.12 2011/09/21 08:48:19 mgorny Exp $ |
58 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
59 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.13 2012/01/10 16:16:58 jlec Exp $ |
60 |
+ |
61 |
+*pycuda-2011.2.2 (10 Jan 2012) |
62 |
+ |
63 |
+ 10 Jan 2012; Justin Lecher <jlec@g.o> -pycuda-0.94.2.ebuild, |
64 |
+ -pycuda-2011.1.2.ebuild, +pycuda-2011.2.2.ebuild, pycuda-9999.ebuild, |
65 |
+ metadata.xml: |
66 |
+ Version Bump, Dropped old, fixes python.eclass related issues, do not link |
67 |
+ against bundled boost, fix finding of system cuda related libs, use git |
68 |
+ submodules, #345517, #383041 and #384211; thanks JTRiley for the many fixes |
69 |
|
70 |
21 Sep 2011; Michał Górny <mgorny@g.o> pycuda-9999.ebuild: |
71 |
Migrate to git-2. |
72 |
|
73 |
|
74 |
|
75 |
1.9 dev-python/pycuda/pycuda-9999.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?rev=1.9&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?rev=1.9&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?r1=1.8&r2=1.9 |
80 |
|
81 |
Index: pycuda-9999.ebuild |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v |
84 |
retrieving revision 1.8 |
85 |
retrieving revision 1.9 |
86 |
diff -u -r1.8 -r1.9 |
87 |
--- pycuda-9999.ebuild 21 Sep 2011 08:48:19 -0000 1.8 |
88 |
+++ pycuda-9999.ebuild 10 Jan 2012 16:16:58 -0000 1.9 |
89 |
@@ -1,29 +1,33 @@ |
90 |
-# Copyright 1999-2011 Gentoo Foundation |
91 |
+# Copyright 1999-2012 Gentoo Foundation |
92 |
# Distributed under the terms of the GNU General Public License v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.8 2011/09/21 08:48:19 mgorny Exp $ |
94 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.9 2012/01/10 16:16:58 jlec Exp $ |
95 |
|
96 |
-EAPI="3" |
97 |
-PYTHON_DEPEND="2" |
98 |
+EAPI=4 |
99 |
|
100 |
-inherit git-2 distutils |
101 |
+PYTHON_DEPEND="2" |
102 |
+SUPPORT_PYTHON_ABIS="1" |
103 |
+RESTRICT_PYTHON_ABIS="3.*" |
104 |
|
105 |
-EGIT_REPO_URI="http://git.tiker.net/trees/pycuda.git" |
106 |
+inherit git-2 distutils multilib |
107 |
|
108 |
DESCRIPTION="Python wrapper for NVIDIA CUDA" |
109 |
-HOMEPAGE="http://mathema.tician.de/software/pycuda http://pypi.python.org/pypi/pycuda" |
110 |
+HOMEPAGE="http://mathema.tician.de/software/pycuda/ http://pypi.python.org/pypi/pycuda/" |
111 |
SRC_URI="" |
112 |
+EGIT_REPO_URI="http://git.tiker.net/trees/pycuda.git" |
113 |
+EGIT_HAS_SUBMODULES="True" |
114 |
|
115 |
LICENSE="GPL-2" |
116 |
SLOT="0" |
117 |
KEYWORDS="" |
118 |
IUSE="examples opengl" |
119 |
|
120 |
-RDEPEND="=dev-python/pytools-9999 |
121 |
+RDEPEND=" |
122 |
dev-libs/boost[python] |
123 |
- >=dev-util/nvidia-cuda-toolkit-2.0 |
124 |
- >=dev-python/numpy-1.0.4 |
125 |
- virtual/opengl" |
126 |
- |
127 |
+ dev-python/decorator |
128 |
+ dev-python/numpy |
129 |
+ dev-python/pytools |
130 |
+ dev-util/nvidia-cuda-toolkit |
131 |
+ opengl? ( virtual/opengl )" |
132 |
DEPEND="${RDEPEND}" |
133 |
|
134 |
src_unpack() { |
135 |
@@ -33,9 +37,17 @@ |
136 |
src_configure() { |
137 |
local myopts="" |
138 |
use opengl && myopts="${myopts} --cuda-enable-gl" |
139 |
- ./configure.py --cuda-root="${ROOT}opt/cuda" \ |
140 |
+ |
141 |
+ ./configure.py \ |
142 |
+ --cuda-root="${ROOT}opt/cuda" \ |
143 |
+ --boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
144 |
+ --boost-inc-dir="${EPREFIX}/usr/include" \ |
145 |
+ --cudadrv-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
146 |
+ --cudart-lib-dir="${EPREFIX}/opt/cuda/$(get_libdir)" \ |
147 |
--boost-python-libname=boost_python-mt \ |
148 |
- --boost-thread-libname=boost_thread-mt --boost-compiler=gcc ${myopts} |
149 |
+ --boost-thread-libname=boost_thread-mt \ |
150 |
+ --no-use-shipped-boost \ |
151 |
+ ${myopts} |
152 |
} |
153 |
|
154 |
src_install() { |
155 |
|
156 |
|
157 |
|
158 |
1.1 dev-python/pycuda/pycuda-2011.2.2.ebuild |
159 |
|
160 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild?rev=1.1&view=markup |
161 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild?rev=1.1&content-type=text/plain |
162 |
|
163 |
Index: pycuda-2011.2.2.ebuild |
164 |
=================================================================== |
165 |
# Copyright 1999-2012 Gentoo Foundation |
166 |
# Distributed under the terms of the GNU General Public License v2 |
167 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-2011.2.2.ebuild,v 1.1 2012/01/10 16:16:58 jlec Exp $ |
168 |
|
169 |
EAPI=4 |
170 |
|
171 |
PYTHON_DEPEND="2" |
172 |
SUPPORT_PYTHON_ABIS="1" |
173 |
RESTRICT_PYTHON_ABIS="3.*" |
174 |
|
175 |
inherit distutils multilib |
176 |
|
177 |
DESCRIPTION="Python wrapper for NVIDIA CUDA" |
178 |
HOMEPAGE="http://mathema.tician.de/software/pycuda/ http://pypi.python.org/pypi/pycuda/" |
179 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
180 |
|
181 |
LICENSE="GPL-2" |
182 |
SLOT="0" |
183 |
KEYWORDS="~amd64 ~x86" |
184 |
IUSE="examples opengl" |
185 |
|
186 |
RDEPEND=" |
187 |
dev-libs/boost[python] |
188 |
dev-python/decorator |
189 |
dev-python/numpy |
190 |
dev-python/pytools |
191 |
dev-util/nvidia-cuda-toolkit |
192 |
opengl? ( virtual/opengl )" |
193 |
DEPEND="${RDEPEND}" |
194 |
|
195 |
src_configure() { |
196 |
local myopts="" |
197 |
use opengl && myopts="${myopts} --cuda-enable-gl" |
198 |
|
199 |
./configure.py \ |
200 |
--cuda-root="${ROOT}opt/cuda" \ |
201 |
--boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
202 |
--boost-inc-dir="${EPREFIX}/usr/include" \ |
203 |
--cudadrv-lib-dir="${EPREFIX}/usr/$(get_libdir)" \ |
204 |
--cudart-lib-dir="${EPREFIX}/opt/cuda/$(get_libdir)" \ |
205 |
--boost-python-libname=boost_python-mt \ |
206 |
--boost-thread-libname=boost_thread-mt \ |
207 |
--no-use-shipped-boost \ |
208 |
${myopts} |
209 |
} |
210 |
|
211 |
src_install() { |
212 |
distutils_src_install |
213 |
insinto /usr/share/doc/${PF} |
214 |
if use examples; then |
215 |
doins -r examples || die |
216 |
fi |
217 |
} |