summaryrefslogtreecommitdiff
path: root/dev-python/pyopencl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyopencl')
-rw-r--r--dev-python/pyopencl/pyopencl-2021.1.3.ebuild3
-rw-r--r--dev-python/pyopencl/pyopencl-2021.2.2.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
index 47f3199a40bb..090d84ad58e9 100644
--- a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
@@ -26,7 +26,8 @@ RDEPEND="${COMMON}
>=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
DEPEND="${COMMON}
- dev-python/pybind11[${PYTHON_USEDEP}]"
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ opengl? ( media-libs/libglvnd )"
# The test suite fails if there are no OpenCL platforms available, and
# even if there is one (which requires the presence of both an OpenCL
diff --git a/dev-python/pyopencl/pyopencl-2021.2.2.ebuild b/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
index 0e8ea0cd925a..0419dfe5c92d 100644
--- a/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
@@ -26,7 +26,8 @@ RDEPEND="${COMMON}
>=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
DEPEND="${COMMON}
- dev-python/pybind11[${PYTHON_USEDEP}]"
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ opengl? ( media-libs/libglvnd )"
# The test suite fails if there are no OpenCL platforms available, and
# even if there is one (which requires the presence of both an OpenCL