From 992aa50a54a56c9e705ca4e85d809ec8989d74a2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 22 Sep 2022 05:27:18 +0100 Subject: gentoo auto-resync : 22:09:2022 - 05:27:18 --- dev-python/Manifest.gz | Bin 261388 -> 261389 bytes dev-python/html2text/Manifest | 2 +- dev-python/html2text/html2text-2020.1.16-r2.ebuild | 2 +- dev-python/pyopencl/Manifest | 2 + dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 65 +++++++++++++++++++++ 5 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 dev-python/pyopencl/pyopencl-2022.2.3.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 045d752873f8..5e63436743d9 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/html2text/Manifest b/dev-python/html2text/Manifest index 2aa78a5280d5..5f0f1e3045f8 100644 --- a/dev-python/html2text/Manifest +++ b/dev-python/html2text/Manifest @@ -1,3 +1,3 @@ DIST html2text-2020.1.16.tar.gz 49464 BLAKE2B f0331daa63b9e5d7508e0446e19b4dd4d05e5f7af0279efd71dc43b633f8273666189899a27cb598e8afdd5bd8ffb3d566b97327d82870ef44a81310d8e7e7c9 SHA512 14453c98e81d05afb3241b04a9e50caf63e4b6f857337b4bd9f53e6b8fa7146aa6a1f4f64777db9fa350316b19fe62a0033dce5748191ca9fbd17a8757002855 -EBUILD html2text-2020.1.16-r2.ebuild 719 BLAKE2B ffca64d569d7f17791665c9585d0219a8811d47cfee098826ae46f7716ec0eb88f8780e94bb58200622b9441c870a637d2349c5f813ef5abfece5073ad3253d1 SHA512 1708c28cdde272d7e04fc4f76fdc40b5ef4a010c60d65856e8008955d213669f8af34df468fa152d164e209f4d38574a9fa239f46344d54f6287074ddf805b23 +EBUILD html2text-2020.1.16-r2.ebuild 726 BLAKE2B f61dcf682f6b09c9526e59fb3592690b2ce1b0539ad1e7d18b1c52c23b4da7610f6a1b49f6459c9b321743ff451acc378522bf50f141e22232860f67b8b31868 SHA512 8a138730f7e8cab53fcaef55e6b5b7d79fe1637e0f3888b4cd736a9afa2c0098d08b5a82549498ad3f3e721646b78336f55cd1090a4b4d5fe15a50b19ddb9db7 MISC metadata.xml 394 BLAKE2B 45ca69b813241875394c5f6ac562bf6515671e22f8c802ab9197c37a7ef724fca96f8db7b5cccd5849da8f76be3a3f59c87801faa1acdd7eb908b196e6b39f95 SHA512 8a9c8941e6ab54fd5936756ba9f851d79ea3effa70cd8bbbcb05487c31e50cec6c072fe61d6fdffa009e754d1014676b06b1778daee82ae7a110f3ad9663d970 diff --git a/dev-python/html2text/html2text-2020.1.16-r2.ebuild b/dev-python/html2text/html2text-2020.1.16-r2.ebuild index 7e7517e4c0a9..520b38d8765a 100644 --- a/dev-python/html2text/html2text-2020.1.16-r2.ebuild +++ b/dev-python/html2text/html2text-2020.1.16-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~sparc x86" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" DOCS=( AUTHORS.rst ChangeLog.rst README.md ) diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 4627c581447c..0348b4aa534c 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1,3 +1,5 @@ DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237 SHA512 a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f +DIST pyopencl-2022.2.3.tar.gz 468218 BLAKE2B d747014c4cdb4d4303aa03fa16606f032b193497cf20909fd9e449f3c02e3d61dce55e44e93e769e4ec8f9c5f859c8d0a0f13bca1f1350dd7a29f6d92bcc3429 SHA512 b16feaa6d8a00cebb4f8c87d2aabed3472c45484eb5ecd530cb8e3478cfc9a41386203ab8cac0450b211f3330c36b3c52846e73a31e346784182f2ca9e6f4123 EBUILD pyopencl-2022.1.6.ebuild 1819 BLAKE2B af8e6793bee7f165fe7d2914351363c8202207d47a353055b320cd58ba0f8f08bf53c457007bf45e2e3bd7b13eb25b8c51e3f8abfa446d3be85a47b472e3aee8 SHA512 d686767bc8ba8b39e82465e2c10379f6f9e2704786a443177278091fe55c93856c126d1729fd92bf8da605942a94bb0b91cd63b215164b1649ad0ffba5281236 +EBUILD pyopencl-2022.2.3.ebuild 1773 BLAKE2B 99a8d3b18daf9a531726e30fd8d21b4bd201356485c4db5c7bd873e60d549bcb1539d14236d5f790581c40f082195577e9c0ad55bee49146d443eb7e0081eb89 SHA512 74134b7f2206b1e8ba38bcf68118e0c796e9ffacce652fd7b0a176425f74329f4c663896489e392eab03233fd4861b4483eb6d26c1a37d60c60586b991ad9325 MISC metadata.xml 317 BLAKE2B ba532c522d5fd599dfd41180c9813f8124dc64cd3bc7a3a7b1ecdc121b216db4b43f6cae9c32c52a430fbf6e9a22c0cf27ffaf0041ca372d81666991bcf0e979 SHA512 845a8b83a5d7729ea0fca8b704de297b8b8c0d8f315fad0bea7c0c645bc79dd993209e9ca5e89ec9c8ddbe6db2b1f142c3e1f7e5b8e4b6259fe927527ce6a919 diff --git a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild new file mode 100644 index 000000000000..e966b7e97d34 --- /dev/null +++ b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 multiprocessing + +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 ~ppc64" +IUSE="examples opengl" + +COMMON=">=virtual/opencl-2" +# libglvnd is only needed for the headers +DEPEND="${COMMON} + opengl? ( media-libs/libglvnd )" +RDEPEND="${COMMON} + >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" +BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] + test? ( dev-libs/pocl )" + +distutils_enable_tests pytest + +python_configure_all() { + local myconf=() + if use opengl; then + myconf+=(--cl-enable-gl) + fi + + "${EPYTHON}" configure.py \ + "${myconf[@]}" +} + +python_test() { + # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present + local -x PYOPENCL_TEST="portable:pthread" + # Set the number of threads to match MAKEOPTS + local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) + # Change to the 'test' directory so that python does not try to import pyopencl from the source directory + # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) + pushd test >/dev/null || die + epytest + popd >/dev/null || die +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} -- cgit v1.2.3