diff options
author | Michael Januszewski <spock@gentoo.org> | 2009-08-09 08:44:46 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2009-08-09 08:44:46 +0000 |
commit | 265857a0511f9910792d27d7055e11d28198cede (patch) | |
tree | e5374dad6fe9eb3e3c9286963366449ef218c25c /dev-python/pycuda/pycuda-9999.ebuild | |
parent | geresh and qe are gone, bugs 264174 and 275915. Remove them from RDEPEND. (diff) | |
download | gentoo-2-265857a0511f9910792d27d7055e11d28198cede.tar.gz gentoo-2-265857a0511f9910792d27d7055e11d28198cede.tar.bz2 gentoo-2-265857a0511f9910792d27d7055e11d28198cede.zip |
Add a live git ebuild. Ebuild submitted by Justin T. Riley in bug #280576.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pycuda/pycuda-9999.ebuild')
-rw-r--r-- | dev-python/pycuda/pycuda-9999.ebuild | 53 |
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 +} |