summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pycuda/ChangeLog6
-rw-r--r--dev-python/pycuda/Manifest12
-rw-r--r--dev-python/pycuda/pycuda-0.93.ebuild15
-rw-r--r--dev-python/pycuda/pycuda-9999.ebuild13
4 files changed, 30 insertions, 16 deletions
diff --git a/dev-python/pycuda/ChangeLog b/dev-python/pycuda/ChangeLog
index b612dfa76b62..1d1852b9c6ae 100644
--- a/dev-python/pycuda/ChangeLog
+++ b/dev-python/pycuda/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pycuda
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.5 2010/02/08 11:43:46 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.6 2010/02/08 17:24:43 spock Exp $
+
+ 08 Feb 2010; Michał Januszewski <spock@gentoo.org> pycuda-0.93.ebuild,
+ pycuda-9999.ebuild:
+ Add the 'opengl' USE flag.
08 Feb 2010; Michał Januszewski <spock@gentoo.org> pycuda-9999.ebuild:
Depend on boost[python] instead of boost.
diff --git a/dev-python/pycuda/Manifest b/dev-python/pycuda/Manifest
index d9627d51153e..1f38af79d8cd 100644
--- a/dev-python/pycuda/Manifest
+++ b/dev-python/pycuda/Manifest
@@ -5,14 +5,14 @@ AUX pycuda-0.93-fix-include-path.patch 1474 RMD160 427e7d0cb27b614eb6970dee79d69
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 1140 RMD160 021ceda7215184666f574496a04d0ab403be76ac SHA1 72bc308cd5d92d482fc792feaf7c3243db15eefd SHA256 dd47cb803ec846faf32b540b2edd515b586fbf9f218c955154b27c3faf622ffd
-MISC ChangeLog 953 RMD160 733a4e5e8a28ecf8f5fbca8059f333f8ae6d70f4 SHA1 6ad29d5c3447f80b8e3e655d15728bc950ee9aa3 SHA256 676aea5c33648711f8f4350c08c02d515b08c32095069209f0f1aa6c60d3f3ae
+EBUILD pycuda-0.93.ebuild 1233 RMD160 d74bcda25bba71bfc5dc8b7ee804380e76fa5ccc SHA1 5d58859188654f000d4965b3c496370be0576e30 SHA256 52b460317b02c856566f0ff159b212b562f727041bbff8ba812e978351f624bc
+EBUILD pycuda-9999.ebuild 1251 RMD160 b7280946c09cf9c06f075842d0862a28b5344d36 SHA1 93d8c66e27a48e292a71a61b21550f35bd8915ad SHA256 67b7ef6ada69201d5e106bb724e907c89d9cc1c53ed8e20a509bd49d829e71fc
+MISC ChangeLog 1079 RMD160 71f3237c2b34ae4256c407bf7dc36d89e77e436d SHA1 9dba27b4452a743a6a20059cba3c5ac0defb89c0 SHA256 f26719d73eacd595d6b97126252843441470786abd75ebd580dd3c4d374800b7
MISC metadata.xml 220 RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 SHA1 7810907f03c5a3ee23eeaa4b42699ce17bc5c3a7 SHA256 969b4125e7620e2fe0d616cb3cabbe52bd79e6c4bdd725ce807d5f4c7c1ad75d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAktv+NQACgkQchej4aZK9/eTrACdEyb3e7AkidiufS3fFlGR2DSA
-j2AAn3GqtGzeQeQNBMLUVM1qtD+w/BuX
-=FKxY
+iEYEARECAAYFAktwSMQACgkQchej4aZK9/dHUACggj69ZEJocaWiUTyS8c3XfPUD
+0qEAnRaA/3yLh8UNoMVxTNZqIO11YEzB
+=l8Hu
-----END PGP SIGNATURE-----
diff --git a/dev-python/pycuda/pycuda-0.93.ebuild b/dev-python/pycuda/pycuda-0.93.ebuild
index 66fa6d0226ea..4dc38bae37d4 100644
--- a/dev-python/pycuda/pycuda-0.93.ebuild
+++ b/dev-python/pycuda/pycuda-0.93.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-0.93.ebuild,v 1.2 2010/02/08 17:24:43 spock Exp $
EAPI="2"
@@ -13,12 +13,13 @@ SRC_URI="http://pypi.python.org/packages/source/p/pycuda/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="examples"
+IUSE="examples opengl"
RDEPEND="dev-python/pytools
dev-libs/boost[python]
>=dev-util/nvidia-cuda-toolkit-2.0
- >=dev-python/numpy-1.0.4"
+ >=dev-python/numpy-1.0.4
+ virtual/opengl"
DEPEND="${RDEPEND}"
src_prepare()
@@ -28,9 +29,13 @@ src_prepare()
src_configure()
{
+ local myopts=""
+ use opengl && myopts="${myopts} --cuda-enable-gl"
+
./configure.py --cuda-root="${ROOT}opt/cuda" \
--boost-python-libname=boost_python-mt \
- --boost-thread-libname=boost_thread-mt
+ --boost-thread-libname=boost_thread-mt \
+ ${myopts}
}
src_install()
diff --git a/dev-python/pycuda/pycuda-9999.ebuild b/dev-python/pycuda/pycuda-9999.ebuild
index f39459c94088..62c60a2b65d8 100644
--- a/dev-python/pycuda/pycuda-9999.ebuild
+++ b/dev-python/pycuda/pycuda-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 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.3 2010/02/08 11:43:46 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.4 2010/02/08 17:24:43 spock Exp $
# Ebuild generated by g-pypi 0.2.1 (rev. 204)
EAPI="2"
@@ -16,12 +16,13 @@ SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="examples"
+IUSE="examples opengl"
RDEPEND="=dev-python/pytools-9999
dev-libs/boost[python]
>=dev-util/nvidia-cuda-toolkit-2.0
- >=dev-python/numpy-1.0.4"
+ >=dev-python/numpy-1.0.4
+ virtual/opengl"
DEPEND="${RDEPEND}"
@@ -30,7 +31,11 @@ src_unpack() {
}
src_configure() {
- ./configure.py --cuda-root="${ROOT}opt/cuda" --boost-python-libname=boost_python-mt --boost-thread-libname=boost_thread-mt --boost-compiler=gcc
+ local myopts=""
+ use opengl && myopts="${myopts} --cuda-enable-gl"
+ ./configure.py --cuda-root="${ROOT}opt/cuda" \
+ --boost-python-libname=boost_python-mt \
+ --boost-thread-libname=boost_thread-mt --boost-compiler=gcc ${myopts}
}
src_install() {