# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Python wrapper for OpenCL" HOMEPAGE="https://mathema.tician.de/software/pyopencl/ https://pypi.org/project/pyopencl/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc64" IUSE="examples opengl" 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}]" BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]