From 0b1f53c54388382ff701d00d3f5eb981ed040f2a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 28 Jul 2022 03:03:20 +0100 Subject: gentoo auto-resync : 28:07:2022 - 03:03:20 --- dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dev-python/pyopencl/pyopencl-2022.1.6.ebuild') diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild index aaaad732504f..19e2c5a987c8 100644 --- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild +++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild @@ -18,16 +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}] - opengl? ( media-libs/libglvnd )" +