Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/
Date: Sun, 18 Apr 2021 07:06:05
Message-Id: 1618729550.37bad3b8064d7db770acbb46d5cb46c9fa6b2bd5.mgorny@gentoo
1 commit: 37bad3b8064d7db770acbb46d5cb46c9fa6b2bd5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 06:58:46 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 07:05:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bad3b8
7
8 dev-python/pyopencl: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyopencl/Manifest | 1 -
13 dev-python/pyopencl/pyopencl-2020.3.1.ebuild | 56 ----------------------------
14 2 files changed, 57 deletions(-)
15
16 diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
17 index c0dbc7aa13b..5d7a2e38fb3 100644
18 --- a/dev-python/pyopencl/Manifest
19 +++ b/dev-python/pyopencl/Manifest
20 @@ -1,2 +1 @@
21 -DIST pyopencl-2020.3.1.tar.gz 357422 BLAKE2B de9cb6408e957e30f54797ce682ed17f3272dc82019bcd9a744a0696a7e344f47645a3549332da90e0bcc442f7a8ea9c6a12a375875a9728fa9814ca9d1a9b30 SHA512 459d6f060f4203e83276c47bf832f33fc4348dd59904ea55fe2a53684cb7c8eaad45875476d10dcb6653820f9cb1f7e013c6b854410b2040b2dfe847fc1f7658
22 DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76 SHA512 8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8
23
24 diff --git a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
25 deleted file mode 100644
26 index 2c8ad069433..00000000000
27 --- a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
28 +++ /dev/null
29 @@ -1,56 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7..9} )
36 -
37 -inherit distutils-r1
38 -
39 -DESCRIPTION="Python wrapper for OpenCL"
40 -HOMEPAGE="https://mathema.tician.de/software/pyopencl/
41 - https://pypi.org/project/pyopencl/"
42 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -KEYWORDS="amd64"
47 -IUSE="examples opengl"
48 -
49 -COMMON="dev-python/numpy[${PYTHON_USEDEP}]"
50 -RDEPEND="${COMMON}
51 - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
52 - >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
53 - dev-python/mako[${PYTHON_USEDEP}]
54 - >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
55 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
56 - >=virtual/opencl-2"
57 -DEPEND="${COMMON}
58 - dev-python/pybind11[${PYTHON_USEDEP}]"
59 -
60 -# The test suite fails if there are no OpenCL platforms available, and
61 -# even if there is one (which requires the presence of both an OpenCL
62 -# runtime *and* hardware supported by it - simply emerging any runtime
63 -# is not enough) the vast majority of tests end up skipped because by
64 -# default the portage user hasn't got sufficient privileges to talk
65 -# to the GPU.
66 -RESTRICT="test"
67 -
68 -python_configure_all() {
69 - local myconf=()
70 - if use opengl; then
71 - myconf+=(--cl-enable-gl)
72 - fi
73 -
74 - "${EPYTHON}" configure.py \
75 - "${myconf[@]}"
76 -}
77 -
78 -python_install_all() {
79 - if use examples; then
80 - dodoc -r examples
81 - docompress -x /usr/share/doc/${PF}/examples
82 - fi
83 -
84 - distutils-r1_python_install_all
85 -}