summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2009-12-24 19:27:57 +0000
committerMichael Januszewski <spock@gentoo.org>2009-12-24 19:27:57 +0000
commitfa61d265c19f672d3817229f8c3771e93ecd159d (patch)
treeeec99c3c9c5467521262a31c56a2e2d7dbf74960 /dev-python/pycuda
parentCleanup (diff)
downloadhistorical-fa61d265c19f672d3817229f8c3771e93ecd159d.tar.gz
historical-fa61d265c19f672d3817229f8c3771e93ecd159d.tar.bz2
historical-fa61d265c19f672d3817229f8c3771e93ecd159d.zip
Version bump (bug #281255).
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pycuda')
-rw-r--r--dev-python/pycuda/ChangeLog8
-rw-r--r--dev-python/pycuda/Manifest15
-rw-r--r--dev-python/pycuda/files/pycuda-0.93-fix-include-path.patch41
-rw-r--r--dev-python/pycuda/pycuda-0.93.ebuild51
4 files changed, 113 insertions, 2 deletions
diff --git a/dev-python/pycuda/ChangeLog b/dev-python/pycuda/ChangeLog
index 1d75572d9544..b46628c998cf 100644
--- a/dev-python/pycuda/ChangeLog
+++ b/dev-python/pycuda/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pycuda
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.3 2009/11/14 16:50:24 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.4 2009/12/24 19:27:56 spock Exp $
+
+*pycuda-0.93 (24 Dec 2009)
+
+ 24 Dec 2009; Michał Januszewski <spock@gentoo.org> +pycuda-0.93.ebuild,
+ +files/pycuda-0.93-fix-include-path.patch:
+ Version bump (bug #281255).
14 Nov 2009; Tomáš Chvátal <scarabeus@gentoo.org> pycuda-9999.ebuild:
Drop kewords on live package. Fix QA issues on it.
diff --git a/dev-python/pycuda/Manifest b/dev-python/pycuda/Manifest
index 451e5d30bf49..802e59375d88 100644
--- a/dev-python/pycuda/Manifest
+++ b/dev-python/pycuda/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX pycuda-0.93-fix-include-path.patch 1474 RMD160 427e7d0cb27b614eb6970dee79d6944344bee2dc SHA1 a4094525dc723e80a42900da4aa7985c4d2a5178 SHA256 668e050096578d990d23e9a6b43ba14b7f3a071c2160a9cf3a13dd9e3661cc7c
DIST pycuda-0.92.tar.gz 73918 RMD160 12e6e560989c2df4cbdfc5e60d9ae2cdc1e5ac50 SHA1 36924109d4559cb799edc713b5d7bf3d200b0424 SHA256 39b849b78ffa698ce36e8404a2db1f7b8c09641d6ad709c98c808b55a59cf3ea
+DIST pycuda-0.93.tar.gz 97571 RMD160 2192a3ec6b49a778294a0b3e8aa9e5e0abbce3fb SHA1 cc3981760944c1f6ee4a8316694acab83c795121 SHA256 4902638428dcb9fc06792bf437b0de31325a615224f7c6e1a8d5a18b91639439
EBUILD pycuda-0.92.ebuild 1004 RMD160 c2780cdad1352e4688d76ea355dc3c646b8d34be SHA1 bf6869814c8e8e8e18014dd233c04e6838646fd9 SHA256 a8c51b33713a4ef37ac08f28f7b2793506e29dd10b6a6aaa2e6ba9183b3a47e7
+EBUILD pycuda-0.93.ebuild 1127 RMD160 38aed4d4c03daeac47672c909afaa28a3a5e1008 SHA1 8c2d05ce09c67565d4ee7b15ec6caeea880ecfcd SHA256 425e348bcee0db30b7fc8f8f1ba6eb8eefecd5030e578af14f9af6176ddae52a
EBUILD pycuda-9999.ebuild 1142 RMD160 d03f6acb506fa5ab978c5d881b599d0103b4d836 SHA1 4b789267ba5be2f719be34979f69db77f798cfe7 SHA256 b8e6ac14924fde466431d338ab9013d75fe3f0d2caa627b55948a09f28533126
-MISC ChangeLog 659 RMD160 53449579e3333b38f685eb5eeecbdb1f86ef2416 SHA1 fbf157ff9a07a5b99d3b8e7023f4697dc91ffbfb SHA256 55a2d43934d5a70b014f5fbace5fa4ff44b1c86595712495f9e0f84232c96b6d
+MISC ChangeLog 834 RMD160 62afcd9ee85259254c6d48f80843991a27e5d5f4 SHA1 28a314b3b22c1c55831b4425185ef812196ef8ca SHA256 d601a06358241be7192147806c55b7f9323859a2a6569f08e06a713e9f503b36
MISC metadata.xml 220 RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 SHA1 7810907f03c5a3ee23eeaa4b42699ce17bc5c3a7 SHA256 969b4125e7620e2fe0d616cb3cabbe52bd79e6c4bdd725ce807d5f4c7c1ad75d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkszwHUACgkQchej4aZK9/fbJwCfT3MdPZSNgxJ2QUpnUwoenn1l
+MHIAnA1nqo5xqgj6wNprS//XE673vjWA
+=SZka
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pycuda/files/pycuda-0.93-fix-include-path.patch b/dev-python/pycuda/files/pycuda-0.93-fix-include-path.patch
new file mode 100644
index 000000000000..ab765ae19479
--- /dev/null
+++ b/dev-python/pycuda/files/pycuda-0.93-fix-include-path.patch
@@ -0,0 +1,41 @@
+diff -r -u -w pycuda-0.93-old/pycuda/compiler.py pycuda-0.93/pycuda/compiler.py
+--- pycuda-0.93-old/pycuda/compiler.py 2009-05-28 07:45:53.000000000 -0500
++++ pycuda-0.93/pycuda/compiler.py 2009-08-12 15:49:00.000000000 -0500
+@@ -115,14 +115,25 @@
+ file, pathname, descr = find_module("pycuda")
+
+ from os.path import join, exists
+- installed_path = join(pathname, "..", "include", "cuda")
++ installed_path = join(pathname, "..", "include", "pycuda")
+ development_path = join(pathname, "..", "src", "cuda")
+
++ usr_path = "/usr/include/pycuda"
++ usr_local_path = "/usr/local/include/pycuda"
++
++ import sys
++
+ if exists(installed_path):
+ return installed_path
+ elif exists(development_path):
+ return development_path
+ else:
++ if sys.platform == "linux2":
++ if exists(usr_path):
++ return usr_path
++ elif exists(usr_local_path):
++ return usr_local_path
++
+ raise RuntimeError("could not find path PyCUDA's C header files")
+
+
+diff -r -u -w pycuda-0.93-old/setup.py pycuda-0.93/setup.py
+--- pycuda-0.93-old/setup.py 2009-08-10 08:17:18.000000000 -0500
++++ pycuda-0.93/setup.py 2009-08-12 15:47:22.000000000 -0500
+@@ -314,7 +314,7 @@
+ ],
+
+ data_files=[
+- ("include/cuda", glob.glob("src/cuda/*.hpp"))
++ ("include/pycuda", glob.glob("src/cuda/*.hpp"))
+ ],
+ )
diff --git a/dev-python/pycuda/pycuda-0.93.ebuild b/dev-python/pycuda/pycuda-0.93.ebuild
new file mode 100644
index 000000000000..66fa6d0226ea
--- /dev/null
+++ b/dev-python/pycuda/pycuda-0.93.ebuild
@@ -0,0 +1,51 @@
+# 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-0.93.ebuild,v 1.1 2009/12/24 19:27:56 spock Exp $
+
+EAPI="2"
+
+inherit distutils eutils
+
+DESCRIPTION="Python wrapper for NVIDIA CUDA"
+HOMEPAGE="http://mathema.tician.de/software/pycuda"
+SRC_URI="http://pypi.python.org/packages/source/p/pycuda/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="dev-python/pytools
+ dev-libs/boost[python]
+ >=dev-util/nvidia-cuda-toolkit-2.0
+ >=dev-python/numpy-1.0.4"
+DEPEND="${RDEPEND}"
+
+src_prepare()
+{
+ epatch "${FILESDIR}"/${P}-fix-include-path.patch
+}
+
+src_configure()
+{
+ ./configure.py --cuda-root="${ROOT}opt/cuda" \
+ --boost-python-libname=boost_python-mt \
+ --boost-thread-libname=boost_thread-mt
+}
+
+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
+}