summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2009-08-09 08:44:46 +0000
committerMichael Januszewski <spock@gentoo.org>2009-08-09 08:44:46 +0000
commit47fd5812c35d3f204d67ce01f19274236d2ce5e7 (patch)
tree7b85b0c0ec212220d60c1d44a9771edfb14b840a /dev-python/pycuda/pycuda-9999.ebuild
parentgeresh and qe are gone, bugs 264174 and 275915. Remove them from RDEPEND. (diff)
downloadhistorical-47fd5812c35d3f204d67ce01f19274236d2ce5e7.tar.gz
historical-47fd5812c35d3f204d67ce01f19274236d2ce5e7.tar.bz2
historical-47fd5812c35d3f204d67ce01f19274236d2ce5e7.zip
Add a live git ebuild. Ebuild submitted by Justin T. Riley in bug #280576.
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pycuda/pycuda-9999.ebuild')
-rw-r--r--dev-python/pycuda/pycuda-9999.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/pycuda/pycuda-9999.ebuild b/dev-python/pycuda/pycuda-9999.ebuild
new file mode 100644
index 000000000000..c0ac321fc84b
--- /dev/null
+++ b/dev-python/pycuda/pycuda-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.1 2009/08/09 08:44:46 spock Exp $
+# Ebuild generated by g-pypi 0.2.1 (rev. 204)
+
+EAPI="2"
+
+inherit git distutils
+
+EGIT_REPO_URI="http://git.tiker.net/trees/pycuda.git"
+
+DESCRIPTION="Python wrapper for NVIDIA CUDA"
+HOMEPAGE="http://mathema.tician.de/software/pycuda"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="=dev-python/pytools-9999
+ dev-libs/boost
+ >=dev-util/nvidia-cuda-toolkit-2.0
+ >=dev-python/numpy-1.0.4"
+
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ git_src_unpack
+ cd "${S}"
+}
+
+src_configure()
+{
+ ./configure.py --cuda-root="${ROOT}opt/cuda" --boost-python-libname=boost_python-mt --boost-thread-libname=boost_thread-mt --boost-compiler=gcc
+}
+
+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
+}