From: | "Michael Januszewski (spock)" <spock@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pyopencl: pyopencl-2011.2.ebuild ChangeLog |
Date: | Sun, 08 Jan 2012 22:20:35 |
Message-Id: | 20120108222024.837152004B@flycatcher.gentoo.org |
1 | spock 12/01/08 22:20:24 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pyopencl-2011.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.10 dev-python/pyopencl/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?rev=1.10&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?rev=1.10&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?r1=1.9&r2=1.10 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v |
20 | retrieving revision 1.9 |
21 | retrieving revision 1.10 |
22 | diff -u -r1.9 -r1.10 |
23 | --- ChangeLog 21 Dec 2011 18:35:11 -0000 1.9 |
24 | +++ ChangeLog 8 Jan 2012 22:20:24 -0000 1.10 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/pyopencl |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.9 2011/12/21 18:35:11 vapier Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.10 2012/01/08 22:20:24 spock Exp $ |
31 | + |
32 | +*pyopencl-2011.2 (08 Jan 2012) |
33 | + |
34 | + 08 Jan 2012; MichaĆ Januszewski <spock@g.o> +pyopencl-2011.2.ebuild: |
35 | + Version bump. |
36 | |
37 | 21 Dec 2011; Mike Frysinger <vapier@g.o> pyopencl-0.92.ebuild, |
38 | pyopencl-9999.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/pyopencl/pyopencl-2011.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-2011.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-2011.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pyopencl-2011.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2011.2.ebuild,v 1.1 2012/01/08 22:20:24 spock Exp $ |
52 | |
53 | EAPI="3" |
54 | PYTHON_DEPEND="2" |
55 | SUPPORT_PYTHON_ABIS="1" |
56 | RESTRICT_PYTHON_ABIS="3.* *-jython" |
57 | |
58 | inherit distutils |
59 | |
60 | DESCRIPTION="Python wrapper for OpenCL" |
61 | HOMEPAGE="http://mathema.tician.de/software/pyopencl" |
62 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
63 | |
64 | LICENSE="GPL-2" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~x86" |
67 | IUSE="examples opengl" |
68 | |
69 | RDEPEND="dev-libs/boost[python] |
70 | >=dev-python/numpy-1.0.4 |
71 | dev-python/pytools |
72 | virtual/opencl" |
73 | DEPEND="${RDEPEND} |
74 | dev-libs/boost[python]" |
75 | |
76 | src_configure() |
77 | { |
78 | if use opengl; then |
79 | myconf="${myconf} --cl-enable-gl" |
80 | fi |
81 | |
82 | "$(PYTHON -f)" ./configure.py --boost-python-libname=boost_python-mt \ |
83 | --boost-compiler=gcc ${myconf} |
84 | sed -i -e 's/USE_SHIPPED_BOOST = True/USE_SHIPPED_BOOST = False/' siteconf.py |
85 | } |
86 | |
87 | src_install() |
88 | { |
89 | distutils_src_install |
90 | insinto /usr/share/doc/${PF} |
91 | if use examples; then |
92 | doins -r examples || die |
93 | fi |
94 | } |
95 | |
96 | pkg_postinst() |
97 | { |
98 | distutils_pkg_postinst |
99 | if use examples; then |
100 | elog "Some of the examples provided by this package require dev-python/matplotlib." |
101 | fi |
102 | } |