From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pyopencl: pyopencl-2013.2.ebuild ChangeLog |
Date: | Thu, 07 Nov 2013 06:45:12 |
Message-Id: | 20131107064505.954012004B@flycatcher.gentoo.org |
1 | patrick 13/11/07 06:45:05 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pyopencl-2013.2.ebuild |
5 | Log: |
6 | Bump |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.22 dev-python/pyopencl/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?rev=1.22&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?rev=1.22&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/ChangeLog?r1=1.21&r2=1.22 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v |
20 | retrieving revision 1.21 |
21 | retrieving revision 1.22 |
22 | diff -u -r1.21 -r1.22 |
23 | --- ChangeLog 8 Jul 2013 05:13:15 -0000 1.21 |
24 | +++ ChangeLog 7 Nov 2013 06:45:05 -0000 1.22 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/pyopencl |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.21 2013/07/08 05:13:15 patrick Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.22 2013/11/07 06:45:05 patrick Exp $ |
30 | + |
31 | +*pyopencl-2013.2 (07 Nov 2013) |
32 | + |
33 | + 07 Nov 2013; Patrick Lauer <patrick@g.o> +pyopencl-2013.2.ebuild: |
34 | + Bump |
35 | |
36 | *pyopencl-2013.1 (08 Jul 2013) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pyopencl/pyopencl-2013.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-2013.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyopencl/pyopencl-2013.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pyopencl-2013.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2013 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-2013.2.ebuild,v 1.1 2013/11/07 06:45:05 patrick Exp $ |
51 | |
52 | EAPI="4" |
53 | PYTHON_DEPEND="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" |
56 | |
57 | inherit distutils |
58 | |
59 | DESCRIPTION="Python wrapper for OpenCL" |
60 | HOMEPAGE="http://mathema.tician.de/software/pyopencl http://pypi.python.org/pypi/pyopencl" |
61 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="examples opengl" |
67 | |
68 | RDEPEND=">=dev-libs/boost-1.48[python] |
69 | dev-python/decorator |
70 | dev-python/numpy |
71 | dev-python/mako |
72 | dev-python/pytools |
73 | >=virtual/opencl-0-r1" |
74 | DEPEND="${RDEPEND}" |
75 | |
76 | DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" |
77 | |
78 | src_configure() |
79 | { |
80 | configuration() { |
81 | local myconf=() |
82 | |
83 | if use opengl; then |
84 | myconf+=(--cl-enable-gl) |
85 | fi |
86 | |
87 | "$(PYTHON)" configure.py \ |
88 | --boost-compiler=gcc \ |
89 | --boost-python-libname=boost_python-${PYTHON_ABI}-mt \ |
90 | --no-use-shipped-boost \ |
91 | "${myconf[@]}" |
92 | } |
93 | python_execute_function -s configuration |
94 | } |
95 | |
96 | src_install() |
97 | { |
98 | distutils_src_install |
99 | |
100 | if use examples; then |
101 | insinto /usr/share/doc/${PF} |
102 | doins -r examples |
103 | fi |
104 | } |
105 | |
106 | pkg_postinst() |
107 | { |
108 | distutils_pkg_postinst |
109 | if use examples; then |
110 | elog "Some of the examples provided by this package require dev-python/matplotlib." |
111 | fi |
112 | } |