summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2010-05-17 10:10:51 +0000
committerMichael Januszewski <spock@gentoo.org>2010-05-17 10:10:51 +0000
commit175d2a8eb676a3180eb1e8f217fc425429dfc075 (patch)
tree335e2ff21a3cbdd5103c82198120f863070dbf4e
parentRemove =app-laptop/batterymon-1.2.0 (diff)
downloadgentoo-2-175d2a8eb676a3180eb1e8f217fc425429dfc075.tar.gz
gentoo-2-175d2a8eb676a3180eb1e8f217fc425429dfc075.tar.bz2
gentoo-2-175d2a8eb676a3180eb1e8f217fc425429dfc075.zip
Version bump (bug #319187).
(Portage version: 2.2_rc67/cvs/Linux x86_64)
-rw-r--r--dev-python/pyopencl/ChangeLog8
-rw-r--r--dev-python/pyopencl/pyopencl-0.91.5.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/pyopencl/ChangeLog b/dev-python/pyopencl/ChangeLog
index 3030ad8e24a6..c340987328b4 100644
--- a/dev-python/pyopencl/ChangeLog
+++ b/dev-python/pyopencl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyopencl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.2 2010/02/08 11:40:43 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/ChangeLog,v 1.3 2010/05/17 10:10:51 spock Exp $
+
+*pyopencl-0.91.5 (17 May 2010)
+
+ 17 May 2010; Michał Januszewski <spock@gentoo.org>
+ +pyopencl-0.91.5.ebuild:
+ Version bump (bug #319187).
*pyopencl-9999 (08 Feb 2010)
diff --git a/dev-python/pyopencl/pyopencl-0.91.5.ebuild b/dev-python/pyopencl/pyopencl-0.91.5.ebuild
new file mode 100644
index 000000000000..8d3b3bb76900
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-0.91.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyopencl/pyopencl-0.91.5.ebuild,v 1.1 2010/05/17 10:10:51 spock Exp $
+# Ebuild generated by g-pypi 0.2.1 (rev. 204)
+
+EAPI="2"
+
+inherit distutils
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="http://mathema.tician.de/software/pyopencl"
+SRC_URI="http://pypi.python.org/packages/source/p/pyopencl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples opengl"
+
+RDEPEND="dev-python/pytools
+ dev-libs/boost[python]
+ >=dev-python/numpy-1.0.4"
+DEPEND="${RDEPEND}"
+
+src_configure()
+{
+ if use opengl; then
+ myconf="${myconf} --cl-enable-gl"
+ fi
+
+ ./configure.py --boost-python-libname=boost_python-mt \
+ --boost-thread-libname=boost_thread-mt --boost-compiler=gcc \
+ ${myconf}
+}
+
+src_install()
+{
+ distutils_src_install
+ insinto /usr/share/doc/${PF}
+ if use examples; then
+ doins -r examples || die
+ fi
+}
+
+pkg_postinst()
+{
+ distutils_pkg_postinst
+ if use examples; then
+ elog "Some of the examples provided by this package require dev-python/matplotlib."
+ fi
+}