mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/pyopencl: Fix deps
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=574346 Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
@@ -16,16 +17,19 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples opengl"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
RDEPEND="
|
||||
>=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
|
||||
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
|
||||
>=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
dev-python/pytools[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytools-2015.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=virtual/opencl-0-r1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
if use opengl; then
|
||||
myconf+=(--cl-enable-gl)
|
||||
|
||||
Reference in New Issue
Block a user