diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-28 00:48:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-28 00:48:11 +0000 |
| commit | 0a8c587d410ee6ce3061ea29946d6f17975b3a0e (patch) | |
| tree | 99233fd473a7bb54e814c2150fefc169b4825f31 /dev-python/pyopencl | |
| parent | dd7eafae9839159e5368dae25acb6f73825b3130 (diff) | |
| download | baldeagleos-repo-0a8c587d410ee6ce3061ea29946d6f17975b3a0e.tar.gz baldeagleos-repo-0a8c587d410ee6ce3061ea29946d6f17975b3a0e.tar.xz baldeagleos-repo-0a8c587d410ee6ce3061ea29946d6f17975b3a0e.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pyopencl')
| -rw-r--r-- | dev-python/pyopencl/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyopencl/pyopencl-2022.1.5.ebuild | 1 | ||||
| -rw-r--r-- | dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 10 | ||||
| -rw-r--r-- | dev-python/pyopencl/pyopencl-2022.1.ebuild | 57 |
4 files changed, 7 insertions, 62 deletions
diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index aceb0b93a97a..bf404f74cf95 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1,3 +1,2 @@ DIST pyopencl-2022.1.5.tar.gz 454129 BLAKE2B 266bc327c9af5654287fc47cdf4e6002c7cddcd6f5e55bb70bb62aaee666dc5c102f78d4e946f010c1e109390c1d2e981e7ca6ca002d10f66248cb008b308734 SHA512 e6eb3e6d886d8ca1d94867a398b286556fd2d93535bb8481c7603cd521cd47606ce3d9cd6422830c6404305a4a1293234d8774fdda6923bdd2b4fc21fb39d377 DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237 SHA512 a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f -DIST pyopencl-2022.1.tar.gz 452537 BLAKE2B 0d4d178a6bdf14dc3769dcb78c42bc894c0a443a6811fe9b25dedbc4a43debc06d1a1c32cb2a0df06fe16d1b2e78e65ef4f3ca8e9931be39384b3c8c813336de SHA512 e873807e757c19b59dbac2a0522fbb9c6e8af955d62bdcf06d8f3d792db3c9d2ce15372a6eefdca5b3f6756c35a85b5ff8d7dc1b6449bfd12c2b588576dd6f24 diff --git a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild index aa84b0ab6109..54d98d41bcb9 100644 --- a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild +++ b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild @@ -27,6 +27,7 @@ RDEPEND="${DEPEND} # 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 )" # The test suite fails if there are no OpenCL platforms available, and diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild index 7ab584d8fd20..09a3c36e409c 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 )" + <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 diff --git a/dev-python/pyopencl/pyopencl-2022.1.ebuild b/dev-python/pyopencl/pyopencl-2022.1.ebuild deleted file mode 100644 index 6e9573a0f5f8..000000000000 --- a/dev-python/pyopencl/pyopencl-2022.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,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" -IUSE="examples opengl" - -DEPEND=">=virtual/opencl-2" -RDEPEND="${DEPEND} - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] - dev-python/numpy[${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 )" - -# 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 -# runtime *and* hardware supported by it - simply emerging any runtime -# is not enough) the vast majority of tests end up skipped because by -# default the portage user hasn't got sufficient privileges to talk -# to the GPU. -RESTRICT="test" - -python_configure_all() { - local myconf=() - if use opengl; then - myconf+=(--cl-enable-gl) - fi - - "${EPYTHON}" configure.py \ - "${myconf[@]}" -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} |
