summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-07-28 00:12:05 +0100
committerMarek Szuba <marecki@gentoo.org>2022-07-28 00:37:12 +0100
commit9bf800e6437e53fd472f7b684c0aee11dc5e0c65 (patch)
treeae1e3c48174328c9fd19a91a3070b8f4b9bf5a3b /dev-python/pyopencl
parentdev-python/pyopencl: drop 2022.1 (diff)
downloadgentoo-9bf800e6437e53fd472f7b684c0aee11dc5e0c65.tar.gz
gentoo-9bf800e6437e53fd472f7b684c0aee11dc5e0c65.tar.bz2
gentoo-9bf800e6437e53fd472f7b684c0aee11dc5e0c65.zip
dev-python/pyopencl: move media-libs/libglvnd to DEPEND
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/pyopencl')
-rw-r--r--dev-python/pyopencl/pyopencl-2022.1.6.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
index f4ac98b955a8..19e2c5a987c8 100644
--- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
@@ -18,17 +18,18 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc64"
IUSE="examples opengl"
-DEPEND=">=virtual/opencl-2"
-RDEPEND="${DEPEND}
+COMMON=">=virtual/opencl-2"
+# libglvnd is only needed for the headers
+DEPEND="${COMMON}
+ opengl? ( media-libs/libglvnd )"
+RDEPEND="${COMMON}
>=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
>=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
-# libglvnd is only needed for the headers
BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
- <dev-python/pybind11-2.10.0[${PYTHON_USEDEP}]
- opengl? ( media-libs/libglvnd )"
+ <dev-python/pybind11-2.10.0[${PYTHON_USEDEP}]"
# 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