Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/
Date: Fri, 02 Sep 2022 11:00:57
Message-Id: 1662116360.b6dbba52f2c173c052e10a5b64051160bd6af1e9.marecki@gentoo
1 commit: b6dbba52f2c173c052e10a5b64051160bd6af1e9
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 10:59:20 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 10:59:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6dbba52
7
8 dev-python/pyopencl: drop 2022.1.5
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 dev-python/pyopencl/Manifest | 1 -
13 dev-python/pyopencl/pyopencl-2022.1.5.ebuild | 58 ----------------------------
14 2 files changed, 59 deletions(-)
15
16 diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
17 index bf404f74cf95..5f61f35b51dc 100644
18 --- a/dev-python/pyopencl/Manifest
19 +++ b/dev-python/pyopencl/Manifest
20 @@ -1,2 +1 @@
21 -DIST pyopencl-2022.1.5.tar.gz 454129 BLAKE2B 266bc327c9af5654287fc47cdf4e6002c7cddcd6f5e55bb70bb62aaee666dc5c102f78d4e946f010c1e109390c1d2e981e7ca6ca002d10f66248cb008b308734 SHA512 e6eb3e6d886d8ca1d94867a398b286556fd2d93535bb8481c7603cd521cd47606ce3d9cd6422830c6404305a4a1293234d8774fdda6923bdd2b4fc21fb39d377
22 DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237 SHA512 a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f
23
24 diff --git a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
25 deleted file mode 100644
26 index b6ce5908fee9..000000000000
27 --- a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
28 +++ /dev/null
29 @@ -1,58 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -PYTHON_COMPAT=( python3_{8..10} )
36 -DISTUTILS_USE_PEP517=setuptools
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="Python wrapper for OpenCL"
41 -HOMEPAGE="https://mathema.tician.de/software/pyopencl/
42 - https://pypi.org/project/pyopencl/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="amd64"
48 -IUSE="examples opengl"
49 -
50 -DEPEND=">=virtual/opencl-2"
51 -RDEPEND="${DEPEND}
52 - >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
53 - dev-python/numpy[${PYTHON_USEDEP}]
54 - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
55 - >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
56 -# libglvnd is only needed for the headers
57 -BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
58 - >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
59 - <dev-python/pybind11-2.10.0[${PYTHON_USEDEP}]
60 - opengl? ( media-libs/libglvnd )"
61 -
62 -# The test suite fails if there are no OpenCL platforms available, and
63 -# even if there is one (which requires the presence of both an OpenCL
64 -# runtime *and* hardware supported by it - simply emerging any runtime
65 -# is not enough) the vast majority of tests end up skipped because by
66 -# default the portage user hasn't got sufficient privileges to talk
67 -# to the GPU.
68 -RESTRICT="test"
69 -
70 -python_configure_all() {
71 - local myconf=()
72 - if use opengl; then
73 - myconf+=(--cl-enable-gl)
74 - fi
75 -
76 - "${EPYTHON}" configure.py \
77 - "${myconf[@]}"
78 -}
79 -
80 -python_install_all() {
81 - if use examples; then
82 - dodoc -r examples
83 - docompress -x /usr/share/doc/${PF}/examples
84 - fi
85 -
86 - distutils-r1_python_install_all
87 -}