public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/
Date: Thu,  1 Jul 2021 11:02:40 +0000 (UTC)	[thread overview]
Message-ID: <1625137336.58e7d2e06f0a8e26dedd37f8acb057c52e03d923.marecki@gentoo> (raw)

commit:     58e7d2e06f0a8e26dedd37f8acb057c52e03d923
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  1 09:58:59 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jul  1 11:02:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e7d2e0

dev-python/pyopencl: bump to 2021.2.5 and EAPI 8

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-python/pyopencl/Manifest                 |  1 +
 dev-python/pyopencl/pyopencl-2021.2.5.ebuild | 55 ++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 6bc449246b7..6e103b99195 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,3 @@
 DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76 SHA512 8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8
 DIST pyopencl-2021.2.3.tar.gz 450895 BLAKE2B 0395ee6ef32baa57fe9df0c9960f5d761cfced1cc8b87e51e7ebcc7cda6a6b651fc491acf6be525239576fedec2a8375935799fc77568e131dcb26436a59c6f1 SHA512 41ef44eac0112ceac15c1260198a0bd642c244f3ad45aa1d7feba70b55a3f257ce01f7c5a8eaf2ce1df263492452055286caad004101d8bdb2d4f7307fb339be
+DIST pyopencl-2021.2.5.tar.gz 449527 BLAKE2B 922970c6aa93d2ce600c1e107fa3303c42bd44a264f7c38b30c8d2c909ec12e4cf8fa21dbaffa558c7b183141802ac13fe1a1032230b611b56503cfbaeae40c1 SHA512 a8784e0c6ae9a3c2d8f463405d5bbfe4ac1df138fd5f1ca8ce622afaab787333574c6ee8f4a828c09dc36c1b7a5df8fbe5d70e2236be32d457c3e1cbdeb880e5

diff --git a/dev-python/pyopencl/pyopencl-2021.2.5.ebuild b/dev-python/pyopencl/pyopencl-2021.2.5.ebuild
new file mode 100644
index 00000000000..9c4b6ac92a7
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2021.2.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+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"
+
+COMMON="dev-python/numpy[${PYTHON_USEDEP}]
+	>=virtual/opencl-2"
+RDEPEND="${COMMON}
+	>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+	dev-python/mako[${PYTHON_USEDEP}]
+	>=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
+DEPEND="${COMMON}
+	dev-python/pybind11[${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
+}


             reply	other threads:[~2021-07-01 11:02 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01 11:02 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-05  8:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/ Michał Górny
2024-10-05  8:08 Arthur Zamarin
2024-08-09 17:19 Sam James
2024-07-10 11:39 Jakov Smolić
2024-02-18 13:23 Michał Górny
2024-02-18 11:43 Jakov Smolić
2024-02-01 21:21 Marek Szuba
2023-11-25  8:38 Sam James
2023-10-26  0:31 Marek Szuba
2023-09-26  4:44 Michał Górny
2023-09-25 19:26 Sam James
2023-08-20  2:30 Michał Górny
2023-08-19 20:15 Sam James
2023-08-19 16:24 Marek Szuba
2023-07-10 23:04 Marek Szuba
2023-06-27 12:05 Michał Górny
2023-06-27  6:55 Sam James
2023-05-21 11:25 Marek Szuba
2023-03-11  9:49 Michał Górny
2023-03-11  9:49 Michał Górny
2023-03-11  8:10 Arthur Zamarin
2023-02-01 23:08 Marek Szuba
2022-12-25 17:45 Michał Górny
2022-12-25 16:42 Sam James
2022-11-14 11:06 Marek Szuba
2022-11-14 11:06 Marek Szuba
2022-11-08  4:54 Jakov Smolić
2022-11-01 13:10 Marek Szuba
2022-10-25 20:28 Sam James
2022-09-22  1:33 Marek Szuba
2022-09-02 11:00 Marek Szuba
2022-09-02 11:00 Marek Szuba
2022-08-21  1:16 Marek Szuba
2022-07-27 23:37 Marek Szuba
2022-07-27 23:37 Marek Szuba
2022-07-27 23:37 Marek Szuba
2022-07-26  4:46 Sam James
2022-06-30  9:02 Marek Szuba
2022-06-29 15:52 Marek Szuba
2022-05-30 12:11 Marek Szuba
2022-03-28 10:14 Michał Górny
2022-03-28  6:51 Agostino Sarubbo
2022-02-21 15:40 Marek Szuba
2022-02-18  9:19 Michał Górny
2022-02-17 22:02 Jakov Smolić
2022-01-17 21:08 Marek Szuba
2022-01-01  0:23 Marek Szuba
2021-12-17 18:57 Michał Górny
2021-12-17 18:30 Jakov Smolić
2021-11-17 13:40 Marek Szuba
2021-08-16  6:13 Michał Górny
2021-07-13 13:11 Marek Szuba
2021-06-25 10:14 Marek Szuba
2021-06-05 13:23 Marek Szuba
2021-05-25 12:31 Marek Szuba
2021-05-17 15:24 Marek Szuba
2021-05-17 14:50 Marek Szuba
2021-04-22 16:51 Marek Szuba
2021-04-18  7:05 Michał Górny
2021-04-18  1:44 Sam James
2021-03-15 12:49 Marek Szuba
2021-01-18 18:48 Michał Górny
2021-01-18 16:52 Sam James
2020-12-16 11:30 Michał Górny
2020-12-16 11:30 Michał Górny
2020-12-16 11:14 Sam James
2020-12-09 10:28 Marek Szuba
2020-09-21 20:09 Marek Szuba
2020-08-24 17:19 Marek Szuba
2020-07-29 11:33 Marek Szuba
2020-06-30 15:44 Marek Szuba
2020-06-29  6:19 Agostino Sarubbo
2020-06-26 17:35 Marek Szuba
2020-06-26 16:36 Marek Szuba
2020-06-26 16:10 Marek Szuba
2020-05-17 13:47 Michał Górny
2020-05-17  7:50 Michał Górny
2020-03-20  9:58 David Seifert
2019-12-15 19:16 Michał Górny
2018-07-02  0:49 Thomas Deutschmann
2018-06-30 10:04 Pacho Ramos
2018-06-26 17:43 Pacho Ramos
2018-03-17 10:51 Michał Górny
2018-01-05 23:19 Michał Górny
2017-09-25 12:42 Michael Palimaka
2017-09-18 19:51 Patrick Lauer
2017-07-31 10:49 Tobias Klausmann
2017-07-12 19:00 Pacho Ramos
2017-05-02 11:58 Michał Górny
2016-06-13  9:12 Patrick Lauer
2016-02-10 16:15 Justin Lecher
2016-01-06  8:28 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1625137336.58e7d2e06f0a8e26dedd37f8acb057c52e03d923.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox