Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pycuda: pycuda-0.93.ebuild ChangeLog pycuda-9999.ebuild
Date: Mon, 08 Feb 2010 17:24:48
Message-Id: E1NeXLo-0007Jl-NI@stork.gentoo.org
1 spock 10/02/08 17:24:44
2
3 Modified: pycuda-0.93.ebuild ChangeLog pycuda-9999.ebuild
4 Log:
5 Add the 'opengl' USE flag.
6 (Portage version: 2.2_rc62/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-python/pycuda/pycuda-0.93.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/pycuda-0.93.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/pycuda-0.93.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/pycuda-0.93.ebuild?r1=1.1&r2=1.2
14
15 Index: pycuda-0.93.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-0.93.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- pycuda-0.93.ebuild 24 Dec 2009 19:27:56 -0000 1.1
22 +++ pycuda-0.93.ebuild 8 Feb 2010 17:24:43 -0000 1.2
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2009 Gentoo Foundation
25 +# Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-0.93.ebuild,v 1.1 2009/12/24 19:27:56 spock Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-0.93.ebuild,v 1.2 2010/02/08 17:24:43 spock Exp $
29
30 EAPI="2"
31
32 @@ -13,12 +13,13 @@
33 LICENSE="GPL-2"
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36 -IUSE="examples"
37 +IUSE="examples opengl"
38
39 RDEPEND="dev-python/pytools
40 dev-libs/boost[python]
41 >=dev-util/nvidia-cuda-toolkit-2.0
42 - >=dev-python/numpy-1.0.4"
43 + >=dev-python/numpy-1.0.4
44 + virtual/opengl"
45 DEPEND="${RDEPEND}"
46
47 src_prepare()
48 @@ -28,9 +29,13 @@
49
50 src_configure()
51 {
52 + local myopts=""
53 + use opengl && myopts="${myopts} --cuda-enable-gl"
54 +
55 ./configure.py --cuda-root="${ROOT}opt/cuda" \
56 --boost-python-libname=boost_python-mt \
57 - --boost-thread-libname=boost_thread-mt
58 + --boost-thread-libname=boost_thread-mt \
59 + ${myopts}
60 }
61
62 src_install()
63
64
65
66 1.6 dev-python/pycuda/ChangeLog
67
68 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.6&view=markup
69 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.6&content-type=text/plain
70 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/ChangeLog?r1=1.5&r2=1.6
71
72 Index: ChangeLog
73 ===================================================================
74 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v
75 retrieving revision 1.5
76 retrieving revision 1.6
77 diff -u -r1.5 -r1.6
78 --- ChangeLog 8 Feb 2010 11:43:46 -0000 1.5
79 +++ ChangeLog 8 Feb 2010 17:24:43 -0000 1.6
80 @@ -1,6 +1,10 @@
81 # ChangeLog for dev-python/pycuda
82 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
83 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.5 2010/02/08 11:43:46 spock Exp $
84 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.6 2010/02/08 17:24:43 spock Exp $
85 +
86 + 08 Feb 2010; Michał Januszewski <spock@g.o> pycuda-0.93.ebuild,
87 + pycuda-9999.ebuild:
88 + Add the 'opengl' USE flag.
89
90 08 Feb 2010; Michał Januszewski <spock@g.o> pycuda-9999.ebuild:
91 Depend on boost[python] instead of boost.
92
93
94
95 1.4 dev-python/pycuda/pycuda-9999.ebuild
96
97 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?rev=1.4&view=markup
98 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?rev=1.4&content-type=text/plain
99 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild?r1=1.3&r2=1.4
100
101 Index: pycuda-9999.ebuild
102 ===================================================================
103 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v
104 retrieving revision 1.3
105 retrieving revision 1.4
106 diff -u -r1.3 -r1.4
107 --- pycuda-9999.ebuild 8 Feb 2010 11:43:46 -0000 1.3
108 +++ pycuda-9999.ebuild 8 Feb 2010 17:24:43 -0000 1.4
109 @@ -1,6 +1,6 @@
110 # Copyright 1999-2010 Gentoo Foundation
111 # Distributed under the terms of the GNU General Public License v2
112 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.3 2010/02/08 11:43:46 spock Exp $
113 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.4 2010/02/08 17:24:43 spock Exp $
114 # Ebuild generated by g-pypi 0.2.1 (rev. 204)
115
116 EAPI="2"
117 @@ -16,12 +16,13 @@
118 LICENSE="GPL-2"
119 SLOT="0"
120 KEYWORDS=""
121 -IUSE="examples"
122 +IUSE="examples opengl"
123
124 RDEPEND="=dev-python/pytools-9999
125 dev-libs/boost[python]
126 >=dev-util/nvidia-cuda-toolkit-2.0
127 - >=dev-python/numpy-1.0.4"
128 + >=dev-python/numpy-1.0.4
129 + virtual/opengl"
130
131 DEPEND="${RDEPEND}"
132
133 @@ -30,7 +31,11 @@
134 }
135
136 src_configure() {
137 - ./configure.py --cuda-root="${ROOT}opt/cuda" --boost-python-libname=boost_python-mt --boost-thread-libname=boost_thread-mt --boost-compiler=gcc
138 + local myopts=""
139 + use opengl && myopts="${myopts} --cuda-enable-gl"
140 + ./configure.py --cuda-root="${ROOT}opt/cuda" \
141 + --boost-python-libname=boost_python-mt \
142 + --boost-thread-libname=boost_thread-mt --boost-compiler=gcc ${myopts}
143 }
144
145 src_install() {