From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21621158095 for ; Sun, 21 Aug 2022 01:16:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC932E085A; Sun, 21 Aug 2022 01:16:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E535E085A for ; Sun, 21 Aug 2022 01:16:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3AB0B340BE8 for ; Sun, 21 Aug 2022 01:16:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94007578 for ; Sun, 21 Aug 2022 01:16:52 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1661044601.5e3534894ed3ab98d7a6782977228b72daebdf53.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyopencl/pyopencl-2022.1.6.ebuild X-VCS-Directories: dev-python/pyopencl/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 5e3534894ed3ab98d7a6782977228b72daebdf53 X-VCS-Branch: master Date: Sun, 21 Aug 2022 01:16:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c72524cd-2880-4bdd-91e2-1e4aa3b24085 X-Archives-Hash: 207f94ff7535daa20486dc6334132c41 commit: 5e3534894ed3ab98d7a6782977228b72daebdf53 Author: Christopher Kerr mykolab ch> AuthorDate: Sun Jul 31 09:30:13 2022 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sun Aug 21 01:16:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e353489 dev-python/pyopencl: Enable FEATURES=test using dev-libs/pocl as OpenCL implementation Use multiprocessing eclass to set thread count based on MAKEOPTS Closes: https://bugs.gentoo.org/861251 Signed-off-by: Christopher Kerr mykolab.ch> Signed-off-by: Marek Szuba gentoo.org> dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild index 19e2c5a987c8..a1d774b5553c 100644 --- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild +++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Python wrapper for OpenCL" HOMEPAGE="https://mathema.tician.de/software/pyopencl/ @@ -29,15 +29,10 @@ RDEPEND="${COMMON} >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] - /dev/null || die + epytest + popd >/dev/null || die +} + python_install_all() { if use examples; then dodoc -r examples