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: Tue, 13 Jul 2021 13:11:16
Message-Id: 1626181864.b8a5618abcfdc0770aae702186affa1649ef9afb.marecki@gentoo
1 commit: b8a5618abcfdc0770aae702186affa1649ef9afb
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 13 13:00:47 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 13 13:11:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a5618a
7
8 dev-python/pyopencl: drop 2021.2.3 and 2021.2.5, add 2021.2.6
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 dev-python/pyopencl/Manifest | 3 +-
13 dev-python/pyopencl/pyopencl-2021.2.3.ebuild | 57 ----------------------
14 ...cl-2021.2.5.ebuild => pyopencl-2021.2.6.ebuild} | 0
15 3 files changed, 1 insertion(+), 59 deletions(-)
16
17 diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
18 index 6e103b99195..f74a74ce907 100644
19 --- a/dev-python/pyopencl/Manifest
20 +++ b/dev-python/pyopencl/Manifest
21 @@ -1,3 +1,2 @@
22 DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76 SHA512 8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8
23 -DIST pyopencl-2021.2.3.tar.gz 450895 BLAKE2B 0395ee6ef32baa57fe9df0c9960f5d761cfced1cc8b87e51e7ebcc7cda6a6b651fc491acf6be525239576fedec2a8375935799fc77568e131dcb26436a59c6f1 SHA512 41ef44eac0112ceac15c1260198a0bd642c244f3ad45aa1d7feba70b55a3f257ce01f7c5a8eaf2ce1df263492452055286caad004101d8bdb2d4f7307fb339be
24 -DIST pyopencl-2021.2.5.tar.gz 449527 BLAKE2B 922970c6aa93d2ce600c1e107fa3303c42bd44a264f7c38b30c8d2c909ec12e4cf8fa21dbaffa558c7b183141802ac13fe1a1032230b611b56503cfbaeae40c1 SHA512 a8784e0c6ae9a3c2d8f463405d5bbfe4ac1df138fd5f1ca8ce622afaab787333574c6ee8f4a828c09dc36c1b7a5df8fbe5d70e2236be32d457c3e1cbdeb880e5
25 +DIST pyopencl-2021.2.6.tar.gz 450194 BLAKE2B be9d0bf653f77d33a4337deab9189a5a9031ff50526444283c6fb9f8625d0451cb211ff703b5eb86c18beebb973f8f7a7cc93da3efc6bb4e95cd533d633fde93 SHA512 b7bea4903a34104c538545c611554c1651ae7a94ee56d8c7129a88a9e547911fac085617b4238fac33534c9b981bcfdb9fabd716456a86fa428cfd42d9cb128c
26
27 diff --git a/dev-python/pyopencl/pyopencl-2021.2.3.ebuild b/dev-python/pyopencl/pyopencl-2021.2.3.ebuild
28 deleted file mode 100644
29 index 32a5237b3e9..00000000000
30 --- a/dev-python/pyopencl/pyopencl-2021.2.3.ebuild
31 +++ /dev/null
32 @@ -1,57 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Python wrapper for OpenCL"
43 -HOMEPAGE="https://mathema.tician.de/software/pyopencl/
44 - https://pypi.org/project/pyopencl/"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~amd64"
50 -IUSE="examples opengl"
51 -
52 -COMMON="dev-python/numpy[${PYTHON_USEDEP}]
53 - >=virtual/opencl-2"
54 -RDEPEND="${COMMON}
55 - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
56 - >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
57 - dev-python/mako[${PYTHON_USEDEP}]
58 - >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]
59 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
60 -DEPEND="${COMMON}
61 - dev-python/pybind11[${PYTHON_USEDEP}]
62 - opengl? ( media-libs/libglvnd )"
63 -
64 -# The test suite fails if there are no OpenCL platforms available, and
65 -# even if there is one (which requires the presence of both an OpenCL
66 -# runtime *and* hardware supported by it - simply emerging any runtime
67 -# is not enough) the vast majority of tests end up skipped because by
68 -# default the portage user hasn't got sufficient privileges to talk
69 -# to the GPU.
70 -RESTRICT="test"
71 -
72 -python_configure_all() {
73 - local myconf=()
74 - if use opengl; then
75 - myconf+=(--cl-enable-gl)
76 - fi
77 -
78 - "${EPYTHON}" configure.py \
79 - "${myconf[@]}"
80 -}
81 -
82 -python_install_all() {
83 - if use examples; then
84 - dodoc -r examples
85 - docompress -x /usr/share/doc/${PF}/examples
86 - fi
87 -
88 - distutils-r1_python_install_all
89 -}
90
91 diff --git a/dev-python/pyopencl/pyopencl-2021.2.5.ebuild b/dev-python/pyopencl/pyopencl-2021.2.6.ebuild
92 similarity index 100%
93 rename from dev-python/pyopencl/pyopencl-2021.2.5.ebuild
94 rename to dev-python/pyopencl/pyopencl-2021.2.6.ebuild