summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-23 09:32:46 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-23 09:32:46 +0000
commit4ecb1f48bf93e3857217d9cd1dd407a8551858fe (patch)
treefed4958f5731f12387f8ab734a580d35b0caaeb3 /dev-python/pycuda
parentImprove systemd unit file (#491842 by Stefan G. Weichinger) (diff)
downloadgentoo-2-4ecb1f48bf93e3857217d9cd1dd407a8551858fe.tar.gz
gentoo-2-4ecb1f48bf93e3857217d9cd1dd407a8551858fe.tar.bz2
gentoo-2-4ecb1f48bf93e3857217d9cd1dd407a8551858fe.zip
dev-python/pycuda: Fix py3 support, #484262
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/pycuda')
-rw-r--r--dev-python/pycuda/ChangeLog6
-rw-r--r--dev-python/pycuda/pycuda-2013.1.1.ebuild6
-rw-r--r--dev-python/pycuda/pycuda-9999.ebuild8
3 files changed, 12 insertions, 8 deletions
diff --git a/dev-python/pycuda/ChangeLog b/dev-python/pycuda/ChangeLog
index 2d946d04e7c3..3889f75e2f83 100644
--- a/dev-python/pycuda/ChangeLog
+++ b/dev-python/pycuda/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pycuda
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.21 2013/07/07 19:15:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/ChangeLog,v 1.22 2013/11/23 09:32:46 jlec Exp $
+
+ 23 Nov 2013; Justin Lecher <jlec@gentoo.org> pycuda-2013.1.1.ebuild,
+ pycuda-9999.ebuild:
+ Fix py3 support, #484262
*pycuda-2013.1.1 (07 Jul 2013)
diff --git a/dev-python/pycuda/pycuda-2013.1.1.ebuild b/dev-python/pycuda/pycuda-2013.1.1.ebuild
index 49f0573391cd..6bf8cc7d3de4 100644
--- a/dev-python/pycuda/pycuda-2013.1.1.ebuild
+++ b/dev-python/pycuda/pycuda-2013.1.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-2013.1.1.ebuild,v 1.1 2013/07/07 19:15:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-2013.1.1.ebuild,v 1.2 2013/11/23 09:32:46 jlec Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
inherit cuda distutils-r1 multilib
@@ -22,7 +22,7 @@ RDEPEND="
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
- >=dev-python/pytools-2011.2[${PYTHON_USEDEP}]
+ >=dev-python/pytools-2013[${PYTHON_USEDEP}]
dev-util/nvidia-cuda-toolkit
x11-drivers/nvidia-drivers
opengl? ( virtual/opengl )"
diff --git a/dev-python/pycuda/pycuda-9999.ebuild b/dev-python/pycuda/pycuda-9999.ebuild
index 73059b872ece..dfd35b417e49 100644
--- a/dev-python/pycuda/pycuda-9999.ebuild
+++ b/dev-python/pycuda/pycuda-9999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 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.13 2013/07/07 19:15:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pycuda/pycuda-9999.ebuild,v 1.14 2013/11/23 09:32:46 jlec Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
inherit cuda distutils-r1 git-2 multilib
@@ -56,7 +56,7 @@ python_prepare_all() {
python_configure() {
local myopts=()
- use opengl && myopts+=(--cuda-enable-gl)
+ use opengl && myopts+=( --cuda-enable-gl )
mkdir "${BUILD_DIR}" || die
cd "${BUILD_DIR}" || die
@@ -72,7 +72,7 @@ python_configure() {
--cuda-inc-dir="${EPREFIX}/opt/cuda/include" \
--no-use-shipped-boost \
"${myopts[@]}"
- }
+}
src_test() {
# we need write access to this to run the tests
addwrite /dev/nvidia0