From: | "Michael Januszewski (spock)" <spock@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pycuda: ChangeLog pycuda-0.94.2.ebuild |
Date: | Sun, 28 Nov 2010 20:43:12 |
Message-Id: | 20101128204258.D8AC120051@flycatcher.gentoo.org |
1 | spock 10/11/28 20:42:58 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pycuda-0.94.2.ebuild |
5 | Log: |
6 | Version bump (bug #341531). |
7 | |
8 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.7 dev-python/pycuda/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.7&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?rev=1.7&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/ChangeLog?r1=1.6&r2=1.7 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v |
20 | retrieving revision 1.6 |
21 | retrieving revision 1.7 |
22 | diff -u -r1.6 -r1.7 |
23 | --- ChangeLog 8 Feb 2010 17:24:43 -0000 1.6 |
24 | +++ ChangeLog 28 Nov 2010 20:42:58 -0000 1.7 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/pycuda |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.6 2010/02/08 17:24:43 spock Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.7 2010/11/28 20:42:58 spock Exp $ |
30 | + |
31 | +*pycuda-0.94.2 (28 Nov 2010) |
32 | + |
33 | + 28 Nov 2010; Michał Januszewski <spock@g.o> +pycuda-0.94.2.ebuild: |
34 | + Version bump (bug #341531). |
35 | |
36 | 08 Feb 2010; Michał Januszewski <spock@g.o> pycuda-0.93.ebuild, |
37 | pycuda-9999.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pycuda/pycuda-0.94.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-0.94.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycuda/pycuda-0.94.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pycuda-0.94.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-0.94.2.ebuild,v 1.1 2010/11/28 20:42:58 spock Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit distutils eutils |
55 | |
56 | DESCRIPTION="Python wrapper for NVIDIA CUDA" |
57 | HOMEPAGE="http://mathema.tician.de/software/pycuda http://pypi.python.org/pypi/pycuda" |
58 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | IUSE="examples opengl" |
64 | |
65 | RDEPEND="dev-python/decorator |
66 | dev-python/pytools |
67 | dev-libs/boost[python] |
68 | >=dev-util/nvidia-cuda-toolkit-2.0 |
69 | >=dev-python/numpy-1.0.4 |
70 | virtual/opengl" |
71 | DEPEND="${RDEPEND}" |
72 | |
73 | src_configure() |
74 | { |
75 | local myopts="" |
76 | use opengl && myopts="${myopts} --cuda-enable-gl" |
77 | |
78 | ./configure.py --cuda-root="${ROOT}opt/cuda" \ |
79 | --boost-python-libname=boost_python-mt \ |
80 | --boost-thread-libname=boost_thread-mt \ |
81 | ${myopts} |
82 | } |
83 | |
84 | src_install() |
85 | { |
86 | distutils_src_install |
87 | insinto /usr/share/doc/${PF} |
88 | if use examples; then |
89 | doins -r examples || die |
90 | fi |
91 | } |
92 | |
93 | pkg_postinst() |
94 | { |
95 | distutils_pkg_postinst |
96 | if use examples; then |
97 | elog "Some of the examples provided by this package require dev-python/matplotlib." |
98 | fi |
99 | } |