[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2024-08-09 Thread Sam James
commit: 5e85c21030c28ec48decb7cbd6bd3a14ed4e1539
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  9 17:18:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  9 17:18:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e85c210

dev-python/pyopencl: Keyword 2024.2.7 ppc64, #935747

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2024.2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild 
b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
index 117e694ddaa9..4d3f3850dd76 100644
--- a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
+++ b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="~amd64 ~ppc64 ~riscv"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2024-07-10 Thread Jakov Smolić
commit: faac4c328ad8e7dde36969f5505d790c90b6dc20
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Jul 10 11:39:14 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Jul 10 11:39:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faac4c32

dev-python/pyopencl: Keyword 2024.2.7 riscv, #935747

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pyopencl/pyopencl-2024.2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild 
b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
index 33db2359adeb..117e694ddaa9 100644
--- a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
+++ b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/files/, dev-python/pyopencl/

2024-07-08 Thread Sam James
commit: 75c11d572e5d07168344bbb30e4353a2974396b1
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul  8 13:47:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul  8 13:59:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c11d57

dev-python/pyopencl: add 2024.2.7

Closes: https://bugs.gentoo.org/932639
Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 +
 .../files/pyopencl-2024.2.7-nanobind-flags.patch   | 13 
 dev-python/pyopencl/pyopencl-2024.2.7.ebuild   | 78 ++
 3 files changed, 92 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 101238db8683..e5dccc68b731 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2024.1.tar.gz 473860 BLAKE2B 
803c92418a609f3ad9249c81e93af0bd2e9125ee56dc88af8ee6ae9c4a275c7ab37befddd575914eb9f0b295aaef4f135358669e384a55c04b3938b02572724d
 SHA512 
abf27d67f8c3633c71e662938a919c88a34b0b66cc3c213644f92a8733aed3c9b7593542dd9b45a080941976dadeb4f49a23a986482110824b554e3a0d317176
+DIST pyopencl-2024.2.7.tar.gz 470964 BLAKE2B 
6c61d91735667dd63fec0375defe98fb681eb448780f86b0129769d30714adb51832955d8c2e838970f17187e5027f794cd21affc870910d23ec46126049d4ed
 SHA512 
5c9982f5dcaeb3faeb6ac6b88940b5baff43b7580fc5d466a596d9c180e45725cbf9971ba6ae4981202900b06cee3be7fa88fdf7227befee874a8f203a3a3267

diff --git a/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch 
b/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch
new file mode 100644
index ..e5816b924773
--- /dev/null
+++ b/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch
@@ -0,0 +1,13 @@
+nanobind defaults to adding -Os and friends: 
https://github.com/wjakob/nanobind/blob/b0136fe6ac1967cb2399456adc346a1af06a3b88/docs/api_cmake.rst#L80.
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -167,6 +167,9 @@ find_package(OpenCL REQUIRED)
+ nanobind_add_module(
+   _cl
+   NB_STATIC # Build static libnanobind (the extension module itself remains a 
shared library)
++  PROTECT_STACK
++  NOMINSIZE
++  NOSTRIP
+   src/wrap_constants.cpp
+   src/wrap_cl.cpp
+   src/wrap_cl_part_1.cpp

diff --git a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild 
b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
new file mode 100644
index ..33db2359adeb
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=scikit-build-core
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="
+   https://mathema.tician.de/software/pyopencl/
+   https://pypi.org/project/pyopencl/
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples opengl"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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-2024.1.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/nanobind[${PYTHON_USEDEP}]
+   test? ( dev-libs/pocl )
+"
+
+PATCHES=(
+   "${FILESDIR}"/pyopencl-2024.2.7-nanobind-flags.patch
+)
+
+distutils_enable_tests pytest
+
+python_configure_all() {
+   DISTUTILS_ARGS=(
+   -DPYOPENCL_ENABLE_GL=$(usex opengl)
+   )
+}
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2024-02-18 Thread Michał Górny
commit: 26abe1e0af88e0e603cec94cd98a19642afc
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 18 13:16:48 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 18 13:23:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26abe1e0

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2023.1.4.ebuild | 72 
 2 files changed, 73 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 70fe16772fd4..101238db8683 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2023.1.4.tar.gz 473899 BLAKE2B 
7d836d77b14f89b6dbf0dd2a189f3cb9442f224ff5c9c9db902aa93dc582278450b3d47576885bbe3738ee25f979a260d5c6f906366279adc30be7d3cc3545e1
 SHA512 
2508d21856d9b846bce14bcd11d007eedddc1cc5c1ce9f8d2ac18743ab9aa5d673c85792b535779b2f414caf47e39ed53c07d7ee8a061bcfa020a15f59463861
 DIST pyopencl-2024.1.tar.gz 473860 BLAKE2B 
803c92418a609f3ad9249c81e93af0bd2e9125ee56dc88af8ee6ae9c4a275c7ab37befddd575914eb9f0b295aaef4f135358669e384a55c04b3938b02572724d
 SHA512 
abf27d67f8c3633c71e662938a919c88a34b0b66cc3c213644f92a8733aed3c9b7593542dd9b45a080941976dadeb4f49a23a986482110824b554e3a0d317176

diff --git a/dev-python/pyopencl/pyopencl-2023.1.4.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.4.ebuild
deleted file mode 100644
index 2c2f1d602dd2..
--- a/dev-python/pyopencl/pyopencl-2023.1.4.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 multiprocessing pypi
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="
-   https://mathema.tician.de/software/pyopencl/
-   https://pypi.org/project/pyopencl/
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~riscv"
-IUSE="examples opengl"
-
-# Running tests on GPUs requires both appropriate hardware and additional 
permissions
-# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
-# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
-RESTRICT="test"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2024-02-18 Thread Jakov Smolić
commit: f15292f7a94d866c5e79232f0ead80626fb0f80e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 18 11:43:44 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 18 11:43:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f15292f7

dev-python/pyopencl: Stabilize 2024.1 amd64, #924810

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pyopencl/pyopencl-2024.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2024.1.ebuild 
b/dev-python/pyopencl/pyopencl-2024.1.ebuild
index 30bcf1530b3a..0cb03a72953a 100644
--- a/dev-python/pyopencl/pyopencl-2024.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2024.1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~ppc64 ~riscv"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2024-02-01 Thread Marek Szuba
commit: f5310866fad63f31379652c385d926887e8351c8
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Feb  1 21:19:19 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Feb  1 21:21:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5310866

dev-python/pyopencl: add 2024.1

Closes: https://bugs.gentoo.org/920881
Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 +
 dev-python/pyopencl/pyopencl-2024.1.ebuild | 72 ++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index e950e0a69346..70fe16772fd4 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2023.1.4.tar.gz 473899 BLAKE2B 
7d836d77b14f89b6dbf0dd2a189f3cb9442f224ff5c9c9db902aa93dc582278450b3d47576885bbe3738ee25f979a260d5c6f906366279adc30be7d3cc3545e1
 SHA512 
2508d21856d9b846bce14bcd11d007eedddc1cc5c1ce9f8d2ac18743ab9aa5d673c85792b535779b2f414caf47e39ed53c07d7ee8a061bcfa020a15f59463861
+DIST pyopencl-2024.1.tar.gz 473860 BLAKE2B 
803c92418a609f3ad9249c81e93af0bd2e9125ee56dc88af8ee6ae9c4a275c7ab37befddd575914eb9f0b295aaef4f135358669e384a55c04b3938b02572724d
 SHA512 
abf27d67f8c3633c71e662938a919c88a34b0b66cc3c213644f92a8733aed3c9b7593542dd9b45a080941976dadeb4f49a23a986482110824b554e3a0d317176

diff --git a/dev-python/pyopencl/pyopencl-2024.1.ebuild 
b/dev-python/pyopencl/pyopencl-2024.1.ebuild
new file mode 100644
index ..30bcf1530b3a
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2024.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="
+   https://mathema.tician.de/software/pyopencl/
+   https://pypi.org/project/pyopencl/
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv"
+IUSE="examples opengl"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/, dev-python/pyopencl/files/

2023-11-25 Thread Michał Górny
commit: 205ea2fc5cf9cacc645c7775300f8c0138ddf9b8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 10:34:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 10:34:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=205ea2fc

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 -
 .../pyopencl-2023.1.2_numpy-include-dir.patch  | 16 -
 dev-python/pyopencl/pyopencl-2023.1.2.ebuild   | 76 --
 3 files changed, 93 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index d9ab93703370..e950e0a69346 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2023.1.2.tar.gz 473684 BLAKE2B 
3912885395df515f3e935149c0bac618c371b75791ac670d1a2cd25ffe5e3ff1c4d0e82d8a475e26d3280aaa659d900ed7df66b3f6952f54266d3cd2ad3b44c2
 SHA512 
3414b011f0bd0420df4725904b715d54bad0ae77cb4b8619d8d769cd25b56d44a8d34788c23de80b5da5ae757f38231db980f3abcb2544117b7be7627592bf0e
 DIST pyopencl-2023.1.4.tar.gz 473899 BLAKE2B 
7d836d77b14f89b6dbf0dd2a189f3cb9442f224ff5c9c9db902aa93dc582278450b3d47576885bbe3738ee25f979a260d5c6f906366279adc30be7d3cc3545e1
 SHA512 
2508d21856d9b846bce14bcd11d007eedddc1cc5c1ce9f8d2ac18743ab9aa5d673c85792b535779b2f414caf47e39ed53c07d7ee8a061bcfa020a15f59463861

diff --git 
a/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch 
b/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch
deleted file mode 100644
index 7a5ce5f52bdc..
--- a/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
 a/aksetup_helper.py
-+++ b/aksetup_helper.py
-@@ -43,11 +43,8 @@
- 
- 
- def get_numpy_incpath():
--from imp import find_module
--# avoid actually importing numpy, it screws up distutils
--file, pathname, descr = find_module("numpy")
--from os.path import join
--return join(pathname, "core", "include")
-+import numpy as np
-+return np.get_include()
- 
- 
- class NumpyExtension(Extension):

diff --git a/dev-python/pyopencl/pyopencl-2023.1.2.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.2.ebuild
deleted file mode 100644
index ea1de1178ad4..
--- a/dev-python/pyopencl/pyopencl-2023.1.2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 multiprocessing pypi
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="
-   https://mathema.tician.de/software/pyopencl/
-   https://pypi.org/project/pyopencl/
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~riscv"
-IUSE="examples opengl"
-
-# Running tests on GPUs requires both appropriate hardware and additional 
permissions
-# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
-# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
-RESTRICT="test"
-
-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 )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-2023.1.2_numpy-include-dir.patch
-)
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-11-25 Thread Sam James
commit: af77041935cf40c73a0129f64958436f7d6ff470
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 08:37:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 08:37:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af770419

dev-python/pyopencl: Stabilize 2023.1.4 amd64, #918474

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2023.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2023.1.4.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.4.ebuild
index 2e70bde9cbd6..2c2f1d602dd2 100644
--- a/dev-python/pyopencl/pyopencl-2023.1.4.ebuild
+++ b/dev-python/pyopencl/pyopencl-2023.1.4.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~ppc64 ~riscv"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-10-25 Thread Marek Szuba
commit: f71a8e4a5b798210d591ae5aec625636e43fe69f
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Oct 25 22:58:22 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Oct 26 00:13:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71a8e4a

dev-python/pyopencl: add 2023.1.4

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2023.1.4.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index f3b617ad6322..d9ab93703370 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2023.1.2.tar.gz 473684 BLAKE2B 
3912885395df515f3e935149c0bac618c371b75791ac670d1a2cd25ffe5e3ff1c4d0e82d8a475e26d3280aaa659d900ed7df66b3f6952f54266d3cd2ad3b44c2
 SHA512 
3414b011f0bd0420df4725904b715d54bad0ae77cb4b8619d8d769cd25b56d44a8d34788c23de80b5da5ae757f38231db980f3abcb2544117b7be7627592bf0e
+DIST pyopencl-2023.1.4.tar.gz 473899 BLAKE2B 
7d836d77b14f89b6dbf0dd2a189f3cb9442f224ff5c9c9db902aa93dc582278450b3d47576885bbe3738ee25f979a260d5c6f906366279adc30be7d3cc3545e1
 SHA512 
2508d21856d9b846bce14bcd11d007eedddc1cc5c1ce9f8d2ac18743ab9aa5d673c85792b535779b2f414caf47e39ed53c07d7ee8a061bcfa020a15f59463861

diff --git a/dev-python/pyopencl/pyopencl-2023.1.4.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.4.ebuild
new file mode 100644
index ..2e70bde9cbd6
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2023.1.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="
+   https://mathema.tician.de/software/pyopencl/
+   https://pypi.org/project/pyopencl/
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv"
+IUSE="examples opengl"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-09-25 Thread Michał Górny
commit: f95f384e198d3b64094cedf1bcd4bfe316ea4810
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 26 04:43:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 26 04:43:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95f384e

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2023.1.1.ebuild | 73 
 2 files changed, 74 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 02b743defb6b..f3b617ad6322 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 
4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985
 SHA512 
50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f
 DIST pyopencl-2023.1.2.tar.gz 473684 BLAKE2B 
3912885395df515f3e935149c0bac618c371b75791ac670d1a2cd25ffe5e3ff1c4d0e82d8a475e26d3280aaa659d900ed7df66b3f6952f54266d3cd2ad3b44c2
 SHA512 
3414b011f0bd0420df4725904b715d54bad0ae77cb4b8619d8d769cd25b56d44a8d34788c23de80b5da5ae757f38231db980f3abcb2544117b7be7627592bf0e

diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
deleted file mode 100644
index 352d1508a0b6..
--- a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# NOT compatible with python3_11 because it uses the deprecated module "imp"
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 multiprocessing pypi
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="
-   https://mathema.tician.de/software/pyopencl/
-   https://pypi.org/project/pyopencl/
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~riscv"
-IUSE="examples opengl"
-
-# Running tests on GPUs requires both appropriate hardware and additional 
permissions
-# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
-# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
-RESTRICT="test"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-09-25 Thread Sam James
commit: d25f627ff6db3a7ae8b4226afe3a68b5721fd788
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 25 19:25:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 25 19:25:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25f627f

dev-python/pyopencl: Stabilize 2023.1.2 amd64, #914681

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2023.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2023.1.2.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.2.ebuild
index b25bb0a7ec5d..ea1de1178ad4 100644
--- a/dev-python/pyopencl/pyopencl-2023.1.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2023.1.2.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~ppc64 ~riscv"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/, dev-python/pyopencl/files/

2023-08-20 Thread Marek Szuba
commit: 85d4a5c8f4fc13d77a81e857447ef92a86e89097
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Aug 20 16:50:34 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Aug 20 16:50:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d4a5c8

dev-python/pyopencl: add 2023.1.2

Now with py3.12 support thanks to a patch which uses the canonical NumPy
way of getting the location of its header files instead of messing with
imp.find_module(). Upstream said in the relevant file they did it that
way because importing numpy "screws up distutils", however either this
is no longer the case with the current versions of everything involved
or PEP-517 installation is not affected.

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 +
 .../pyopencl-2023.1.2_numpy-include-dir.patch  | 16 +
 dev-python/pyopencl/pyopencl-2023.1.2.ebuild   | 76 ++
 3 files changed, 93 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 581263015123..02b743defb6b 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 
4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985
 SHA512 
50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f
+DIST pyopencl-2023.1.2.tar.gz 473684 BLAKE2B 
3912885395df515f3e935149c0bac618c371b75791ac670d1a2cd25ffe5e3ff1c4d0e82d8a475e26d3280aaa659d900ed7df66b3f6952f54266d3cd2ad3b44c2
 SHA512 
3414b011f0bd0420df4725904b715d54bad0ae77cb4b8619d8d769cd25b56d44a8d34788c23de80b5da5ae757f38231db980f3abcb2544117b7be7627592bf0e

diff --git 
a/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch 
b/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch
new file mode 100644
index ..7a5ce5f52bdc
--- /dev/null
+++ b/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch
@@ -0,0 +1,16 @@
+--- a/aksetup_helper.py
 b/aksetup_helper.py
+@@ -43,11 +43,8 @@
+ 
+ 
+ def get_numpy_incpath():
+-from imp import find_module
+-# avoid actually importing numpy, it screws up distutils
+-file, pathname, descr = find_module("numpy")
+-from os.path import join
+-return join(pathname, "core", "include")
++import numpy as np
++return np.get_include()
+ 
+ 
+ class NumpyExtension(Extension):

diff --git a/dev-python/pyopencl/pyopencl-2023.1.2.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.2.ebuild
new file mode 100644
index ..b25bb0a7ec5d
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2023.1.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="
+   https://mathema.tician.de/software/pyopencl/
+   https://pypi.org/project/pyopencl/
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv"
+IUSE="examples opengl"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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 )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2023.1.2_numpy-include-dir.patch
+)
+
+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_inst

[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-08-19 Thread Michał Górny
commit: d942d80aeec6b5ff05c5cdc944f123175bf8e2ca
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug 20 02:26:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug 20 02:26:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d942d80a

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 -
 dev-python/pyopencl/pyopencl-2023.1.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 676bb4c02d92..581263015123 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
 DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 
4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985
 SHA512 
50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f
-DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B 
bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773
 SHA512 
3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244

diff --git a/dev-python/pyopencl/pyopencl-2023.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.ebuild
deleted file mode 100644
index c5b324926a54..
--- a/dev-python/pyopencl/pyopencl-2023.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 multiprocessing pypi
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="
-   https://mathema.tician.de/software/pyopencl/
-   https://pypi.org/project/pyopencl/
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64"
-IUSE="examples opengl"
-
-# Running tests on GPUs requires both appropriate hardware and additional 
permissions
-# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
-# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
-RESTRICT="test"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-08-19 Thread Sam James
commit: 3fb83a07f5123ed2774d7556f116ddcf7dfdb9ba
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 19 20:15:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 19 20:15:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb83a07

dev-python/pyopencl: Stabilize 2023.1.1 amd64, #912142

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2023.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
index 5243792a55d4..352d1508a0b6 100644
--- a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~ppc64 ~riscv"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-08-19 Thread Marek Szuba
commit: b87323af847e0c68a76c0b403cf319a9fcf57c9c
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Aug 19 15:19:51 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Aug 19 16:24:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b87323af

dev-python/pyopencl: disable py3.9, add note re: py3.12 incompatibility

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2023.1.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
index 21b8d7f3dd8d..5243792a55d4 100644
--- a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+# NOT compatible with python3_11 because it uses the deprecated module "imp"
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/, profiles/arch/riscv/

2023-08-19 Thread Marek Szuba
commit: 17ccdee4577df3615d1b8337dba3bfaa1198acc4
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Aug 19 12:17:33 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Aug 19 16:24:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ccdee4

dev-python/pyopencl: keyword 2023.1.1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2023.1.1.ebuild | 2 +-
 profiles/arch/riscv/package.use.mask | 4 
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
index 19df443f1f4b..21b8d7f3dd8d 100644
--- a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="~amd64 ~ppc64 ~riscv"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions

diff --git a/profiles/arch/riscv/package.use.mask 
b/profiles/arch/riscv/package.use.mask
index e0ca3f760942..ed829ed26b20 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 2019-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Marek Szuba  (2023-08-19)
+# Tests depend on currently unkeyworded dev-libs/pocl.
+dev-python/pyopencl test
+
 # Ionen Wolkens  (2023-07-26)
 # MPV currently[1] has no plans to support >=lua5-3 making luajit
 # the only choice for maintained lua. Apply mask/force to override



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-07-10 Thread Marek Szuba
commit: 0f7b864432327befd3044070bb2aa5e19454b492
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul 10 22:45:10 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul 10 23:04:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7b8644

dev-python/pyopencl: add 2023.1.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2023.1.1.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 38497f7ae21e..676bb4c02d92 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
+DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 
4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985
 SHA512 
50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f
 DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B 
bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773
 SHA512 
3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244

diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
new file mode 100644
index ..19df443f1f4b
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="
+   https://mathema.tician.de/software/pyopencl/
+   https://pypi.org/project/pyopencl/
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="examples opengl"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-06-27 Thread Michał Górny
commit: 932779dcba349430f333dfdad2835fd939587bab
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 27 12:04:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 12:04:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932779dc

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2022.3.1.ebuild | 71 
 2 files changed, 72 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 2d43b44836a8..38497f7ae21e 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2022.3.1.tar.gz 470441 BLAKE2B 
86ec602f3d73a64e34fe77b7985e64db332a685b33231ad7832d7e864f3170e3eee0aed42742b9892f7950a0f672a736e169ccd0ca08a124b7f20738b348dbff
 SHA512 
57944de69bb24f0f22fb2c0165cd4de5265f5329246fead8449d26e6cbe1204fd44ced70df9960aa54e7d285abe81d8f8a802ba62309de5f4865e882177025ae
 DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B 
bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773
 SHA512 
3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244

diff --git a/dev-python/pyopencl/pyopencl-2022.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
deleted file mode 100644
index c5b324926a54..
--- a/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 multiprocessing pypi
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="
-   https://mathema.tician.de/software/pyopencl/
-   https://pypi.org/project/pyopencl/
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64"
-IUSE="examples opengl"
-
-# Running tests on GPUs requires both appropriate hardware and additional 
permissions
-# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
-# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
-RESTRICT="test"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-06-26 Thread Sam James
commit: c60fd71e981e15637688ddd6d1056eaf9ad8aa07
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 06:54:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 06:54:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60fd71e

dev-python/pyopencl: Stabilize 2023.1 amd64, #909250

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2023.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2023.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.ebuild
index 50170e58a2a8..c5b324926a54 100644
--- a/dev-python/pyopencl/pyopencl-2023.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2023.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-05-21 Thread Marek Szuba
commit: 39af7a4d02169a0a4aed6a8acc4dd1cd5493429f
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun May 21 11:01:41 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun May 21 11:01:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39af7a4d

dev-python/pyopencl: add 2023.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 +
 dev-python/pyopencl/pyopencl-2023.1.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index bd2ca91fee07..2d43b44836a8 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2022.3.1.tar.gz 470441 BLAKE2B 
86ec602f3d73a64e34fe77b7985e64db332a685b33231ad7832d7e864f3170e3eee0aed42742b9892f7950a0f672a736e169ccd0ca08a124b7f20738b348dbff
 SHA512 
57944de69bb24f0f22fb2c0165cd4de5265f5329246fead8449d26e6cbe1204fd44ced70df9960aa54e7d285abe81d8f8a802ba62309de5f4865e882177025ae
+DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B 
bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773
 SHA512 
3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244

diff --git a/dev-python/pyopencl/pyopencl-2023.1.ebuild 
b/dev-python/pyopencl/pyopencl-2023.1.ebuild
new file mode 100644
index ..50170e58a2a8
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2023.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="
+   https://mathema.tician.de/software/pyopencl/
+   https://pypi.org/project/pyopencl/
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="examples opengl"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-03-11 Thread Michał Górny
commit: 54403246468d57146b9f464e801938e5278ee100
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 11 09:47:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 11 09:47:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54403246

dev-python/pyopencl: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.3.1.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
index 5b660b8c377c..c5b324926a54 100644
--- a/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
@@ -6,12 +6,13 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
 
-inherit distutils-r1 multiprocessing
+inherit distutils-r1 multiprocessing pypi
 
 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"
+HOMEPAGE="
+   https://mathema.tician.de/software/pyopencl/
+   https://pypi.org/project/pyopencl/
+"
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-03-11 Thread Michał Górny
commit: 6d720e9889ffdff3966b1cf6dda40509ccce281c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 11 09:43:57 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 11 09:43:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d720e98

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2022.2.4.ebuild | 70 
 2 files changed, 71 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 8c6ff082a610..bd2ca91fee07 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2022.2.4.tar.gz 468743 BLAKE2B 
52c0d1bfc1f01eef853efb334434eba81adfaa57d98592663145b3124110765f2afa936331e36b534abadf8d87a5c606ab32ab4452e0b8e87f1ee41c1ef2548c
 SHA512 
b1996dec89a6921216d624e5e38407dd7ada77f137e9c245f9c2dd634dd33d208ffdad57f84739e7942c64643c37ea2d044277fed85eefb362bbc331f4be3ab0
 DIST pyopencl-2022.3.1.tar.gz 470441 BLAKE2B 
86ec602f3d73a64e34fe77b7985e64db332a685b33231ad7832d7e864f3170e3eee0aed42742b9892f7950a0f672a736e169ccd0ca08a124b7f20738b348dbff
 SHA512 
57944de69bb24f0f22fb2c0165cd4de5265f5329246fead8449d26e6cbe1204fd44ced70df9960aa54e7d285abe81d8f8a802ba62309de5f4865e882177025ae

diff --git a/dev-python/pyopencl/pyopencl-2022.2.4.ebuild 
b/dev-python/pyopencl/pyopencl-2022.2.4.ebuild
deleted file mode 100644
index 5b660b8c377c..
--- a/dev-python/pyopencl/pyopencl-2022.2.4.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..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"
-
-# Running tests on GPUs requires both appropriate hardware and additional 
permissions
-# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
-# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
-RESTRICT="test"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-03-11 Thread Arthur Zamarin
commit: 106b560afeb48789d0c1a1d2f65ebe11d61af7e8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 11 08:10:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 11 08:10:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=106b560a

dev-python/pyopencl: Stabilize 2022.3.1 amd64, #900819

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
index ca30dc274779..5b660b8c377c 100644
--- a/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2023-02-01 Thread Marek Szuba
commit: 3d57bc5a46510156ca1d1042f4b2dea0be79416e
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Feb  1 23:06:26 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Feb  1 23:08:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d57bc5a

dev-python/pyopencl: add 2022.3.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2022.3.1.ebuild | 70 
 2 files changed, 71 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 29e14c0bab22..8c6ff082a610 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2022.2.4.tar.gz 468743 BLAKE2B 
52c0d1bfc1f01eef853efb334434eba81adfaa57d98592663145b3124110765f2afa936331e36b534abadf8d87a5c606ab32ab4452e0b8e87f1ee41c1ef2548c
 SHA512 
b1996dec89a6921216d624e5e38407dd7ada77f137e9c245f9c2dd634dd33d208ffdad57f84739e7942c64643c37ea2d044277fed85eefb362bbc331f4be3ab0
+DIST pyopencl-2022.3.1.tar.gz 470441 BLAKE2B 
86ec602f3d73a64e34fe77b7985e64db332a685b33231ad7832d7e864f3170e3eee0aed42742b9892f7950a0f672a736e169ccd0ca08a124b7f20738b348dbff
 SHA512 
57944de69bb24f0f22fb2c0165cd4de5265f5329246fead8449d26e6cbe1204fd44ced70df9960aa54e7d285abe81d8f8a802ba62309de5f4865e882177025ae

diff --git a/dev-python/pyopencl/pyopencl-2022.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
new file mode 100644
index ..ca30dc274779
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2022.3.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..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"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-12-25 Thread Michał Górny
commit: 2ed64d20f49c60e294e857625caa6d336345f426
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 25 17:44:47 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 25 17:44:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed64d20

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 70 
 2 files changed, 71 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 29c7d14f21be..29e14c0bab22 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2022.2.3.tar.gz 468218 BLAKE2B 
d747014c4cdb4d4303aa03fa16606f032b193497cf20909fd9e449f3c02e3d61dce55e44e93e769e4ec8f9c5f859c8d0a0f13bca1f1350dd7a29f6d92bcc3429
 SHA512 
b16feaa6d8a00cebb4f8c87d2aabed3472c45484eb5ecd530cb8e3478cfc9a41386203ab8cac0450b211f3330c36b3c52846e73a31e346784182f2ca9e6f4123
 DIST pyopencl-2022.2.4.tar.gz 468743 BLAKE2B 
52c0d1bfc1f01eef853efb334434eba81adfaa57d98592663145b3124110765f2afa936331e36b534abadf8d87a5c606ab32ab4452e0b8e87f1ee41c1ef2548c
 SHA512 
b1996dec89a6921216d624e5e38407dd7ada77f137e9c245f9c2dd634dd33d208ffdad57f84739e7942c64643c37ea2d044277fed85eefb362bbc331f4be3ab0

diff --git a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild 
b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
deleted file mode 100644
index 6555792f7d0d..
--- a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# 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"
-
-# Running tests on GPUs requires both appropriate hardware and additional 
permissions
-# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
-# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
-RESTRICT="test"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-12-25 Thread Sam James
commit: ba288bdccb473db6b7d7c9856d6873bb26c45757
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 16:41:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 16:41:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba288bdc

dev-python/pyopencl: Stabilize 2022.2.4 amd64, #888375

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.2.4.ebuild 
b/dev-python/pyopencl/pyopencl-2022.2.4.ebuild
index 253582817f5b..6555792f7d0d 100644
--- a/dev-python/pyopencl/pyopencl-2022.2.4.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.2.4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-11-14 Thread Marek Szuba
commit: ace09ddee0952c5a6caed31c84cc2097991d68a2
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Nov 14 09:34:36 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Nov 14 11:05:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace09dde

dev-python/pyopencl: drop 2022.1.6

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 66 
 2 files changed, 67 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index fb4e17dbf0e2..6024160ae40b 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 
03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237
 SHA512 
a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f
 DIST pyopencl-2022.2.3.tar.gz 468218 BLAKE2B 
d747014c4cdb4d4303aa03fa16606f032b193497cf20909fd9e449f3c02e3d61dce55e44e93e769e4ec8f9c5f859c8d0a0f13bca1f1350dd7a29f6d92bcc3429
 SHA512 
b16feaa6d8a00cebb4f8c87d2aabed3472c45484eb5ecd530cb8e3478cfc9a41386203ab8cac0450b211f3330c36b3c52846e73a31e346784182f2ca9e6f4123

diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
deleted file mode 100644
index 051ab2404dee..
--- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-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}]
-   /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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-11-14 Thread Marek Szuba
commit: 49b1b623a1419da1b50e08c2d81ed1363de251f4
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Nov 14 09:56:47 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Nov 14 11:05:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b1b623

dev-python/pyopencl: add 2022.2.4

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2022.2.4.ebuild | 70 
 2 files changed, 71 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 6024160ae40b..29c7d14f21be 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2022.2.3.tar.gz 468218 BLAKE2B 
d747014c4cdb4d4303aa03fa16606f032b193497cf20909fd9e449f3c02e3d61dce55e44e93e769e4ec8f9c5f859c8d0a0f13bca1f1350dd7a29f6d92bcc3429
 SHA512 
b16feaa6d8a00cebb4f8c87d2aabed3472c45484eb5ecd530cb8e3478cfc9a41386203ab8cac0450b211f3330c36b3c52846e73a31e346784182f2ca9e6f4123
+DIST pyopencl-2022.2.4.tar.gz 468743 BLAKE2B 
52c0d1bfc1f01eef853efb334434eba81adfaa57d98592663145b3124110765f2afa936331e36b534abadf8d87a5c606ab32ab4452e0b8e87f1ee41c1ef2548c
 SHA512 
b1996dec89a6921216d624e5e38407dd7ada77f137e9c245f9c2dd634dd33d208ffdad57f84739e7942c64643c37ea2d044277fed85eefb362bbc331f4be3ab0

diff --git a/dev-python/pyopencl/pyopencl-2022.2.4.ebuild 
b/dev-python/pyopencl/pyopencl-2022.2.4.ebuild
new file mode 100644
index ..253582817f5b
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2022.2.4.ebuild
@@ -0,0 +1,70 @@
+# 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"
+
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-11-07 Thread Jakov Smolić
commit: aa32962824fbddd4406ccb7754a4a44690e2d064
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Nov  8 04:51:01 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Nov  8 04:51:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa329628

dev-python/pyopencl: Stabilize 2022.2.3 amd64, #877971

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild 
b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
index 253582817f5b..6555792f7d0d 100644
--- a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="examples opengl"
 
 # Running tests on GPUs requires both appropriate hardware and additional 
permissions



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-11-01 Thread Marek Szuba
commit: 12121e67bbbd982f7f689b5ccc13d0774da447ff
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Nov  1 13:08:23 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Nov  1 13:10:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12121e67

dev-python/pyopencl: restrict tests again

Worked for a while, now it triggers errors inside pOCL for at least some
users. It was fun while it lasted.

Closes: https://bugs.gentoo.org/872308
Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild 
b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
index e966b7e97d34..253582817f5b 100644
--- a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
@@ -18,6 +18,11 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc64"
 IUSE="examples opengl"
 
+# Running tests on GPUs requires both appropriate hardware and additional 
permissions
+# having been granted to the user running them. Testing on CPUs with 
dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug 
#872308.
+RESTRICT="test"
+
 COMMON=">=virtual/opencl-2"
 # libglvnd is only needed for the headers
 DEPEND="${COMMON}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-10-25 Thread Sam James
commit: 6a59b220d52a98327224453d4fc2730b8487f6c4
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 25 20:13:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 25 20:13:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a59b220

dev-python/pyopencl: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pyopencl/metadata.xml b/dev-python/pyopencl/metadata.xml
index cd62150444f7..e86864baa3fd 100644
--- a/dev-python/pyopencl/metadata.xml
+++ b/dev-python/pyopencl/metadata.xml
@@ -7,5 +7,6 @@


pyopencl
+   inducer/pyopencl

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-09-21 Thread Marek Szuba
commit: 9e55c4f4521aea6fd442c7964826430c167baecc
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep 22 01:32:37 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep 22 01:32:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e55c4f4

dev-python/pyopencl: add 2022.2.3

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 65 
 2 files changed, 66 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 5f61f35b51dc..fb4e17dbf0e2 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 
03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237
 SHA512 
a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f
+DIST pyopencl-2022.2.3.tar.gz 468218 BLAKE2B 
d747014c4cdb4d4303aa03fa16606f032b193497cf20909fd9e449f3c02e3d61dce55e44e93e769e4ec8f9c5f859c8d0a0f13bca1f1350dd7a29f6d92bcc3429
 SHA512 
b16feaa6d8a00cebb4f8c87d2aabed3472c45484eb5ecd530cb8e3478cfc9a41386203ab8cac0450b211f3330c36b3c52846e73a31e346784182f2ca9e6f4123

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-09-02 Thread Marek Szuba
commit: b6dbba52f2c173c052e10a5b64051160bd6af1e9
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep  2 10:59:20 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep  2 10:59:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6dbba52

dev-python/pyopencl: drop 2022.1.5

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2022.1.5.ebuild | 58 
 2 files changed, 59 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index bf404f74cf95..5f61f35b51dc 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2022.1.5.tar.gz 454129 BLAKE2B 
266bc327c9af5654287fc47cdf4e6002c7cddcd6f5e55bb70bb62aaee666dc5c102f78d4e946f010c1e109390c1d2e981e7ca6ca002d10f66248cb008b308734
 SHA512 
e6eb3e6d886d8ca1d94867a398b286556fd2d93535bb8481c7603cd521cd47606ce3d9cd6422830c6404305a4a1293234d8774fdda6923bdd2b4fc21fb39d377
 DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 
03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237
 SHA512 
a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f

diff --git a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
deleted file mode 100644
index b6ce5908fee9..
--- a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_PEP517=setuptools
-
-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"
-
-DEPEND=">=virtual/opencl-2"
-RDEPEND="${DEPEND}
-   >=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}]"
-# libglvnd is only needed for the headers
-BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-09-02 Thread Marek Szuba
commit: 3a76b8dc58d8bac5ea7e510a5dc8a59ebadd3a8b
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep  2 10:59:07 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep  2 10:59:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a76b8dc

dev-python/pyopencl: stabilize 2022.1.6 for amd64

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
index a1d774b5553c..051ab2404dee 100644
--- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="examples opengl"
 
 COMMON=">=virtual/opencl-2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-08-20 Thread Marek Szuba
commit: 5e3534894ed3ab98d7a6782977228b72daebdf53
Author: Christopher Kerr  mykolab  ch>
AuthorDate: Sun Jul 31 09:30:13 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Aug 21 01:16:41 2022 +
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



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-07-27 Thread Marek Szuba
commit: 9bf800e6437e53fd472f7b684c0aee11dc5e0c65
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 27 23:12:05 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 27 23:37:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf800e6

dev-python/pyopencl: move media-libs/libglvnd to DEPEND

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
index f4ac98b955a8..19e2c5a987c8 100644
--- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
@@ -18,17 +18,18 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc64"
 IUSE="examples opengl"
 
-DEPEND=">=virtual/opencl-2"
-RDEPEND="${DEPEND}
+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}]"
-# libglvnd is only needed for the headers
 BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-07-27 Thread Marek Szuba
commit: 05bc256413ee242b3d704a710cb1cc2f85b4b99b
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 27 23:09:50 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 27 23:37:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05bc2564

dev-python/pyopencl: drop 2022.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 -
 dev-python/pyopencl/pyopencl-2022.1.ebuild | 58 --
 2 files changed, 59 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index aceb0b93a97a..bf404f74cf95 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,3 +1,2 @@
 DIST pyopencl-2022.1.5.tar.gz 454129 BLAKE2B 
266bc327c9af5654287fc47cdf4e6002c7cddcd6f5e55bb70bb62aaee666dc5c102f78d4e946f010c1e109390c1d2e981e7ca6ca002d10f66248cb008b308734
 SHA512 
e6eb3e6d886d8ca1d94867a398b286556fd2d93535bb8481c7603cd521cd47606ce3d9cd6422830c6404305a4a1293234d8774fdda6923bdd2b4fc21fb39d377
 DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 
03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237
 SHA512 
a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f
-DIST pyopencl-2022.1.tar.gz 452537 BLAKE2B 
0d4d178a6bdf14dc3769dcb78c42bc894c0a443a6811fe9b25dedbc4a43debc06d1a1c32cb2a0df06fe16d1b2e78e65ef4f3ca8e9931be39384b3c8c813336de
 SHA512 
e873807e757c19b59dbac2a0522fbb9c6e8af955d62bdcf06d8f3d792db3c9d2ce15372a6eefdca5b3f6756c35a85b5ff8d7dc1b6449bfd12c2b588576dd6f24

diff --git a/dev-python/pyopencl/pyopencl-2022.1.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.ebuild
deleted file mode 100644
index c9d619a08692..
--- a/dev-python/pyopencl/pyopencl-2022.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_PEP517=setuptools
-
-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"
-
-DEPEND=">=virtual/opencl-2"
-RDEPEND="${DEPEND}
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
-# libglvnd is only needed for the headers
-BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-07-27 Thread Marek Szuba
commit: 7348691d6134aeaaf36e5e3d0280f412081169a0
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 27 23:06:08 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 27 23:37:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7348691d

dev-python/pyopencl: block pybind11-2.10

Closes: https://bugs.gentoo.org/858473
Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.1.5.ebuild | 1 +
 dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 1 +
 dev-python/pyopencl/pyopencl-2022.1.ebuild   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
index 261ffbe3f5b9..b6ce5908fee9 100644
--- a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
@@ -27,6 +27,7 @@ RDEPEND="${DEPEND}
 # libglvnd is only needed for the headers
 BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
+   =dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
+   =dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-07-25 Thread Sam James
commit: 99c89a5b299a0c5c81985b86de439f1c8b61fa12
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 04:44:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 04:44:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c89a5b

dev-python/pyopencl: Keyword 2022.1.6 ppc64, #861020

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
index dc2cb443735e..d732504f 100644
--- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc64"
 IUSE="examples opengl"
 
 DEPEND=">=virtual/opencl-2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-06-30 Thread Marek Szuba
commit: 7f155ea80033d734404fa83069e06efa318a2db7
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Jun 30 08:38:07 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Jun 30 09:01:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f155ea8

dev-python/pyopencl: stabilize 2022.1.5 for amd64

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
index dc2cb443735e..261ffbe3f5b9 100644
--- a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 DEPEND=">=virtual/opencl-2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-06-29 Thread Marek Szuba
commit: a4a6c26a899c106b6afe841da93344a6d7f92bb9
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jun 29 15:48:00 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jun 29 15:52:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a6c26a

dev-python/pyopencl: add 2022.1.6

py3.11 support continues to be blocked by pybind11 build errors.

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index cb94944ac75d..aceb0b93a97a 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,3 @@
 DIST pyopencl-2022.1.5.tar.gz 454129 BLAKE2B 
266bc327c9af5654287fc47cdf4e6002c7cddcd6f5e55bb70bb62aaee666dc5c102f78d4e946f010c1e109390c1d2e981e7ca6ca002d10f66248cb008b308734
 SHA512 
e6eb3e6d886d8ca1d94867a398b286556fd2d93535bb8481c7603cd521cd47606ce3d9cd6422830c6404305a4a1293234d8774fdda6923bdd2b4fc21fb39d377
+DIST pyopencl-2022.1.6.tar.gz 455424 BLAKE2B 
03c46bebc4d6093489b0a1501267d5d67b73e9e7fe50f73cec3dd752fbb699adab63e08d60f3a54c8fd215cbb82c81353d28e875b953686b05e188df78cfe237
 SHA512 
a1e404c4c5f95d111690c969ae5c5d34f0deca2c8b93a5ce4d90e003031af7eb94a7708f878170a9b6e001b899d321f7dfdaa6f7545af3237d30d237d44bb45f
 DIST pyopencl-2022.1.tar.gz 452537 BLAKE2B 
0d4d178a6bdf14dc3769dcb78c42bc894c0a443a6811fe9b25dedbc4a43debc06d1a1c32cb2a0df06fe16d1b2e78e65ef4f3ca8e9931be39384b3c8c813336de
 SHA512 
e873807e757c19b59dbac2a0522fbb9c6e8af955d62bdcf06d8f3d792db3c9d2ce15372a6eefdca5b3f6756c35a85b5ff8d7dc1b6449bfd12c2b588576dd6f24

diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
new file mode 100644
index ..dc2cb443735e
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+
+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"
+
+DEPEND=">=virtual/opencl-2"
+RDEPEND="${DEPEND}
+   >=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}]"
+# libglvnd is only needed for the headers
+BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pybind11-2.5.0[${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-05-30 Thread Marek Szuba
commit: 63f2c9778bc3b568767ee8df73d1944e0be14221
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon May 30 10:56:12 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon May 30 10:56:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63f2c977

dev-python/pyopencl: add 2022.1.5

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2022.1.5.ebuild | 57 
 2 files changed, 58 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 7f8032a1f828..cb94944ac75d 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
+DIST pyopencl-2022.1.5.tar.gz 454129 BLAKE2B 
266bc327c9af5654287fc47cdf4e6002c7cddcd6f5e55bb70bb62aaee666dc5c102f78d4e946f010c1e109390c1d2e981e7ca6ca002d10f66248cb008b308734
 SHA512 
e6eb3e6d886d8ca1d94867a398b286556fd2d93535bb8481c7603cd521cd47606ce3d9cd6422830c6404305a4a1293234d8774fdda6923bdd2b4fc21fb39d377
 DIST pyopencl-2022.1.tar.gz 452537 BLAKE2B 
0d4d178a6bdf14dc3769dcb78c42bc894c0a443a6811fe9b25dedbc4a43debc06d1a1c32cb2a0df06fe16d1b2e78e65ef4f3ca8e9931be39384b3c8c813336de
 SHA512 
e873807e757c19b59dbac2a0522fbb9c6e8af955d62bdcf06d8f3d792db3c9d2ce15372a6eefdca5b3f6756c35a85b5ff8d7dc1b6449bfd12c2b588576dd6f24

diff --git a/dev-python/pyopencl/pyopencl-2022.1.5.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
new file mode 100644
index ..dc2cb443735e
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2022.1.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+
+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"
+
+DEPEND=">=virtual/opencl-2"
+RDEPEND="${DEPEND}
+   >=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}]"
+# libglvnd is only needed for the headers
+BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pybind11-2.5.0[${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-03-28 Thread Michał Górny
commit: 31032ac9e6261619f0c5a266204a706121d174ae
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 28 08:56:42 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 28 10:14:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31032ac9

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest  |  1 -
 dev-python/pyopencl/pyopencl-2021.2.13.ebuild | 57 ---
 2 files changed, 58 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 13b577749c8c..7f8032a1f828 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2021.2.13.tar.gz 452397 BLAKE2B 
8764fe1caf14e73b39aa455e7ea9e00b1733df4ef0d21fd1e2b6383db60eae33a1e1569d71dbd56617dc463e31426e3814cfe0201f8c891293fb32f4fad6a96e
 SHA512 
16b527f69d4fa8bb8dd16cea67e7403893c813c625e0eb1f465fa8a94c9e4a878a5d5d589592b017bb548e1ff7ec5c36c79acd3cb55dee57592ca360a524ac7c
 DIST pyopencl-2022.1.tar.gz 452537 BLAKE2B 
0d4d178a6bdf14dc3769dcb78c42bc894c0a443a6811fe9b25dedbc4a43debc06d1a1c32cb2a0df06fe16d1b2e78e65ef4f3ca8e9931be39384b3c8c813336de
 SHA512 
e873807e757c19b59dbac2a0522fbb9c6e8af955d62bdcf06d8f3d792db3c9d2ce15372a6eefdca5b3f6756c35a85b5ff8d7dc1b6449bfd12c2b588576dd6f24

diff --git a/dev-python/pyopencl/pyopencl-2021.2.13.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.13.ebuild
deleted file mode 100644
index ddb481845549..
--- a/dev-python/pyopencl/pyopencl-2021.2.13.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_PEP517=setuptools
-
-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"
-
-DEPEND=">=virtual/opencl-2"
-RDEPEND="${DEPEND}
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
-# libglvnd is only needed for the headers
-BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pybind11-2.5.0[${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-03-27 Thread Agostino Sarubbo
commit: 8e84d357d0f1b8445234be0d0f13b906e5a660c3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 28 06:49:31 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 28 06:49:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e84d357

dev-python/pyopencl: amd64 stable wrt bug #836183

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pyopencl/pyopencl-2022.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2022.1.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.ebuild
index 239c5dd9b960..ddb481845549 100644
--- a/dev-python/pyopencl/pyopencl-2022.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 DEPEND=">=virtual/opencl-2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-02-21 Thread Marek Szuba
commit: 193b55597c6f7e069dab855bcaf95c3152248e69
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Feb 21 12:29:39 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Feb 21 15:40:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193b5559

dev-python/pyopencl: add 2022.1

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 +
 dev-python/pyopencl/pyopencl-2022.1.ebuild | 57 ++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 8c0b9caec76e..13b577749c8c 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2021.2.13.tar.gz 452397 BLAKE2B 
8764fe1caf14e73b39aa455e7ea9e00b1733df4ef0d21fd1e2b6383db60eae33a1e1569d71dbd56617dc463e31426e3814cfe0201f8c891293fb32f4fad6a96e
 SHA512 
16b527f69d4fa8bb8dd16cea67e7403893c813c625e0eb1f465fa8a94c9e4a878a5d5d589592b017bb548e1ff7ec5c36c79acd3cb55dee57592ca360a524ac7c
+DIST pyopencl-2022.1.tar.gz 452537 BLAKE2B 
0d4d178a6bdf14dc3769dcb78c42bc894c0a443a6811fe9b25dedbc4a43debc06d1a1c32cb2a0df06fe16d1b2e78e65ef4f3ca8e9931be39384b3c8c813336de
 SHA512 
e873807e757c19b59dbac2a0522fbb9c6e8af955d62bdcf06d8f3d792db3c9d2ce15372a6eefdca5b3f6756c35a85b5ff8d7dc1b6449bfd12c2b588576dd6f24

diff --git a/dev-python/pyopencl/pyopencl-2022.1.ebuild 
b/dev-python/pyopencl/pyopencl-2022.1.ebuild
new file mode 100644
index ..239c5dd9b960
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2022.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+
+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"
+
+DEPEND=">=virtual/opencl-2"
+RDEPEND="${DEPEND}
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
+# libglvnd is only needed for the headers
+BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pybind11-2.5.0[${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-02-18 Thread Michał Górny
commit: 336c66cedf03e95d19737bc67fced083e89669b5
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 18 08:07:37 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 18 09:18:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336c66ce

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2021.2.9.ebuild | 56 
 2 files changed, 57 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index a0214cbd49ae..8c0b9caec76e 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
 DIST pyopencl-2021.2.13.tar.gz 452397 BLAKE2B 
8764fe1caf14e73b39aa455e7ea9e00b1733df4ef0d21fd1e2b6383db60eae33a1e1569d71dbd56617dc463e31426e3814cfe0201f8c891293fb32f4fad6a96e
 SHA512 
16b527f69d4fa8bb8dd16cea67e7403893c813c625e0eb1f465fa8a94c9e4a878a5d5d589592b017bb548e1ff7ec5c36c79acd3cb55dee57592ca360a524ac7c
-DIST pyopencl-2021.2.9.tar.gz 451109 BLAKE2B 
a4b9b1ee1bd4f42742aa2de3acb3f5fe54771905f15dc002327a6669bf460c825c81729403df0b98537deb91ca9d0fa8dd30dd8d7e718fcc23a256b6a797484b
 SHA512 
557bdf20df97090557f441f47b31d5b2878341fe670a4e64a563d8a464fdd5915ece651103ed17396248ab174b1895f4841e5b7ac803b8bf6286266e2c4366d6

diff --git a/dev-python/pyopencl/pyopencl-2021.2.9.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.9.ebuild
deleted file mode 100644
index ad4c7b710706..
--- a/dev-python/pyopencl/pyopencl-2021.2.9.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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"
-
-DEPEND=">=virtual/opencl-2"
-RDEPEND="${DEPEND}
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
-# libglvnd is only needed for the headers
-BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pybind11-2.5.0[${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-02-17 Thread Jakov Smolić
commit: d74da1d1b3a2469a690d8d1c719644ab3f0a
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Feb 17 22:01:28 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Feb 17 22:01:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74da1d1

dev-python/pyopencl: Stabilize 2021.2.13 amd64, #833551

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pyopencl/pyopencl-2021.2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2021.2.13.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.13.ebuild
index 239c5dd9b960..ddb481845549 100644
--- a/dev-python/pyopencl/pyopencl-2021.2.13.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.2.13.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 DEPEND=">=virtual/opencl-2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2022-01-17 Thread Marek Szuba
commit: 7c01a4afd41e3651777c6621cfef64d99f901217
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jan 17 20:03:01 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jan 17 21:07:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c01a4af

dev-python/pyopencl: add 2021.2.13, drop 2021.2.11

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest| 2 +-
 .../pyopencl/{pyopencl-2021.2.11.ebuild => pyopencl-2021.2.13.ebuild}   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 9bd9b76b8453..a0214cbd49ae 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,2 @@
-DIST pyopencl-2021.2.11.tar.gz 452225 BLAKE2B 
48ea9a96e23370f4a8b40b5c43f439bc0635764b577ee554f9b65e8a1a790b3a90c4c4c2167d8c32c6f926ca6fa77c035542d503a14ea7c12470cbb73c99d7ba
 SHA512 
584419da05a06b94d2bbb89072ef37007176a978aebf42a5d46eb3c0daf90119a585c60ecef34108ec60f8f98a6ec6e54e00dcac474bc42ddb43211c2b21d161
+DIST pyopencl-2021.2.13.tar.gz 452397 BLAKE2B 
8764fe1caf14e73b39aa455e7ea9e00b1733df4ef0d21fd1e2b6383db60eae33a1e1569d71dbd56617dc463e31426e3814cfe0201f8c891293fb32f4fad6a96e
 SHA512 
16b527f69d4fa8bb8dd16cea67e7403893c813c625e0eb1f465fa8a94c9e4a878a5d5d589592b017bb548e1ff7ec5c36c79acd3cb55dee57592ca360a524ac7c
 DIST pyopencl-2021.2.9.tar.gz 451109 BLAKE2B 
a4b9b1ee1bd4f42742aa2de3acb3f5fe54771905f15dc002327a6669bf460c825c81729403df0b98537deb91ca9d0fa8dd30dd8d7e718fcc23a256b6a797484b
 SHA512 
557bdf20df97090557f441f47b31d5b2878341fe670a4e64a563d8a464fdd5915ece651103ed17396248ab174b1895f4841e5b7ac803b8bf6286266e2c4366d6

diff --git a/dev-python/pyopencl/pyopencl-2021.2.11.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.13.ebuild
similarity index 97%
rename from dev-python/pyopencl/pyopencl-2021.2.11.ebuild
rename to dev-python/pyopencl/pyopencl-2021.2.13.ebuild
index 3430d722f4e2..239c5dd9b960 100644
--- a/dev-python/pyopencl/pyopencl-2021.2.11.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.2.13.ebuild
@@ -4,6 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-12-31 Thread Marek Szuba
commit: 32cfd82bdc3c62b359c5b8c3d50276477f5eb41e
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jan  1 00:15:26 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jan  1 00:23:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32cfd82b

dev-python/pyopencl: add 2021.2.11

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 8fe146384657..9bd9b76b8453 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
+DIST pyopencl-2021.2.11.tar.gz 452225 BLAKE2B 
48ea9a96e23370f4a8b40b5c43f439bc0635764b577ee554f9b65e8a1a790b3a90c4c4c2167d8c32c6f926ca6fa77c035542d503a14ea7c12470cbb73c99d7ba
 SHA512 
584419da05a06b94d2bbb89072ef37007176a978aebf42a5d46eb3c0daf90119a585c60ecef34108ec60f8f98a6ec6e54e00dcac474bc42ddb43211c2b21d161
 DIST pyopencl-2021.2.9.tar.gz 451109 BLAKE2B 
a4b9b1ee1bd4f42742aa2de3acb3f5fe54771905f15dc002327a6669bf460c825c81729403df0b98537deb91ca9d0fa8dd30dd8d7e718fcc23a256b6a797484b
 SHA512 
557bdf20df97090557f441f47b31d5b2878341fe670a4e64a563d8a464fdd5915ece651103ed17396248ab174b1895f4841e5b7ac803b8bf6286266e2c4366d6

diff --git a/dev-python/pyopencl/pyopencl-2021.2.11.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.11.ebuild
new file mode 100644
index ..3430d722f4e2
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2021.2.11.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 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"
+
+DEPEND=">=virtual/opencl-2"
+RDEPEND="${DEPEND}
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
+# libglvnd is only needed for the headers
+BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pybind11-2.5.0[${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-12-17 Thread Michał Górny
commit: 1e26dc0c8be08fee93639a8c616de4dd91e23352
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 17 18:56:39 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 17 18:56:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e26dc0c

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2021.2.6.ebuild | 55 
 2 files changed, 56 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 3ad6fec049a6..8fe146384657 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2021.2.6.tar.gz 450194 BLAKE2B 
be9d0bf653f77d33a4337deab9189a5a9031ff50526444283c6fb9f8625d0451cb211ff703b5eb86c18beebb973f8f7a7cc93da3efc6bb4e95cd533d633fde93
 SHA512 
b7bea4903a34104c538545c611554c1651ae7a94ee56d8c7129a88a9e547911fac085617b4238fac33534c9b981bcfdb9fabd716456a86fa428cfd42d9cb128c
 DIST pyopencl-2021.2.9.tar.gz 451109 BLAKE2B 
a4b9b1ee1bd4f42742aa2de3acb3f5fe54771905f15dc002327a6669bf460c825c81729403df0b98537deb91ca9d0fa8dd30dd8d7e718fcc23a256b6a797484b
 SHA512 
557bdf20df97090557f441f47b31d5b2878341fe670a4e64a563d8a464fdd5915ece651103ed17396248ab174b1895f4841e5b7ac803b8bf6286266e2c4366d6

diff --git a/dev-python/pyopencl/pyopencl-2021.2.6.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.6.ebuild
deleted file mode 100644
index 153702aea574..
--- a/dev-python/pyopencl/pyopencl-2021.2.6.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-12-17 Thread Jakov Smolić
commit: 28a5920c292c125d42d860b56f532968ec04b762
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Dec 17 18:29:41 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Dec 17 18:29:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a5920c

dev-python/pyopencl: Stabilize 2021.2.9 amd64, #829480

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pyopencl/pyopencl-2021.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2021.2.9.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.9.ebuild
index 95577e0b236f..ad4c7b710706 100644
--- a/dev-python/pyopencl/pyopencl-2021.2.9.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.2.9.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 DEPEND=">=virtual/opencl-2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-11-17 Thread Marek Szuba
commit: 77f7cc28262211293c8df962146c27bb726b699d
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Nov 17 13:38:26 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Nov 17 13:38:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f7cc28

dev-python/pyopencl: add 2021.2.9

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 6cba7f1e930c..3ad6fec049a6 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2021.2.6.tar.gz 450194 BLAKE2B 
be9d0bf653f77d33a4337deab9189a5a9031ff50526444283c6fb9f8625d0451cb211ff703b5eb86c18beebb973f8f7a7cc93da3efc6bb4e95cd533d633fde93
 SHA512 
b7bea4903a34104c538545c611554c1651ae7a94ee56d8c7129a88a9e547911fac085617b4238fac33534c9b981bcfdb9fabd716456a86fa428cfd42d9cb128c
+DIST pyopencl-2021.2.9.tar.gz 451109 BLAKE2B 
a4b9b1ee1bd4f42742aa2de3acb3f5fe54771905f15dc002327a6669bf460c825c81729403df0b98537deb91ca9d0fa8dd30dd8d7e718fcc23a256b6a797484b
 SHA512 
557bdf20df97090557f441f47b31d5b2878341fe670a4e64a563d8a464fdd5915ece651103ed17396248ab174b1895f4841e5b7ac803b8bf6286266e2c4366d6

diff --git a/dev-python/pyopencl/pyopencl-2021.2.9.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.9.ebuild
new file mode 100644
index ..95577e0b236f
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2021.2.9.ebuild
@@ -0,0 +1,56 @@
+# 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"
+
+DEPEND=">=virtual/opencl-2"
+RDEPEND="${DEPEND}
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
+# libglvnd is only needed for the headers
+BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pybind11-2.5.0[${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-08-15 Thread Michał Górny
commit: 1283e93da92160298882096bb9184be63ecef3d2
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 16 06:09:44 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 16 06:09:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1283e93d

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2021.1.3.ebuild | 57 
 2 files changed, 58 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index f74a74ce907..6cba7f1e930 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B 
fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76
 SHA512 
8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8
 DIST pyopencl-2021.2.6.tar.gz 450194 BLAKE2B 
be9d0bf653f77d33a4337deab9189a5a9031ff50526444283c6fb9f8625d0451cb211ff703b5eb86c18beebb973f8f7a7cc93da3efc6bb4e95cd533d633fde93
 SHA512 
b7bea4903a34104c538545c611554c1651ae7a94ee56d8c7129a88a9e547911fac085617b4238fac33534c9b981bcfdb9fabd716456a86fa428cfd42d9cb128c

diff --git a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild 
b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
deleted file mode 100644
index 103b128915c..000
--- a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-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/decorator-3.2.0[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-07-13 Thread Marek Szuba
commit: b8a5618abcfdc0770aae702186affa1649ef9afb
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jul 13 13:00:47 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Jul 13 13:11:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a5618a

dev-python/pyopencl: drop 2021.2.3 and 2021.2.5, add 2021.2.6

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest   |  3 +-
 dev-python/pyopencl/pyopencl-2021.2.3.ebuild   | 57 --
 ...cl-2021.2.5.ebuild => pyopencl-2021.2.6.ebuild} |  0
 3 files changed, 1 insertion(+), 59 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 6e103b99195..f74a74ce907 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,3 +1,2 @@
 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
+DIST pyopencl-2021.2.6.tar.gz 450194 BLAKE2B 
be9d0bf653f77d33a4337deab9189a5a9031ff50526444283c6fb9f8625d0451cb211ff703b5eb86c18beebb973f8f7a7cc93da3efc6bb4e95cd533d633fde93
 SHA512 
b7bea4903a34104c538545c611554c1651ae7a94ee56d8c7129a88a9e547911fac085617b4238fac33534c9b981bcfdb9fabd716456a86fa428cfd42d9cb128c

diff --git a/dev-python/pyopencl/pyopencl-2021.2.3.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.3.ebuild
deleted file mode 100644
index 32a5237b3e9..000
--- a/dev-python/pyopencl/pyopencl-2021.2.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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/decorator-3.2.0[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${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
-}

diff --git a/dev-python/pyopencl/pyopencl-2021.2.5.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.6.ebuild
similarity index 100%
rename from dev-python/pyopencl/pyopencl-2021.2.5.ebuild
rename to dev-python/pyopencl/pyopencl-2021.2.6.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-07-01 Thread Marek Szuba
commit: 58e7d2e06f0a8e26dedd37f8acb057c52e03d923
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Jul  1 09:58:59 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Jul  1 11:02:16 2021 +
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  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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-06-25 Thread Marek Szuba
commit: a300e055e186e60ddea6e5a5094a6ae813da10e5
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 25 10:06:05 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 25 10:06:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a300e055

dev-python/pyopencl: add 2021.2.3, drop 2021.2.2

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest  | 2 +-
 .../pyopencl/{pyopencl-2021.2.2.ebuild => pyopencl-2021.2.3.ebuild}   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 0f6ca7db8ea..6bc449246b7 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,2 @@
 DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B 
fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76
 SHA512 
8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8
-DIST pyopencl-2021.2.2.tar.gz 450053 BLAKE2B 
577e328aa5999b499aaec759256b60c1ef5e41ad8d9e19ffafa9b1e7562e5f74f15f2c8ee344f4f2bd80c27375d6a303a813f80241932d22988f6afefa61d6c0
 SHA512 
ec148d5b05f8df62d35ddf85d156e75ef2effab6dfab12a998e8a79cb559313c5a7fc1b680790eeec12f4f31fb5af80e46c6a18e8b641b6485659a5c89758735
+DIST pyopencl-2021.2.3.tar.gz 450895 BLAKE2B 
0395ee6ef32baa57fe9df0c9960f5d761cfced1cc8b87e51e7ebcc7cda6a6b651fc491acf6be525239576fedec2a8375935799fc77568e131dcb26436a59c6f1
 SHA512 
41ef44eac0112ceac15c1260198a0bd642c244f3ad45aa1d7feba70b55a3f257ce01f7c5a8eaf2ce1df263492452055286caad004101d8bdb2d4f7307fb339be

diff --git a/dev-python/pyopencl/pyopencl-2021.2.2.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.3.ebuild
similarity index 94%
rename from dev-python/pyopencl/pyopencl-2021.2.2.ebuild
rename to dev-python/pyopencl/pyopencl-2021.2.3.ebuild
index a1278e62852..32a5237b3e9 100644
--- a/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.2.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -23,7 +23,7 @@ RDEPEND="${COMMON}
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
>=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
 DEPEND="${COMMON}
dev-python/pybind11[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-06-05 Thread Marek Szuba
commit: f337d99feab3e650497b6c3091448124c2aad1ee
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jun  5 13:20:47 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jun  5 13:23:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f337d99f

dev-python/pyopencl: add missing dependency on OpenGL headers

Only in DEPEND because it seems it's just the headers that are needed,
the extension doesn't get linked against any OpenGL libraries. And
of course only for USE=opengl.

Closes: https://bugs.gentoo.org/794247
Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2021.1.3.ebuild | 3 ++-
 dev-python/pyopencl/pyopencl-2021.2.2.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild 
b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
index a08b0c4fd9b..103b128915c 100644
--- a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
@@ -26,7 +26,8 @@ RDEPEND="${COMMON}
>=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
 DEPEND="${COMMON}
-   dev-python/pybind11[${PYTHON_USEDEP}]"
+   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

diff --git a/dev-python/pyopencl/pyopencl-2021.2.2.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
index 863ef6a2245..a1278e62852 100644
--- a/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
@@ -26,7 +26,8 @@ RDEPEND="${COMMON}
>=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
 DEPEND="${COMMON}
-   dev-python/pybind11[${PYTHON_USEDEP}]"
+   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



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-05-25 Thread Marek Szuba
commit: 47fad8391e7b4ebcb738a39e0154096b1f79fa0f
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue May 25 12:15:18 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue May 25 12:31:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47fad839

dev-python/pyopencl: add 2021.2.2, drop 2021.1.6

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest| 2 +-
 .../pyopencl/{pyopencl-2021.1.6.ebuild => pyopencl-2021.2.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index ebb42e37bec..0f6ca7db8ea 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,2 @@
 DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B 
fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76
 SHA512 
8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8
-DIST pyopencl-2021.1.6.tar.gz 448568 BLAKE2B 
aea3f6f28d3377b0b8aa7b6c726252299039663e9684316f48c5e875be9d25600582a4af931cacda3fa39834c000a00e2d29720ed6a3cca8e46141ee189107a0
 SHA512 
320b521e9ed05e0c183d0535b81f27355bdb21577a8a8ba254599a9e853cbe6e0ef44ee6e5be742b44fa1e1e5005732643217f327e4b347845ee6c706db5da87
+DIST pyopencl-2021.2.2.tar.gz 450053 BLAKE2B 
577e328aa5999b499aaec759256b60c1ef5e41ad8d9e19ffafa9b1e7562e5f74f15f2c8ee344f4f2bd80c27375d6a303a813f80241932d22988f6afefa61d6c0
 SHA512 
ec148d5b05f8df62d35ddf85d156e75ef2effab6dfab12a998e8a79cb559313c5a7fc1b680790eeec12f4f31fb5af80e46c6a18e8b641b6485659a5c89758735

diff --git a/dev-python/pyopencl/pyopencl-2021.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2021.2.2.ebuild
similarity index 100%
rename from dev-python/pyopencl/pyopencl-2021.1.6.ebuild
rename to dev-python/pyopencl/pyopencl-2021.2.2.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-05-17 Thread Marek Szuba
commit: e283df74f1730c46af862c9fdf899e1404e47781
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon May 17 15:21:25 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon May 17 15:24:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e283df74

dev-python/pyopencl: support python3_10

Builds and installs fine, and having manually run the test suite it
produced the same errors as for python3_8.

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2021.1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2021.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2021.1.6.ebuild
index 750928e8526..863ef6a2245 100644
--- a/dev-python/pyopencl/pyopencl-2021.1.6.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-05-17 Thread Marek Szuba
commit: f858af100b5f99e205346859a4d6a89b7a087770
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon May 17 14:45:12 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon May 17 14:50:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f858af10

dev-python/pyopencl: add virtual/opencl to DEPEND

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2021.1.3.ebuild | 6 +++---
 dev-python/pyopencl/pyopencl-2021.1.6.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild 
b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
index 2c8ad069433..a08b0c4fd9b 100644
--- a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
@@ -17,14 +17,14 @@ SLOT="0"
 KEYWORDS="amd64"
 IUSE="examples opengl"
 
-COMMON="dev-python/numpy[${PYTHON_USEDEP}]"
+COMMON="dev-python/numpy[${PYTHON_USEDEP}]
+   >=virtual/opencl-2"
 RDEPEND="${COMMON}
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
>=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
>=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=virtual/opencl-2"
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
 DEPEND="${COMMON}
dev-python/pybind11[${PYTHON_USEDEP}]"
 

diff --git a/dev-python/pyopencl/pyopencl-2021.1.6.ebuild 
b/dev-python/pyopencl/pyopencl-2021.1.6.ebuild
index a9a305e869f..750928e8526 100644
--- a/dev-python/pyopencl/pyopencl-2021.1.6.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.1.6.ebuild
@@ -17,14 +17,14 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="examples opengl"
 
-COMMON="dev-python/numpy[${PYTHON_USEDEP}]"
+COMMON="dev-python/numpy[${PYTHON_USEDEP}]
+   >=virtual/opencl-2"
 RDEPEND="${COMMON}
>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
>=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
>=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=virtual/opencl-2"
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
 DEPEND="${COMMON}
dev-python/pybind11[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-04-22 Thread Marek Szuba
commit: 80b996105755303e377cedf2bd6ae85ca35791ee
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Apr 22 16:31:54 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Apr 22 16:51:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b99610

dev-python/pyopencl: add 2021.1.6

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 5d7a2e38fb3..ebb42e37bec 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B 
fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76
 SHA512 
8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8
+DIST pyopencl-2021.1.6.tar.gz 448568 BLAKE2B 
aea3f6f28d3377b0b8aa7b6c726252299039663e9684316f48c5e875be9d25600582a4af931cacda3fa39834c000a00e2d29720ed6a3cca8e46141ee189107a0
 SHA512 
320b521e9ed05e0c183d0535b81f27355bdb21577a8a8ba254599a9e853cbe6e0ef44ee6e5be742b44fa1e1e5005732643217f327e4b347845ee6c706db5da87

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



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-04-18 Thread Michał Górny
commit: 37bad3b8064d7db770acbb46d5cb46c9fa6b2bd5
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 18 06:58:46 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 18 07:05:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bad3b8

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2020.3.1.ebuild | 56 
 2 files changed, 57 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index c0dbc7aa13b..5d7a2e38fb3 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2020.3.1.tar.gz 357422 BLAKE2B 
de9cb6408e957e30f54797ce682ed17f3272dc82019bcd9a744a0696a7e344f47645a3549332da90e0bcc442f7a8ea9c6a12a375875a9728fa9814ca9d1a9b30
 SHA512 
459d6f060f4203e83276c47bf832f33fc4348dd59904ea55fe2a53684cb7c8eaad45875476d10dcb6653820f9cb1f7e013c6b854410b2040b2dfe847fc1f7658
 DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B 
fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76
 SHA512 
8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8

diff --git a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
deleted file mode 100644
index 2c8ad069433..000
--- a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-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}]"
-RDEPEND="${COMMON}
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=virtual/opencl-2"
-DEPEND="${COMMON}
-   dev-python/pybind11[${PYTHON_USEDEP}]"
-
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-04-17 Thread Sam James
commit: 157a896540a94363fde1b772c37881dc6b5180b8
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 01:43:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 01:43:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157a8965

dev-python/pyopencl: Stabilize 2021.1.3 amd64, #78

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2021.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild 
b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
index a9a305e869f..2c8ad069433 100644
--- a/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
+++ b/dev-python/pyopencl/pyopencl-2021.1.3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 COMMON="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-03-15 Thread Marek Szuba
commit: db30e67f18623ad650f13671a41c241e7dcc4608
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Mar 15 11:33:56 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Mar 15 12:49:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db30e67f

dev-python/pyopencl: bump to 2021.1.3

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 13f75cb4bca..c0dbc7aa13b 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2020.3.1.tar.gz 357422 BLAKE2B 
de9cb6408e957e30f54797ce682ed17f3272dc82019bcd9a744a0696a7e344f47645a3549332da90e0bcc442f7a8ea9c6a12a375875a9728fa9814ca9d1a9b30
 SHA512 
459d6f060f4203e83276c47bf832f33fc4348dd59904ea55fe2a53684cb7c8eaad45875476d10dcb6653820f9cb1f7e013c6b854410b2040b2dfe847fc1f7658
+DIST pyopencl-2021.1.3.tar.gz 447070 BLAKE2B 
fcd8c5d06de9c14a7bcf3c3d37f89cb208adf0225cc88a081aefc86aac82a99026183f2c9975f34cd8247f784335e4ba6c0a09164ce01e527123b5c1dd952a76
 SHA512 
8799e73b3b1596387f619fd997f643228679fb1d9ab5ce6704da9df51922f96229efc98ab6b7a7361234848078b15bc67946a4188f4d17cb8760040b48b346e8

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



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-01-18 Thread Michał Górny
commit: f106d2fa727366b7ec3258df48aecf2405b78b15
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 18 18:46:44 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 18 18:46:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f106d2fa

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 -
 dev-python/pyopencl/pyopencl-2020.2.2.ebuild | 56 
 2 files changed, 57 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index a1a65d8419d..13f75cb4bca 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1 @@
-DIST pyopencl-2020.2.2.tar.gz 352110 BLAKE2B 
a3bb5f74abbb5d9600651dc0659f2472f7bf91d67cf3474f7306a29ccd3a8249dc952fc1e5b81f0514990e49246d106325a6697559b260a490981541666cb3a7
 SHA512 
2c4f21d9c0a5d3d53f2a0e4aaa8f85f42fc6fbedc5282cfc107ff047936aa731a973605f5500b56b62d5b580a00e9f2be2aa9a259287291641ca4b4d60c51ca9
 DIST pyopencl-2020.3.1.tar.gz 357422 BLAKE2B 
de9cb6408e957e30f54797ce682ed17f3272dc82019bcd9a744a0696a7e344f47645a3549332da90e0bcc442f7a8ea9c6a12a375875a9728fa9814ca9d1a9b30
 SHA512 
459d6f060f4203e83276c47bf832f33fc4348dd59904ea55fe2a53684cb7c8eaad45875476d10dcb6653820f9cb1f7e013c6b854410b2040b2dfe847fc1f7658

diff --git a/dev-python/pyopencl/pyopencl-2020.2.2.ebuild 
b/dev-python/pyopencl/pyopencl-2020.2.2.ebuild
deleted file mode 100644
index 862f4155cff..000
--- a/dev-python/pyopencl/pyopencl-2020.2.2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-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}]"
-RDEPEND="${COMMON}
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=virtual/opencl-2"
-DEPEND="${COMMON}
-   dev-python/pybind11[${PYTHON_USEDEP}]"
-
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2021-01-18 Thread Sam James
commit: e503e7d0d29d74ca628b143f4087e2ce2e5348ff
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 18 16:52:24 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 18 16:52:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e503e7d0

dev-python/pyopencl: Stabilize 2020.3.1 amd64, #765958

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2020.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
index 2bc9b99b471..2c8ad069433 100644
--- a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 COMMON="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-12-16 Thread Michał Górny
commit: 5a09f6382d65f06f0bb3b0491f61f789465d65e0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 16 11:30:31 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 16 11:30:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a09f638

dev-python/pyopencl: Fix redirected HOMEPAGE

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/pyopencl-2020.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
index e5fbb9b9f44..2bc9b99b471 100644
--- a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1
 
 DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="https://mathema.tician.de/software/pyopencl
+HOMEPAGE="https://mathema.tician.de/software/pyopencl/
https://pypi.org/project/pyopencl/";
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-12-16 Thread Michał Górny
commit: e1f89e62a0d28cf1108905e605b35870efd0945a
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Dec 16 11:27:05 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec 16 11:27:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f89e62

dev-python/pyopencl: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 -
 dev-python/pyopencl/pyopencl-2020.2.ebuild | 56 --
 2 files changed, 57 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index a19ae22c5c3..a1a65d8419d 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,3 +1,2 @@
 DIST pyopencl-2020.2.2.tar.gz 352110 BLAKE2B 
a3bb5f74abbb5d9600651dc0659f2472f7bf91d67cf3474f7306a29ccd3a8249dc952fc1e5b81f0514990e49246d106325a6697559b260a490981541666cb3a7
 SHA512 
2c4f21d9c0a5d3d53f2a0e4aaa8f85f42fc6fbedc5282cfc107ff047936aa731a973605f5500b56b62d5b580a00e9f2be2aa9a259287291641ca4b4d60c51ca9
-DIST pyopencl-2020.2.tar.gz 351600 BLAKE2B 
47a733d7a552f5d1f69a1a9710c3262d50c26651ed9f46146829babe28962e236e2c1b9ba3d3d14207f28bdc562323a94ab4c51dbf5fcf1a0b12282b3c6aff50
 SHA512 
233bbf2e99507d3a83cc8149bf7ac17332a550e4867f843fcc2b31104d961a3f0d972b0a1878d4716b2da4548f1390560141cd09cb1ba13300c541b058b9
 DIST pyopencl-2020.3.1.tar.gz 357422 BLAKE2B 
de9cb6408e957e30f54797ce682ed17f3272dc82019bcd9a744a0696a7e344f47645a3549332da90e0bcc442f7a8ea9c6a12a375875a9728fa9814ca9d1a9b30
 SHA512 
459d6f060f4203e83276c47bf832f33fc4348dd59904ea55fe2a53684cb7c8eaad45875476d10dcb6653820f9cb1f7e013c6b854410b2040b2dfe847fc1f7658

diff --git a/dev-python/pyopencl/pyopencl-2020.2.ebuild 
b/dev-python/pyopencl/pyopencl-2020.2.ebuild
deleted file mode 100644
index 862f4155cff..000
--- a/dev-python/pyopencl/pyopencl-2020.2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-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}]"
-RDEPEND="${COMMON}
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=virtual/opencl-2"
-DEPEND="${COMMON}
-   dev-python/pybind11[${PYTHON_USEDEP}]"
-
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-12-16 Thread Sam James
commit: 29ce5f222b4f89a6d627d7fc9103e8f56ee8dfca
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 16 11:14:13 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 16 11:14:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ce5f22

dev-python/pyopencl: Stabilize 2020.2.2 amd64, #758557

Signed-off-by: Sam James  gentoo.org>

 dev-python/pyopencl/pyopencl-2020.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2020.2.2.ebuild 
b/dev-python/pyopencl/pyopencl-2020.2.2.ebuild
index e5fbb9b9f44..862f4155cff 100644
--- a/dev-python/pyopencl/pyopencl-2020.2.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2020.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 COMMON="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-12-09 Thread Marek Szuba
commit: 346aeb4b1217f3c11e33b203ed77f60edebb506f
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Dec  9 10:26:38 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Dec  9 10:26:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346aeb4b

dev-python/pyopencl: bump to 2020.3.1

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 7d6ae05491b..a19ae22c5c3 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,3 @@
 DIST pyopencl-2020.2.2.tar.gz 352110 BLAKE2B 
a3bb5f74abbb5d9600651dc0659f2472f7bf91d67cf3474f7306a29ccd3a8249dc952fc1e5b81f0514990e49246d106325a6697559b260a490981541666cb3a7
 SHA512 
2c4f21d9c0a5d3d53f2a0e4aaa8f85f42fc6fbedc5282cfc107ff047936aa731a973605f5500b56b62d5b580a00e9f2be2aa9a259287291641ca4b4d60c51ca9
 DIST pyopencl-2020.2.tar.gz 351600 BLAKE2B 
47a733d7a552f5d1f69a1a9710c3262d50c26651ed9f46146829babe28962e236e2c1b9ba3d3d14207f28bdc562323a94ab4c51dbf5fcf1a0b12282b3c6aff50
 SHA512 
233bbf2e99507d3a83cc8149bf7ac17332a550e4867f843fcc2b31104d961a3f0d972b0a1878d4716b2da4548f1390560141cd09cb1ba13300c541b058b9
+DIST pyopencl-2020.3.1.tar.gz 357422 BLAKE2B 
de9cb6408e957e30f54797ce682ed17f3272dc82019bcd9a744a0696a7e344f47645a3549332da90e0bcc442f7a8ea9c6a12a375875a9728fa9814ca9d1a9b30
 SHA512 
459d6f060f4203e83276c47bf832f33fc4348dd59904ea55fe2a53684cb7c8eaad45875476d10dcb6653820f9cb1f7e013c6b854410b2040b2dfe847fc1f7658

diff --git a/dev-python/pyopencl/pyopencl-2020.3.1.ebuild 
b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
new file mode 100644
index 000..e5fbb9b9f44
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2020.3.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+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}]"
+RDEPEND="${COMMON}
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=virtual/opencl-2"
+DEPEND="${COMMON}
+   dev-python/pybind11[${PYTHON_USEDEP}]"
+
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-09-21 Thread Marek Szuba
commit: 2641d9c3ede0d13053b230d1a5eb436a9133cb4e
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Sep 21 19:33:20 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Sep 21 20:09:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2641d9c3

dev-python/pyopencl: bump to 2020.2.2

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest| 2 +-
 .../pyopencl/{pyopencl-2020.2.1.ebuild => pyopencl-2020.2.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 96d717e5f9c..7d6ae05491b 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,2 @@
-DIST pyopencl-2020.2.1.tar.gz 352160 BLAKE2B 
2258c050bb8b279e3bcf563d805e36032d2f74c6b960e1453608ba1bbcf9b677c056eca5f5dde73ab2a45c13dd4653715682d83251954ee0aa841f4b65461d92
 SHA512 
5d74c61ec56c9893f8419e386e4ea16f3e1d20a922e0d7de6bf167fcd54cfac1715289bbf41af793f73c66e9738f63cd2f4a705d5addfd2e3ae2373ff3ed4866
+DIST pyopencl-2020.2.2.tar.gz 352110 BLAKE2B 
a3bb5f74abbb5d9600651dc0659f2472f7bf91d67cf3474f7306a29ccd3a8249dc952fc1e5b81f0514990e49246d106325a6697559b260a490981541666cb3a7
 SHA512 
2c4f21d9c0a5d3d53f2a0e4aaa8f85f42fc6fbedc5282cfc107ff047936aa731a973605f5500b56b62d5b580a00e9f2be2aa9a259287291641ca4b4d60c51ca9
 DIST pyopencl-2020.2.tar.gz 351600 BLAKE2B 
47a733d7a552f5d1f69a1a9710c3262d50c26651ed9f46146829babe28962e236e2c1b9ba3d3d14207f28bdc562323a94ab4c51dbf5fcf1a0b12282b3c6aff50
 SHA512 
233bbf2e99507d3a83cc8149bf7ac17332a550e4867f843fcc2b31104d961a3f0d972b0a1878d4716b2da4548f1390560141cd09cb1ba13300c541b058b9

diff --git a/dev-python/pyopencl/pyopencl-2020.2.1.ebuild 
b/dev-python/pyopencl/pyopencl-2020.2.2.ebuild
similarity index 100%
rename from dev-python/pyopencl/pyopencl-2020.2.1.ebuild
rename to dev-python/pyopencl/pyopencl-2020.2.2.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-08-24 Thread Marek Szuba
commit: 8d143bf03864b557494529e2fc6d5b74af60c6d4
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 24 15:48:28 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 24 17:07:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d143bf0

dev-python/pyopencl: bump to 2020.2.1

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index f76541884d8..96d717e5f9c 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
+DIST pyopencl-2020.2.1.tar.gz 352160 BLAKE2B 
2258c050bb8b279e3bcf563d805e36032d2f74c6b960e1453608ba1bbcf9b677c056eca5f5dde73ab2a45c13dd4653715682d83251954ee0aa841f4b65461d92
 SHA512 
5d74c61ec56c9893f8419e386e4ea16f3e1d20a922e0d7de6bf167fcd54cfac1715289bbf41af793f73c66e9738f63cd2f4a705d5addfd2e3ae2373ff3ed4866
 DIST pyopencl-2020.2.tar.gz 351600 BLAKE2B 
47a733d7a552f5d1f69a1a9710c3262d50c26651ed9f46146829babe28962e236e2c1b9ba3d3d14207f28bdc562323a94ab4c51dbf5fcf1a0b12282b3c6aff50
 SHA512 
233bbf2e99507d3a83cc8149bf7ac17332a550e4867f843fcc2b31104d961a3f0d972b0a1878d4716b2da4548f1390560141cd09cb1ba13300c541b058b9

diff --git a/dev-python/pyopencl/pyopencl-2020.2.1.ebuild 
b/dev-python/pyopencl/pyopencl-2020.2.1.ebuild
new file mode 100644
index 000..e5fbb9b9f44
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2020.2.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+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}]"
+RDEPEND="${COMMON}
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=virtual/opencl-2"
+DEPEND="${COMMON}
+   dev-python/pybind11[${PYTHON_USEDEP}]"
+
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-07-29 Thread Marek Szuba
commit: a33a418262a25b0bb2a3681e549ce062873c5bc1
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 29 11:30:18 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 29 11:33:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33a4182

dev-python/pyopencl: mark 2020.2 stable on amd64

Closes: https://bugs.gentoo.org/734466
Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2020.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2020.2.ebuild 
b/dev-python/pyopencl/pyopencl-2020.2.ebuild
index e5fbb9b9f44..862f4155cff 100644
--- a/dev-python/pyopencl/pyopencl-2020.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2020.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 COMMON="dev-python/numpy[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-06-30 Thread Marek Szuba
commit: ab0fa4af26b27a2047368b97a43970f454a5e230
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Jun 30 14:37:41 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Jun 30 15:42:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab0fa4af

dev-python/pyopencl: remove old

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/Manifest   |  1 -
 dev-python/pyopencl/pyopencl-2017.2.ebuild | 52 --
 2 files changed, 53 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 995e4b8e628..8694719c91a 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,3 +1,2 @@
-DIST pyopencl-2017.2.tar.gz 350145 BLAKE2B 
12c481893158f97dec612256b36e710ab52356c8b5f644f3710b5e34d4d10df3b27137ad76f29543fe16b3da725471e206aa5f69c646a79a65246d6091c686a9
 SHA512 
49f2ff619d8c214a3962b8444e68ba415dda032abaf9eeab259fcd1b21fbaab10bd057035161baef7f0182995834082218a6667464c01645231a94c88aa5c18b
 DIST pyopencl-2019.1.2.tar.gz 343805 BLAKE2B 
027b231231532403a5e18249bd438e1a5a67805a685e46fd9506f7286957b14068540f93a3733149aeba2a720f6c71e91db74351916ca974739374a05f2d2c74
 SHA512 
b2850622253f480cafacadbb9d13afea801af9d4dd52679f132fc0e5f1d4c2f4d3bdf83c9ed64c14c19ead75e6d36afa8b57ff52bbea135fc02291b1fe7b8636
 DIST pyopencl-2020.2.tar.gz 351600 BLAKE2B 
47a733d7a552f5d1f69a1a9710c3262d50c26651ed9f46146829babe28962e236e2c1b9ba3d3d14207f28bdc562323a94ab4c51dbf5fcf1a0b12282b3c6aff50
 SHA512 
233bbf2e99507d3a83cc8149bf7ac17332a550e4867f843fcc2b31104d961a3f0d972b0a1878d4716b2da4548f1390560141cd09cb1ba13300c541b058b9

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
deleted file mode 100644
index 3cd10cba090..000
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_6 )
-
-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"
-
-RDEPEND="
-   >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
-   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2015.1.2[${PYTHON_USEDEP}]
-   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
-   >=virtual/opencl-0-r1"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   local myconf=()
-   if use opengl; then
-   myconf+=(--cl-enable-gl)
-   fi
-
-   "${PYTHON}" configure.py \
-   --boost-compiler=gcc \
-   --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
-   --no-use-shipped-boost \
-   "${myconf[@]}"
-}
-
-python_install_all() {
-   if use examples; then
-   dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-06-28 Thread Agostino Sarubbo
commit: 8c3ee5492d60b36ce7f407e526a1f366e8832fe3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 29 06:19:12 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 29 06:19:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3ee549

dev-python/pyopencl: amd64 stable wrt bug #722230

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pyopencl/pyopencl-2019.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2019.1.2.ebuild 
b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
index fbc6d6a6474..2f72469ccad 100644
--- a/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-06-26 Thread Marek Szuba
commit: e8e2dd5b6ee844faf38b3480777f97edc1dd42b5
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 26 17:34:34 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 26 17:35:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e2dd5b

dev-python/pyopencl: bump to 2020.2

Builds fine against python3_9.

Signed-off-by: Marek Szuba  gentoo.org>

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

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 7595d500177..995e4b8e628 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,3 @@
 DIST pyopencl-2017.2.tar.gz 350145 BLAKE2B 
12c481893158f97dec612256b36e710ab52356c8b5f644f3710b5e34d4d10df3b27137ad76f29543fe16b3da725471e206aa5f69c646a79a65246d6091c686a9
 SHA512 
49f2ff619d8c214a3962b8444e68ba415dda032abaf9eeab259fcd1b21fbaab10bd057035161baef7f0182995834082218a6667464c01645231a94c88aa5c18b
 DIST pyopencl-2019.1.2.tar.gz 343805 BLAKE2B 
027b231231532403a5e18249bd438e1a5a67805a685e46fd9506f7286957b14068540f93a3733149aeba2a720f6c71e91db74351916ca974739374a05f2d2c74
 SHA512 
b2850622253f480cafacadbb9d13afea801af9d4dd52679f132fc0e5f1d4c2f4d3bdf83c9ed64c14c19ead75e6d36afa8b57ff52bbea135fc02291b1fe7b8636
+DIST pyopencl-2020.2.tar.gz 351600 BLAKE2B 
47a733d7a552f5d1f69a1a9710c3262d50c26651ed9f46146829babe28962e236e2c1b9ba3d3d14207f28bdc562323a94ab4c51dbf5fcf1a0b12282b3c6aff50
 SHA512 
233bbf2e99507d3a83cc8149bf7ac17332a550e4867f843fcc2b31104d961a3f0d972b0a1878d4716b2da4548f1390560141cd09cb1ba13300c541b058b9

diff --git a/dev-python/pyopencl/pyopencl-2020.2.ebuild 
b/dev-python/pyopencl/pyopencl-2020.2.ebuild
new file mode 100644
index 000..e5fbb9b9f44
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2020.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+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}]"
+RDEPEND="${COMMON}
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2017.6[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=virtual/opencl-2"
+DEPEND="${COMMON}
+   dev-python/pybind11[${PYTHON_USEDEP}]"
+
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-06-26 Thread Marek Szuba
commit: 14c8cc90697d632e0d67fb3c8c8781d31cd8fda1
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 26 16:31:10 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 26 16:35:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14c8cc90

dev-python/pyopencl-2019.1.2: disable tests

They fail if there are no OpenCL platforms available and even if there
is one, they mostly get skipped unless the user 'portage' is granted
additional permissions in order to be able to talk to the GPU (which I
am pretty sure is a bad idea). Just don't bother.

Closes: https://bugs.gentoo.org/729742
Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/pyopencl-2019.1.2.ebuild | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2019.1.2.ebuild 
b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
index 73b273d25bb..fbc6d6a6474 100644
--- a/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
@@ -28,7 +28,13 @@ RDEPEND="
>=virtual/opencl-2"
 DEPEND="${RDEPEND}"
 
-distutils_enable_tests pytest
+# 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=()
@@ -41,11 +47,6 @@ python_configure_all() {
"${myconf[@]}"
 }
 
-python_test() {
-   cd "${S}/test" || die
-   pytest -vv || die "Testsuite failed under ${EPYTHON}"
-}
-
 python_install_all() {
if use examples; then
dodoc -r examples



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-06-26 Thread Marek Szuba
commit: a7e14b76f6dc1dcd191f74c2c8fadd47fc021ce8
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jun 26 16:09:41 2020 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Jun 26 16:09:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e14b76

dev-python/pyopencl: add self as maintainer

Signed-off-by: Marek Szuba  gentoo.org>

 dev-python/pyopencl/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/metadata.xml b/dev-python/pyopencl/metadata.xml
index f73783559fa..9b596f3ee11 100644
--- a/dev-python/pyopencl/metadata.xml
+++ b/dev-python/pyopencl/metadata.xml
@@ -1,7 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   mare...@gentoo.org
+   Marek Szuba
+   

pyopencl




[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-05-17 Thread Michał Górny
commit: 377c3cdf14cc7c6d65135aca774a5c4cd566112e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 17 13:42:43 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 17 13:47:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377c3cdf

dev-python/pyopencl: Drop to m-needed

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/pyopencl/metadata.xml b/dev-python/pyopencl/metadata.xml
index 16b6e3efa20..f73783559fa 100644
--- a/dev-python/pyopencl/metadata.xml
+++ b/dev-python/pyopencl/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   pyt...@gentoo.org
-   Python
-   
+   

pyopencl




[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-05-17 Thread Michał Górny
commit: 8a743dc89c86e098e1c1259c99f32a6956229eb0
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 17 07:49:51 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 17 07:49:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a743dc8

dev-python/pyopencl: Remove x86 keywords

The package is probably not very useful to people running on x86,
and its dependency, dev-python/pytools, is broken on 32-bit x86.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/pyopencl-2017.2.ebuild   | 2 +-
 dev-python/pyopencl/pyopencl-2019.1.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
index f2766675502..3cd10cba090 100644
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64"
 IUSE="examples opengl"
 
 RDEPEND="

diff --git a/dev-python/pyopencl/pyopencl-2019.1.2.ebuild 
b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
index 436d47db04a..73b273d25bb 100644
--- a/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 IUSE="examples opengl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/, profiles/

2020-03-30 Thread Michał Górny
commit: e1f07b48e5fceba9caa11ac5b8fd9b4da96033e5
Author: t0b3  gmail  com>
AuthorDate: Sun Mar 22 08:06:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 30 17:43:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1f07b48

dev-python/pyopencl: bump to 2019.1.2

Bug: https://bugs.gentoo.org/712672
Bug: https://bugs.gentoo.org/711808
Closes: https://bugs.gentoo.org/712680
Signed-off-by: t0b3  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15040
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2019.1.2.ebuild | 56 
 profiles/package.mask|  1 -
 3 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index d76f6492151..7595d500177 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1 +1,2 @@
 DIST pyopencl-2017.2.tar.gz 350145 BLAKE2B 
12c481893158f97dec612256b36e710ab52356c8b5f644f3710b5e34d4d10df3b27137ad76f29543fe16b3da725471e206aa5f69c646a79a65246d6091c686a9
 SHA512 
49f2ff619d8c214a3962b8444e68ba415dda032abaf9eeab259fcd1b21fbaab10bd057035161baef7f0182995834082218a6667464c01645231a94c88aa5c18b
+DIST pyopencl-2019.1.2.tar.gz 343805 BLAKE2B 
027b231231532403a5e18249bd438e1a5a67805a685e46fd9506f7286957b14068540f93a3733149aeba2a720f6c71e91db74351916ca974739374a05f2d2c74
 SHA512 
b2850622253f480cafacadbb9d13afea801af9d4dd52679f132fc0e5f1d4c2f4d3bdf83c9ed64c14c19ead75e6d36afa8b57ff52bbea135fc02291b1fe7b8636

diff --git a/dev-python/pyopencl/pyopencl-2019.1.2.ebuild 
b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
new file mode 100644
index 000..436d47db04a
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2019.1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+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 ~x86"
+IUSE="examples opengl"
+
+RDEPEND="
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2017.5[${PYTHON_USEDEP}]
+   dev-python/pybind11[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=virtual/opencl-2"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_configure_all() {
+   local myconf=()
+   if use opengl; then
+   myconf+=(--cl-enable-gl)
+   fi
+
+   "${EPYTHON}" configure.py \
+   --cl-pretend-version=1.2 \
+   "${myconf[@]}"
+}
+
+python_test() {
+   cd "${S}/test" || die
+   pytest -vv || die "Testsuite failed under ${EPYTHON}"
+}
+
+python_install_all() {
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   distutils-r1_python_install_all
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index 2fe3031f73d..4046d8f9783 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -505,7 +505,6 @@ dev-python/pygeocoder
 dev-python/pyhcl
 dev-python/pymtp
 dev-python/pynzb
-dev-python/pyopencl
 dev-python/pyshark
 dev-python/pysolr
 dev-python/pystache



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2020-03-20 Thread David Seifert
commit: 8c912d54eaaf4e7d289f40683ae0bb6b340bf969
Author: David Seifert  gentoo  org>
AuthorDate: Fri Mar 20 09:57:18 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Mar 20 09:57:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c912d54

dev-python/pyopencl: Replace distutils-r1 EXAMPLES use

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert  gentoo.org>

 dev-python/pyopencl/pyopencl-2017.2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
index 16d173abc64..f2766675502 100644
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -44,8 +44,9 @@ src_configure() {
 
 python_install_all() {
if use examples; then
-   local EXAMPLES=( examples/. )
-   einfo "Some of the examples provided by this package require 
dev-python/matplotlib."
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
fi
+
distutils-r1_python_install_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2019-12-15 Thread Michał Górny
commit: c730b9d92245c533f182c15be6f1fca08f5eeada
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 15 19:06:50 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 15 19:16:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c730b9d9

dev-python/pyopencl: Drop unmaintained -

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pyopencl/pyopencl-.ebuild | 49 
 1 file changed, 49 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-.ebuild 
b/dev-python/pyopencl/pyopencl-.ebuild
deleted file mode 100644
index 8055a67ac26..000
--- a/dev-python/pyopencl/pyopencl-.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-inherit distutils-r1 git-2
-
-EGIT_REPO_URI="https://git.tiker.net/trees/pyopencl.git";
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="https://mathema.tician.de/software/pyopencl
-   https://pypi.org/project/pyopencl/";
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="examples opengl"
-
-RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   >=dev-python/pytools-[${PYTHON_USEDEP}]
-   >=virtual/opencl-0-r1"
-DEPEND="${RDEPEND}"
-
-src_configure()
-{
-   local myconf=()
-   if use opengl; then
-   myconf+=(--cl-enable-gl)
-   fi
-
-   "${PYTHON}" configure.py \
-   --boost-compiler=gcc \
-   --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
-   --no-use-shipped-boost \
-   "${myconf[@]}"
-}
-
-python_install_all() {
-   if use examples; then
-   local EXAMPLES=( examples/. )
-   einfo "Some of the examples provided by this package require 
dev-python/matplotlib."
-   fi
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2018-07-01 Thread Thomas Deutschmann
commit: a2600449b13dd8da32295fb3210c6f373ecd565c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Jul  2 00:29:43 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Jul  2 00:29:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2600449

dev-python/pyopencl: x86 stable (bug #659272)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pyopencl/pyopencl-2017.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
index 35bca75e96e..4c58f135685 100644
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="examples opengl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2018-06-30 Thread Pacho Ramos
commit: 5dc37207cafeec0c2e3c3511da273e99e3a2fb52
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Jun 30 10:02:13 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Jun 30 10:04:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc37207

dev-python/pyopencl: amd64 stable, bug #659272

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/pyopencl/pyopencl-2017.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
index 9ae839d3b20..35bca75e96e 100644
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="examples opengl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2018-06-26 Thread Pacho Ramos
commit: b256c0cc385a0d5927449a97aa462b0e240e4ce5
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Jun 26 17:42:41 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Jun 26 17:42:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b256c0cc

dev-python/pyopencl: Support python3.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pyopencl/pyopencl-2017.2.ebuild | 2 +-
 dev-python/pyopencl/pyopencl-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
index 9949a426bf2..9ae839d3b20 100644
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 

diff --git a/dev-python/pyopencl/pyopencl-.ebuild 
b/dev-python/pyopencl/pyopencl-.ebuild
index 59d8f6efced..ef9432fac02 100644
--- a/dev-python/pyopencl/pyopencl-.ebuild
+++ b/dev-python/pyopencl/pyopencl-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 git-2
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2018-03-17 Thread Michał Górny
commit: 878aaee017aeba9570a5a53705bede8688745ff8
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Mar 17 09:05:39 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 17 10:51:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=878aaee0

dev-python/pyopencl: use HTTPS

 dev-python/pyopencl/pyopencl-2016.1.ebuild | 5 +++--
 dev-python/pyopencl/pyopencl-2017.2.ebuild | 5 +++--
 dev-python/pyopencl/pyopencl-.ebuild   | 7 ---
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2016.1.ebuild 
b/dev-python/pyopencl/pyopencl-2016.1.ebuild
index 6856259e249..c034e9a6780 100644
--- a/dev-python/pyopencl/pyopencl-2016.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2016.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,7 +8,8 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 inherit distutils-r1
 
 DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
+HOMEPAGE="https://mathema.tician.de/software/pyopencl
+   https://pypi.python.org/pypi/pyopencl";
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
index f61d50f65f4..f70ddd62043 100644
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,7 +8,8 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 inherit distutils-r1
 
 DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
+HOMEPAGE="https://mathema.tician.de/software/pyopencl
+   https://pypi.python.org/pypi/pyopencl";
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"

diff --git a/dev-python/pyopencl/pyopencl-.ebuild 
b/dev-python/pyopencl/pyopencl-.ebuild
index 51361d48955..ae75b8f048d 100644
--- a/dev-python/pyopencl/pyopencl-.ebuild
+++ b/dev-python/pyopencl/pyopencl-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,10 +6,11 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1 git-2
 
-EGIT_REPO_URI="http://git.tiker.net/trees/pyopencl.git";
+EGIT_REPO_URI="https://git.tiker.net/trees/pyopencl.git";
 
 DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
+HOMEPAGE="https://mathema.tician.de/software/pyopencl
+   https://pypi.python.org/pypi/pyopencl";
 SRC_URI=""
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2018-01-05 Thread Michał Górny
commit: 228eed2d4c7f89d1b1be28e5b3fa1beb72595455
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  5 22:13:54 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  5 23:19:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228eed2d

dev-python/pyopencl: Clean old up

 dev-python/pyopencl/Manifest   |  1 -
 dev-python/pyopencl/pyopencl-2014.1.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 258950fafb4..eae0945a137 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,3 +1,2 @@
-DIST pyopencl-2014.1.tar.gz 1642825 BLAKE2B 
6dfe60a9f190291d78de7913f28bb611826a28f6346c528e22f6fb95306864751e920b17ed66f267eb1894b19c9a34e4d5cc74229a4aefaa207a31c15adef83d
 SHA512 
da3e4e8d95605381d87db482f61fe7030fe244611a3c35d84c88210bcfb3472dc197be721f92e46e6828cc5d0245981ae004331a7c19e7fd8011a0aab593072f
 DIST pyopencl-2016.1.tar.gz 311327 BLAKE2B 
6efb1e6cf6721e5ef606b572963938849b92c7348255be798a4af0604a798dc7804d839a46459275cf0720953deaa8ea6dc46aef594ac11fa61fa231681e2fa3
 SHA512 
3be8da315f9b4a4e03071152bb5968c5c7b102cbae6c70f358438cfd7951d12970a76dd8e922187ff73e47f7d0ce7a070e6f303dbe364c016796fa65d7e1de71
 DIST pyopencl-2017.2.tar.gz 350145 BLAKE2B 
12c481893158f97dec612256b36e710ab52356c8b5f644f3710b5e34d4d10df3b27137ad76f29543fe16b3da725471e206aa5f69c646a79a65246d6091c686a9
 SHA512 
49f2ff619d8c214a3962b8444e68ba415dda032abaf9eeab259fcd1b21fbaab10bd057035161baef7f0182995834082218a6667464c01645231a94c88aa5c18b

diff --git a/dev-python/pyopencl/pyopencl-2014.1.ebuild 
b/dev-python/pyopencl/pyopencl-2014.1.ebuild
deleted file mode 100644
index 95402dfd22c..000
--- a/dev-python/pyopencl/pyopencl-2014.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="examples opengl"
-
-RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   dev-python/pytools[${PYTHON_USEDEP}]
-   >=virtual/opencl-0-r1"
-DEPEND="${RDEPEND}"
-
-src_configure()
-{
-   local myconf=()
-   if use opengl; then
-   myconf+=(--cl-enable-gl)
-   fi
-
-   "${PYTHON}" configure.py \
-   --boost-compiler=gcc \
-   --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
-   --no-use-shipped-boost \
-   "${myconf[@]}"
-}
-
-python_install_all() {
-   if use examples; then
-   local EXAMPLES=( examples/. )
-   einfo "Some of the examples provided by this package require 
dev-python/matplotlib."
-   fi
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2017-09-25 Thread Michael Palimaka
commit: de77835d78e965c3229fc63965697532ad90ac5d
Author: Michael Palimaka  gentoo  org>
AuthorDate: Mon Sep 25 12:41:46 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Mon Sep 25 12:42:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de77835d

dev-python/pyopencl: stabilise 2016.1 for x86

Bug: https://bugs.gentoo.org/625050
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-python/pyopencl/pyopencl-2016.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2016.1.ebuild 
b/dev-python/pyopencl/pyopencl-2016.1.ebuild
index deeb7dacbee..6856259e249 100644
--- a/dev-python/pyopencl/pyopencl-2016.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2016.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="examples opengl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2017-09-18 Thread Patrick Lauer
commit: 7725089b142770a5874dfefc2ce010ea62e51fd2
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Sep 18 19:50:32 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Mon Sep 18 19:50:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7725089b

dev-python/pyopencl: Bump

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-python/pyopencl/Manifest   |  1 +
 dev-python/pyopencl/pyopencl-2017.2.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index d6e8ea40687..baa0be00020 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,3 @@
 DIST pyopencl-2014.1.tar.gz 1642825 SHA256 
7c8df4f22ef49516a1444760dc622a037c83079ff60ff81779e60cb9fc5410e7 SHA512 
da3e4e8d95605381d87db482f61fe7030fe244611a3c35d84c88210bcfb3472dc197be721f92e46e6828cc5d0245981ae004331a7c19e7fd8011a0aab593072f
 WHIRLPOOL 
e9d3c742c6ef217cf1f223990f852ae5b5ef50b7eae3513955da00f41134d9805e2078c16cd31429e327ea64a7ea16c15c014a749a3a532c3a11e4babdb91202
 DIST pyopencl-2016.1.tar.gz 311327 SHA256 
54b6e8ad02dc437807739bd53e43851efe979bd51ec87996e44b94ab67238297 SHA512 
3be8da315f9b4a4e03071152bb5968c5c7b102cbae6c70f358438cfd7951d12970a76dd8e922187ff73e47f7d0ce7a070e6f303dbe364c016796fa65d7e1de71
 WHIRLPOOL 
23514d2ff8b578d623506033c749df5fd1d5604f5deefda72e817c688df9337c608d291f5ae8efc0e227e857ef16b65adb51ebc20773d0f8e636665990902ea9
+DIST pyopencl-2017.2.tar.gz 350145 SHA256 
039b689a58eb98e27a577ac086210deae959f40d657487f3199d2d217c270ff9 SHA512 
49f2ff619d8c214a3962b8444e68ba415dda032abaf9eeab259fcd1b21fbaab10bd057035161baef7f0182995834082218a6667464c01645231a94c88aa5c18b
 WHIRLPOOL 
6dbcad877482932641c26c398ed464560c9787f5ef0fb9db0591c82dacdfe2fcfbe22db672b6e319d434e9bae59133c71fa4d1ac05eef4ada5b70bdf4f350f47

diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild 
b/dev-python/pyopencl/pyopencl-2017.2.ebuild
new file mode 100644
index 000..f61d50f65f4
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples opengl"
+
+RDEPEND="
+   >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
+   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2015.1.2[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=virtual/opencl-0-r1"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   local myconf=()
+   if use opengl; then
+   myconf+=(--cl-enable-gl)
+   fi
+
+   "${PYTHON}" configure.py \
+   --boost-compiler=gcc \
+   --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
+   --no-use-shipped-boost \
+   "${myconf[@]}"
+}
+
+python_install_all() {
+   if use examples; then
+   local EXAMPLES=( examples/. )
+   einfo "Some of the examples provided by this package require 
dev-python/matplotlib."
+   fi
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2017-07-31 Thread Tobias Klausmann
commit: a922805d1320e7c5dba303024d449f5dc1de85e5
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Jul 31 10:44:13 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Jul 31 10:48:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a922805d

dev-python/pyopencl-2016.1-r0: amd64 stable

Gentoo-Bug: 625050

 dev-python/pyopencl/pyopencl-2016.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyopencl/pyopencl-2016.1.ebuild 
b/dev-python/pyopencl/pyopencl-2016.1.ebuild
index f61d50f65f4..deeb7dacbee 100644
--- a/dev-python/pyopencl/pyopencl-2016.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2016.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="examples opengl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2017-07-12 Thread Pacho Ramos
commit: f0bd557cacb47037d3cfb0c0926cfe13f47b7bc5
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 12 18:57:42 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 12 19:00:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0bd557c

dev-python/pyopencl: Support newer python

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/pyopencl/pyopencl-2016.1.ebuild | 4 ++--
 dev-python/pyopencl/pyopencl-.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2016.1.ebuild 
b/dev-python/pyopencl/pyopencl-2016.1.ebuild
index b9058eb16c1..f61d50f65f4 100644
--- a/dev-python/pyopencl/pyopencl-2016.1.ebuild
+++ b/dev-python/pyopencl/pyopencl-2016.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1
 

diff --git a/dev-python/pyopencl/pyopencl-.ebuild 
b/dev-python/pyopencl/pyopencl-.ebuild
index 5dabcf6562d..51361d48955 100644
--- a/dev-python/pyopencl/pyopencl-.ebuild
+++ b/dev-python/pyopencl/pyopencl-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 
 inherit distutils-r1 git-2
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2017-05-02 Thread Michał Górny
commit: 8739d48dcab1ef0d2b486902bef67f244c2b17a9
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 11:14:14 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 11:58:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8739d48d

dev-python/pyopencl: Clean old versions up

 dev-python/pyopencl/Manifest |  2 --
 dev-python/pyopencl/pyopencl-2015.1.ebuild   | 46 -
 dev-python/pyopencl/pyopencl-2015.2.4.ebuild | 50 
 3 files changed, 98 deletions(-)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 1ead07eefb5..d6e8ea40687 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,4 +1,2 @@
 DIST pyopencl-2014.1.tar.gz 1642825 SHA256 
7c8df4f22ef49516a1444760dc622a037c83079ff60ff81779e60cb9fc5410e7 SHA512 
da3e4e8d95605381d87db482f61fe7030fe244611a3c35d84c88210bcfb3472dc197be721f92e46e6828cc5d0245981ae004331a7c19e7fd8011a0aab593072f
 WHIRLPOOL 
e9d3c742c6ef217cf1f223990f852ae5b5ef50b7eae3513955da00f41134d9805e2078c16cd31429e327ea64a7ea16c15c014a749a3a532c3a11e4babdb91202
-DIST pyopencl-2015.1.tar.gz 1652046 SHA256 
823b8c5ae438a70de87b3675c3896d04d785261cb0cbd45c01c7dd0fe9d9f6ff SHA512 
0236237b1f21283aa2fa7edf86d4c7a275df508e2bdd833ad83d333f3a070b00b125310bfbf8e0fd7308b47d94c565642f87645cc91c8d7020f1e377cdd8bec5
 WHIRLPOOL 
2b581e4a02c8f5f77085c87c5e8b63ada0b86c58d04e62e665144be00447a9cdd69e8befecc3effe8b6253f3cace2920e8158417c940d08f89ff2985c479753b
-DIST pyopencl-2015.2.4.tar.gz 284648 SHA256 
f67d0099add79c6baae2359872dec82d1472bd4df42523d1604afcd10ed87398 SHA512 
19ae397adb357da2e04d8aade987471b7c83b902750aeb67bf5303e758b720d78ce05a130b1930478ccc47ff6c3cdf4484b85d4bf60dfb36aaf6e2f050a4af9e
 WHIRLPOOL 
b0fa45f68ccc05d45036ead1c9e6be0aff06c06f45d6c53f1dcbce2a1c70acf5e4ccbcbffea1966a3aa4a752f909c306296a2905bf7331cfd36d9b083d263f61
 DIST pyopencl-2016.1.tar.gz 311327 SHA256 
54b6e8ad02dc437807739bd53e43851efe979bd51ec87996e44b94ab67238297 SHA512 
3be8da315f9b4a4e03071152bb5968c5c7b102cbae6c70f358438cfd7951d12970a76dd8e922187ff73e47f7d0ce7a070e6f303dbe364c016796fa65d7e1de71
 WHIRLPOOL 
23514d2ff8b578d623506033c749df5fd1d5604f5deefda72e817c688df9337c608d291f5ae8efc0e227e857ef16b65adb51ebc20773d0f8e636665990902ea9

diff --git a/dev-python/pyopencl/pyopencl-2015.1.ebuild 
b/dev-python/pyopencl/pyopencl-2015.1.ebuild
deleted file mode 100644
index 9ec7bddf6e2..000
--- a/dev-python/pyopencl/pyopencl-2015.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples opengl"
-
-RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   dev-python/pytools[${PYTHON_USEDEP}]
-   >=virtual/opencl-0-r1"
-DEPEND="${RDEPEND}"
-
-src_configure()
-{
-   local myconf=()
-   if use opengl; then
-   myconf+=(--cl-enable-gl)
-   fi
-
-   "${PYTHON}" configure.py \
-   --boost-compiler=gcc \
-   --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
-   --no-use-shipped-boost \
-   "${myconf[@]}"
-}
-
-python_install_all() {
-   if use examples; then
-   local EXAMPLES=( examples/. )
-   einfo "Some of the examples provided by this package require 
dev-python/matplotlib."
-   fi
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/pyopencl/pyopencl-2015.2.4.ebuild 
b/dev-python/pyopencl/pyopencl-2015.2.4.ebuild
deleted file mode 100644
index b9058eb16c1..000
--- a/dev-python/pyopencl/pyopencl-2015.2.4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python wrapper for OpenCL"
-HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples opengl"
-
-RDEPEND="
-   >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
-   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-   >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
-   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   >=dev-python/pytools-2015.1.2[${PYTHON_USEDEP}]
-   >=dev-python/six-1.

[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2016-06-13 Thread Patrick Lauer
commit: 8bc16f0eff642b343a9cc908f75b472de9a91676
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Jun 13 09:08:18 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Mon Jun 13 09:11:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc16f0e

dev-python/pyopencl: Bump

Package-Manager: portage-2.3.0_rc1

 dev-python/pyopencl/Manifest   |  1 +
 dev-python/pyopencl/pyopencl-2016.1.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index fca65c2..1ead07e 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,3 +1,4 @@
 DIST pyopencl-2014.1.tar.gz 1642825 SHA256 
7c8df4f22ef49516a1444760dc622a037c83079ff60ff81779e60cb9fc5410e7 SHA512 
da3e4e8d95605381d87db482f61fe7030fe244611a3c35d84c88210bcfb3472dc197be721f92e46e6828cc5d0245981ae004331a7c19e7fd8011a0aab593072f
 WHIRLPOOL 
e9d3c742c6ef217cf1f223990f852ae5b5ef50b7eae3513955da00f41134d9805e2078c16cd31429e327ea64a7ea16c15c014a749a3a532c3a11e4babdb91202
 DIST pyopencl-2015.1.tar.gz 1652046 SHA256 
823b8c5ae438a70de87b3675c3896d04d785261cb0cbd45c01c7dd0fe9d9f6ff SHA512 
0236237b1f21283aa2fa7edf86d4c7a275df508e2bdd833ad83d333f3a070b00b125310bfbf8e0fd7308b47d94c565642f87645cc91c8d7020f1e377cdd8bec5
 WHIRLPOOL 
2b581e4a02c8f5f77085c87c5e8b63ada0b86c58d04e62e665144be00447a9cdd69e8befecc3effe8b6253f3cace2920e8158417c940d08f89ff2985c479753b
 DIST pyopencl-2015.2.4.tar.gz 284648 SHA256 
f67d0099add79c6baae2359872dec82d1472bd4df42523d1604afcd10ed87398 SHA512 
19ae397adb357da2e04d8aade987471b7c83b902750aeb67bf5303e758b720d78ce05a130b1930478ccc47ff6c3cdf4484b85d4bf60dfb36aaf6e2f050a4af9e
 WHIRLPOOL 
b0fa45f68ccc05d45036ead1c9e6be0aff06c06f45d6c53f1dcbce2a1c70acf5e4ccbcbffea1966a3aa4a752f909c306296a2905bf7331cfd36d9b083d263f61
+DIST pyopencl-2016.1.tar.gz 311327 SHA256 
54b6e8ad02dc437807739bd53e43851efe979bd51ec87996e44b94ab67238297 SHA512 
3be8da315f9b4a4e03071152bb5968c5c7b102cbae6c70f358438cfd7951d12970a76dd8e922187ff73e47f7d0ce7a070e6f303dbe364c016796fa65d7e1de71
 WHIRLPOOL 
23514d2ff8b578d623506033c749df5fd1d5604f5deefda72e817c688df9337c608d291f5ae8efc0e227e857ef16b65adb51ebc20773d0f8e636665990902ea9

diff --git a/dev-python/pyopencl/pyopencl-2016.1.ebuild 
b/dev-python/pyopencl/pyopencl-2016.1.ebuild
new file mode 100644
index 000..7351247
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2016.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples opengl"
+
+RDEPEND="
+   >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
+   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2015.1.2[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+   >=virtual/opencl-0-r1"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+   local myconf=()
+   if use opengl; then
+   myconf+=(--cl-enable-gl)
+   fi
+
+   "${PYTHON}" configure.py \
+   --boost-compiler=gcc \
+   --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
+   --no-use-shipped-boost \
+   "${myconf[@]}"
+}
+
+python_install_all() {
+   if use examples; then
+   local EXAMPLES=( examples/. )
+   einfo "Some of the examples provided by this package require 
dev-python/matplotlib."
+   fi
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2016-02-10 Thread Justin Lecher
commit: 329cf07554886e8a9a18c290a3822da34cc403ab
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Feb 10 16:15:26 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Feb 10 16:15:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=329cf075

dev-python/pyopencl: Fix deps

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=574346

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pyopencl/pyopencl-2015.2.4.ebuild | 18 +++---
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/dev-python/pyopencl/pyopencl-2015.2.4.ebuild 
b/dev-python/pyopencl/pyopencl-2015.2.4.ebuild
index 8297973..7351247 100644
--- a/dev-python/pyopencl/pyopencl-2015.2.4.ebuild
+++ b/dev-python/pyopencl/pyopencl-2015.2.4.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
+
 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
 
 inherit distutils-r1
@@ -16,16 +17,19 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="examples opengl"
 
-RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
+RDEPEND="
+   >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
+   >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}]
+   >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
-   dev-python/pytools[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   >=dev-python/pytools-2015.1.2[${PYTHON_USEDEP}]
+   >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=virtual/opencl-0-r1"
 DEPEND="${RDEPEND}"
 
-src_configure()
-{
+src_configure() {
local myconf=()
if use opengl; then
myconf+=(--cl-enable-gl)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/

2016-01-06 Thread Patrick Lauer
commit: 225a3798e8fad039d0283c47f9917a1960751095
Author: Patrick Lauer  gentoo  org>
AuthorDate: Wed Jan  6 08:27:01 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Wed Jan  6 08:27:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=225a3798

dev-python/pyopencl: Bump

Package-Manager: portage-2.2.26

 dev-python/pyopencl/Manifest |  1 +
 dev-python/pyopencl/pyopencl-2015.2.4.ebuild | 47 
 2 files changed, 48 insertions(+)

diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 3f25ec0..fca65c2 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,2 +1,3 @@
 DIST pyopencl-2014.1.tar.gz 1642825 SHA256 
7c8df4f22ef49516a1444760dc622a037c83079ff60ff81779e60cb9fc5410e7 SHA512 
da3e4e8d95605381d87db482f61fe7030fe244611a3c35d84c88210bcfb3472dc197be721f92e46e6828cc5d0245981ae004331a7c19e7fd8011a0aab593072f
 WHIRLPOOL 
e9d3c742c6ef217cf1f223990f852ae5b5ef50b7eae3513955da00f41134d9805e2078c16cd31429e327ea64a7ea16c15c014a749a3a532c3a11e4babdb91202
 DIST pyopencl-2015.1.tar.gz 1652046 SHA256 
823b8c5ae438a70de87b3675c3896d04d785261cb0cbd45c01c7dd0fe9d9f6ff SHA512 
0236237b1f21283aa2fa7edf86d4c7a275df508e2bdd833ad83d333f3a070b00b125310bfbf8e0fd7308b47d94c565642f87645cc91c8d7020f1e377cdd8bec5
 WHIRLPOOL 
2b581e4a02c8f5f77085c87c5e8b63ada0b86c58d04e62e665144be00447a9cdd69e8befecc3effe8b6253f3cace2920e8158417c940d08f89ff2985c479753b
+DIST pyopencl-2015.2.4.tar.gz 284648 SHA256 
f67d0099add79c6baae2359872dec82d1472bd4df42523d1604afcd10ed87398 SHA512 
19ae397adb357da2e04d8aade987471b7c83b902750aeb67bf5303e758b720d78ce05a130b1930478ccc47ff6c3cdf4484b85d4bf60dfb36aaf6e2f050a4af9e
 WHIRLPOOL 
b0fa45f68ccc05d45036ead1c9e6be0aff06c06f45d6c53f1dcbce2a1c70acf5e4ccbcbffea1966a3aa4a752f909c306296a2905bf7331cfd36d9b083d263f61

diff --git a/dev-python/pyopencl/pyopencl-2015.2.4.ebuild 
b/dev-python/pyopencl/pyopencl-2015.2.4.ebuild
new file mode 100644
index 000..8297973
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2015.2.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="http://mathema.tician.de/software/pyopencl 
https://pypi.python.org/pypi/pyopencl";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples opengl"
+
+RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+   dev-python/pytools[${PYTHON_USEDEP}]
+   >=virtual/opencl-0-r1"
+DEPEND="${RDEPEND}"
+
+src_configure()
+{
+   local myconf=()
+   if use opengl; then
+   myconf+=(--cl-enable-gl)
+   fi
+
+   "${PYTHON}" configure.py \
+   --boost-compiler=gcc \
+   --boost-python-libname=boost_python-${PYTHON_ABI}-mt \
+   --no-use-shipped-boost \
+   "${myconf[@]}"
+}
+
+python_install_all() {
+   if use examples; then
+   local EXAMPLES=( examples/. )
+   einfo "Some of the examples provided by this package require 
dev-python/matplotlib."
+   fi
+   distutils-r1_python_install_all
+}