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

2024-05-20 Thread Sam James
commit: 73a76284371822e98319268f80482a5e40a6b4d4
Author: Sam James  gentoo  org>
AuthorDate: Mon May 20 16:19:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 20 16:19:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a76284

dev-python/h5py: fix revbump for numpy := dep

Fixes: 730432726f78939466c940a0b862010d3412f2d3
Signed-off-by: Sam James  gentoo.org>

 dev-python/h5py/{h5py-3.11.0.ebuild => h5py-3.11.0-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-python/h5py/h5py-3.11.0.ebuild 
b/dev-python/h5py/h5py-3.11.0-r1.ebuild
similarity index 100%
rename from dev-python/h5py/h5py-3.11.0.ebuild
rename to dev-python/h5py/h5py-3.11.0-r1.ebuild



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

2024-04-27 Thread Michał Górny
commit: 34b13980a649f098a260796357b5e3a743847ed1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 27 08:24:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 27 08:24:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34b13980

dev-python/h5py: Remove old

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

 dev-python/h5py/Manifest  |  1 -
 dev-python/h5py/h5py-3.10.0-r1.ebuild | 66 ---
 2 files changed, 67 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index c732deb78cdf..39fe84b7e467 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,3 +1,2 @@
 DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 
3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133
 SHA512 
a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa
-DIST h5py-3.10.0.tar.gz 403716 BLAKE2B 
a8e4351a15aee5fe9d23f9c5f9b6ff44e688a391ba17e27338675bde60415c73e3cd97a4a0c05490df849f649d626450d3dbecc9ae6ea3d24d784a0a4aaa1850
 SHA512 
840d7f2b9b9d5e22e8edae21c84884abec64acdd6c36437a4921ce9dc1b343c55f66f72b699146d71fe55688f6f948787b62335a24906288e9565b2b19b24b01
 DIST h5py-3.11.0.tar.gz 406519 BLAKE2B 
a5568c96290eee1f6da965174b6fa398f94e2e1825ec4ec50efd856b37ccf2bf634cfeb32101c7c53712fe9c68b0617774e9339a3f0d9373d3df24e6763a20cf
 SHA512 
05d99093d5e7c280779b4167bd3594488dfc348b800da95c2275ddc8d77b4208fd1353942bf8863c4859d0208e8aa8bf84e628b3c5942eb947ecdcf0a7d19e88

diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild 
b/dev-python/h5py/h5py-3.10.0-r1.ebuild
deleted file mode 100644
index 0f1d899e8504..
--- a/dev-python/h5py/h5py-3.10.0-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="
-   https://www.h5py.org/
-   https://github.com/h5py/h5py/
-   https://pypi.org/project/h5py/
-"
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-cython3.patch.xz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
-IUSE="examples"
-
-DEPEND="
-   >=sci-libs/hdf5-1.10.4:=[hl(+)]
-"
-RDEPEND="
-   ${DEPEND}
-   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   >=dev-python/cython-0.29.31[${PYTHON_USEDEP}]
-   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   test? (
-   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${WORKDIR}"/${PN}-3.10.0-cython3.patch
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/alabaster
-
-python_prepare_all() {
-   # avoid pytest-mpi dep, we do not use mpi anyway
-   sed -i -e 's:pytest-mpi::' pytest.ini || die
-   distutils-r1_python_prepare_all
-
-   export H5PY_SETUP_REQUIRES=0
-}
-
-python_test() {
-   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-   epytest -m "not mpi"
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-   distutils-r1_python_install_all
-}



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

2024-04-27 Thread Arthur Zamarin
commit: cb0d2eabeb67fe31da8e5fa2b66e6e431f1aa39c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 27 08:04:10 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 27 08:04:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0d2eab

dev-python/h5py: Stabilize 3.11.0 x86, #930745

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

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

diff --git a/dev-python/h5py/h5py-3.11.0.ebuild 
b/dev-python/h5py/h5py-3.11.0.ebuild
index e56a67ffcc96..7c9eaf70ef62 100644
--- a/dev-python/h5py/h5py-3.11.0.ebuild
+++ b/dev-python/h5py/h5py-3.11.0.ebuild
@@ -19,7 +19,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 IUSE="examples"
 
 DEPEND="



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

2024-04-27 Thread Arthur Zamarin
commit: 85d07c4d1897232ad0601c48680869d93e1cf010
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 27 08:04:10 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 27 08:04:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d07c4d

dev-python/h5py: Stabilize 3.11.0 amd64, #930745

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

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

diff --git a/dev-python/h5py/h5py-3.11.0.ebuild 
b/dev-python/h5py/h5py-3.11.0.ebuild
index 7c9eaf70ef62..961ca41db084 100644
--- a/dev-python/h5py/h5py-3.11.0.ebuild
+++ b/dev-python/h5py/h5py-3.11.0.ebuild
@@ -19,7 +19,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 IUSE="examples"
 
 DEPEND="



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

2024-04-27 Thread Michał Górny
commit: 2a146ee79c36e1331495d1f3c2c6277554a15d88
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 27 07:40:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 27 07:40:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a146ee7

dev-python/h5py: Stabilize 3.11.0 arm64, #930745

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

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

diff --git a/dev-python/h5py/h5py-3.11.0.ebuild 
b/dev-python/h5py/h5py-3.11.0.ebuild
index 5d79819a2fd2..e56a67ffcc96 100644
--- a/dev-python/h5py/h5py-3.11.0.ebuild
+++ b/dev-python/h5py/h5py-3.11.0.ebuild
@@ -19,7 +19,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 IUSE="examples"
 
 DEPEND="



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

2024-04-21 Thread Michał Górny
commit: 730432726f78939466c940a0b862010d3412f2d3
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 22 03:30:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 22 03:40:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73043272

dev-python/h5py: Add := op on dev-python/numpy

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

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

diff --git a/dev-python/h5py/h5py-3.11.0.ebuild 
b/dev-python/h5py/h5py-3.11.0.ebuild
index 31a64dcc7d6d..5d79819a2fd2 100644
--- a/dev-python/h5py/h5py-3.11.0.ebuild
+++ b/dev-python/h5py/h5py-3.11.0.ebuild
@@ -23,11 +23,11 @@ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux 
~x86-linux ~arm64-macos ~x
 IUSE="examples"
 
 DEPEND="
+   >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}]
>=sci-libs/hdf5-1.10.4:=[hl(+)]
 "
 RDEPEND="
${DEPEND}
-   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
 "
 
 BDEPEND="



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

2024-04-13 Thread Arthur Zamarin
commit: df06a16d10d9cd170b2cbcb5677efeed52f380a6
Author: Matoro Mahri  matoro  tk>
AuthorDate: Fri Apr 12 19:03:41 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 13 06:25:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df06a16d

dev-python/h5py: Stabilize 3.10.0-r1 arm64, #927619

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/h5py/h5py-3.10.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild 
b/dev-python/h5py/h5py-3.10.0-r1.ebuild
index 9c255e9ce4bb..0f1d899e8504 100644
--- a/dev-python/h5py/h5py-3.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-3.10.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 IUSE="examples"
 
 DEPEND="



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

2024-04-11 Thread Michał Górny
commit: d58661c1bb6ae17007251d5c441ab5aebc2e5f3d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 11 18:58:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 11 19:04:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58661c1

dev-python/h5py: Update doc deps

Closes: https://bugs.gentoo.org/929120
Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/h5py/h5py-3.11.0.ebuild 
b/dev-python/h5py/h5py-3.11.0.ebuild
index 0cebc6b7bda9..31a64dcc7d6d 100644
--- a/dev-python/h5py/h5py-3.11.0.ebuild
+++ b/dev-python/h5py/h5py-3.11.0.ebuild
@@ -41,7 +41,7 @@ BDEPEND="
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs \
-   dev-python/alabaster
+   dev-python/sphinx-rtd-theme
 
 python_prepare_all() {
# avoid pytest-mpi dep, we do not use mpi anyway



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

2024-04-10 Thread Michał Górny
commit: 38305501841e6e303d24530503a2c4878ce2670a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 11 04:07:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 11 04:20:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38305501

dev-python/h5py: Bump to 3.11.0

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

 dev-python/h5py/Manifest   |  1 +
 dev-python/h5py/h5py-3.11.0.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 9858508408b0..c732deb78cdf 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1,3 @@
 DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 
3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133
 SHA512 
a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa
 DIST h5py-3.10.0.tar.gz 403716 BLAKE2B 
a8e4351a15aee5fe9d23f9c5f9b6ff44e688a391ba17e27338675bde60415c73e3cd97a4a0c05490df849f649d626450d3dbecc9ae6ea3d24d784a0a4aaa1850
 SHA512 
840d7f2b9b9d5e22e8edae21c84884abec64acdd6c36437a4921ce9dc1b343c55f66f72b699146d71fe55688f6f948787b62335a24906288e9565b2b19b24b01
+DIST h5py-3.11.0.tar.gz 406519 BLAKE2B 
a5568c96290eee1f6da965174b6fa398f94e2e1825ec4ec50efd856b37ccf2bf634cfeb32101c7c53712fe9c68b0617774e9339a3f0d9373d3df24e6763a20cf
 SHA512 
05d99093d5e7c280779b4167bd3594488dfc348b800da95c2275ddc8d77b4208fd1353942bf8863c4859d0208e8aa8bf84e628b3c5942eb947ecdcf0a7d19e88

diff --git a/dev-python/h5py/h5py-3.11.0.ebuild 
b/dev-python/h5py/h5py-3.11.0.ebuild
new file mode 100644
index ..0cebc6b7bda9
--- /dev/null
+++ b/dev-python/h5py/h5py-3.11.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+   https://www.h5py.org/
+   https://github.com/h5py/h5py/
+   https://pypi.org/project/h5py/
+"
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-cython3.patch.xz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+IUSE="examples"
+
+DEPEND="
+   >=sci-libs/hdf5-1.10.4:=[hl(+)]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   >=dev-python/cython-0.29.31[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   epytest -m "not mpi"
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



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

2023-12-24 Thread Sam James
commit: b82e7601264afc0a8755fc36ec41522a2df70612
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 25 07:21:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 25 07:21:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82e7601

dev-python/h5py: drop 3.10.0

Bug: https://bugs.gentoo.org/898672
Signed-off-by: Sam James  gentoo.org>

 dev-python/h5py/h5py-3.10.0.ebuild | 70 --
 1 file changed, 70 deletions(-)

diff --git a/dev-python/h5py/h5py-3.10.0.ebuild 
b/dev-python/h5py/h5py-3.10.0.ebuild
deleted file mode 100644
index dccd94ae2ef6..
--- a/dev-python/h5py/h5py-3.10.0.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
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="
-   https://www.h5py.org/
-   https://github.com/h5py/h5py/
-   https://pypi.org/project/h5py/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
-#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
-DEPEND="
-   >=sci-libs/hdf5-1.10.4:=[hl(+)]
-"
-RDEPEND="
-   ${DEPEND}
-   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   =dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   test? (
-   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   )
-"
-#  mpi? ( virtual/mpi )
-#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/alabaster
-
-#pkg_setup() {
-#  use mpi && export CC=mpicc
-#}
-
-python_prepare_all() {
-   # avoid pytest-mpi dep, we do not use mpi anyway
-   sed -i -e 's:pytest-mpi::' pytest.ini || die
-   distutils-r1_python_prepare_all
-
-   export H5PY_SETUP_REQUIRES=0
-}
-
-python_test() {
-   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-   epytest -m "not mpi"
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-   distutils-r1_python_install_all
-}



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

2023-12-08 Thread Arthur Zamarin
commit: 73ae4e93e4f243d67383f2f54d7171912efe71aa
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  8 09:03:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  8 09:03:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ae4e93

dev-python/h5py: Stabilize 3.10.0-r1 x86, #919275

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

 dev-python/h5py/h5py-3.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild 
b/dev-python/h5py/h5py-3.10.0-r1.ebuild
index 41f11ce595a3..9c255e9ce4bb 100644
--- a/dev-python/h5py/h5py-3.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-3.10.0-r1.ebuild
@@ -19,7 +19,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 IUSE="examples"
 
 DEPEND="



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

2023-12-05 Thread Sam James
commit: 8cfaf48b6ab5c73f6429951b88dffb148ecfcc9f
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec  6 07:41:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  6 07:41:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfaf48b

dev-python/h5py: Stabilize 3.10.0-r1 amd64, #919275

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

 dev-python/h5py/h5py-3.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild 
b/dev-python/h5py/h5py-3.10.0-r1.ebuild
index 88aeec5dd302..41f11ce595a3 100644
--- a/dev-python/h5py/h5py-3.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-3.10.0-r1.ebuild
@@ -19,7 +19,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 IUSE="examples"
 
 DEPEND="



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

2023-12-05 Thread Sam James
commit: 4cbb0cd475a8a12c71648d88511e69d061f8ef92
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  5 13:41:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  5 13:41:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbb0cd4

dev-python/h5py: drop back to ~arch

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

 dev-python/h5py/h5py-3.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild 
b/dev-python/h5py/h5py-3.10.0-r1.ebuild
index 9c255e9ce4bb..88aeec5dd302 100644
--- a/dev-python/h5py/h5py-3.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-3.10.0-r1.ebuild
@@ -19,7 +19,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 IUSE="examples"
 
 DEPEND="



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

2023-12-05 Thread Sam James
commit: 2fb8858d14adab839c66d7d2aa6ef5246dc8e4af
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  5 13:28:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  5 13:40:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb8858d

dev-python/h5py: backport cython-3 patch

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

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/h5py-3.10.0-r1.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 5f00a98654e5..9858508408b0 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
+DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 
3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133
 SHA512 
a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa
 DIST h5py-3.10.0.tar.gz 403716 BLAKE2B 
a8e4351a15aee5fe9d23f9c5f9b6ff44e688a391ba17e27338675bde60415c73e3cd97a4a0c05490df849f649d626450d3dbecc9ae6ea3d24d784a0a4aaa1850
 SHA512 
840d7f2b9b9d5e22e8edae21c84884abec64acdd6c36437a4921ce9dc1b343c55f66f72b699146d71fe55688f6f948787b62335a24906288e9565b2b19b24b01

diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild 
b/dev-python/h5py/h5py-3.10.0-r1.ebuild
new file mode 100644
index ..9c255e9ce4bb
--- /dev/null
+++ b/dev-python/h5py/h5py-3.10.0-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+   https://www.h5py.org/
+   https://github.com/h5py/h5py/
+   https://pypi.org/project/h5py/
+"
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-cython3.patch.xz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+IUSE="examples"
+
+DEPEND="
+   >=sci-libs/hdf5-1.10.4:=[hl(+)]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   >=dev-python/cython-0.29.31[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${WORKDIR}"/${PN}-3.10.0-cython3.patch
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   epytest -m "not mpi"
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



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

2023-11-11 Thread Michał Górny
commit: 8b7c5e46f9c4d5e91f0a2e433a788191155d3d01
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 20:38:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 20:50:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7c5e46

dev-python/h5py: Remove old

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

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

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index bf1fb5fb0e74..5f00a98654e5 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1 @@
 DIST h5py-3.10.0.tar.gz 403716 BLAKE2B 
a8e4351a15aee5fe9d23f9c5f9b6ff44e688a391ba17e27338675bde60415c73e3cd97a4a0c05490df849f649d626450d3dbecc9ae6ea3d24d784a0a4aaa1850
 SHA512 
840d7f2b9b9d5e22e8edae21c84884abec64acdd6c36437a4921ce9dc1b343c55f66f72b699146d71fe55688f6f948787b62335a24906288e9565b2b19b24b01
-DIST h5py-3.9.0.tar.gz 402856 BLAKE2B 
e2c617c492c2fba751fa546292232b78e1cec4bc75fb50a7c59cdb4a34bc927134d4604d3d9b24f880235cfb356636e66907b8026107547905a77ed9732ccc26
 SHA512 
f87cb36ba874e86b179776031c3345ad83bc7b5eff2f3ee54acb6b0997cc7925c17dc478957103ab6bb07d8aaa8593af1d51c3547021a205e9d01c0e36d833a9

diff --git a/dev-python/h5py/h5py-3.9.0.ebuild 
b/dev-python/h5py/h5py-3.9.0.ebuild
deleted file mode 100644
index f388a3ed802e..
--- a/dev-python/h5py/h5py-3.9.0.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
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="
-   https://www.h5py.org/
-   https://github.com/h5py/h5py/
-   https://pypi.org/project/h5py/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
-#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
-DEPEND="
-   sci-libs/hdf5:=[hl(+)]
-"
-RDEPEND="
-   ${DEPEND}
-   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   =dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   test? (
-   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   )
-"
-#  mpi? ( virtual/mpi )
-#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/alabaster
-
-#pkg_setup() {
-#  use mpi && export CC=mpicc
-#}
-
-python_prepare_all() {
-   # avoid pytest-mpi dep, we do not use mpi anyway
-   sed -i -e 's:pytest-mpi::' pytest.ini || die
-   distutils-r1_python_prepare_all
-
-   export H5PY_SETUP_REQUIRES=0
-}
-
-python_test() {
-   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-   epytest -m "not mpi"
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-   distutils-r1_python_install_all
-}



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

2023-11-11 Thread Arthur Zamarin
commit: ff15db189abd53821a0721b2e6ff07d15d874af6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 11 20:15:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 11 20:15:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff15db18

dev-python/h5py: Stabilize 3.10.0 amd64, #917188

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

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

diff --git a/dev-python/h5py/h5py-3.10.0.ebuild 
b/dev-python/h5py/h5py-3.10.0.ebuild
index 0d8d0d403f08..dccd94ae2ef6 100644
--- a/dev-python/h5py/h5py-3.10.0.ebuild
+++ b/dev-python/h5py/h5py-3.10.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-11-11 Thread Sam James
commit: 21603da98410333531fd3136805a481a97498734
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 11 20:02:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 11 20:02:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21603da9

dev-python/h5py: Stabilize 3.10.0 x86, #917188

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

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

diff --git a/dev-python/h5py/h5py-3.10.0.ebuild 
b/dev-python/h5py/h5py-3.10.0.ebuild
index 268436d2c1bb..0d8d0d403f08 100644
--- a/dev-python/h5py/h5py-3.10.0.ebuild
+++ b/dev-python/h5py/h5py-3.10.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-10-09 Thread Michał Górny
commit: 836ebf5ff5c62ee155f36299784b613fa46ee454
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 10 04:51:45 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 05:05:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836ebf5f

dev-python/h5py: Bump to 3.10.0

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

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

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 438d98fcb61c..bf1fb5fb0e74 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
+DIST h5py-3.10.0.tar.gz 403716 BLAKE2B 
a8e4351a15aee5fe9d23f9c5f9b6ff44e688a391ba17e27338675bde60415c73e3cd97a4a0c05490df849f649d626450d3dbecc9ae6ea3d24d784a0a4aaa1850
 SHA512 
840d7f2b9b9d5e22e8edae21c84884abec64acdd6c36437a4921ce9dc1b343c55f66f72b699146d71fe55688f6f948787b62335a24906288e9565b2b19b24b01
 DIST h5py-3.9.0.tar.gz 402856 BLAKE2B 
e2c617c492c2fba751fa546292232b78e1cec4bc75fb50a7c59cdb4a34bc927134d4604d3d9b24f880235cfb356636e66907b8026107547905a77ed9732ccc26
 SHA512 
f87cb36ba874e86b179776031c3345ad83bc7b5eff2f3ee54acb6b0997cc7925c17dc478957103ab6bb07d8aaa8593af1d51c3547021a205e9d01c0e36d833a9

diff --git a/dev-python/h5py/h5py-3.10.0.ebuild 
b/dev-python/h5py/h5py-3.10.0.ebuild
new file mode 100644
index ..268436d2c1bb
--- /dev/null
+++ b/dev-python/h5py/h5py-3.10.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+   https://www.h5py.org/
+   https://github.com/h5py/h5py/
+   https://pypi.org/project/h5py/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+DEPEND="
+   >=sci-libs/hdf5-1.10.4:=[hl(+)]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   =dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   )
+"
+#  mpi? ( virtual/mpi )
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   epytest -m "not mpi"
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



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

2023-08-12 Thread Michał Górny
commit: 1e1aa3d7218f7e7b850893049f6bc704105a1181
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 12 16:15:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 12 16:15:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1aa3d7

dev-python/h5py: Remove old

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

 dev-python/h5py/Manifest   |  1 -
 dev-python/h5py/files/h5py-3.8.0-cython3.patch | 26 -
 dev-python/h5py/h5py-3.8.0.ebuild  | 74 --
 3 files changed, 101 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index cac65c4a1f7a..438d98fcb61c 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1 @@
-DIST h5py-3.8.0.tar.gz 400774 BLAKE2B 
2e48991225170fbb728fa55a68aea795db42c7eae605d123a24a59a8730220ddc98e88dfbff60220ce8c6952ca7fc0c3e33d472acae09864a29bfe11d90fcca1
 SHA512 
13397f66a9fc735e1143eb9e3dd584280e955adf49de467bf56c1a98952903720480ab8d505921b7e22c16453498625ad93421a64e520f15ea3566472849a8fd
 DIST h5py-3.9.0.tar.gz 402856 BLAKE2B 
e2c617c492c2fba751fa546292232b78e1cec4bc75fb50a7c59cdb4a34bc927134d4604d3d9b24f880235cfb356636e66907b8026107547905a77ed9732ccc26
 SHA512 
f87cb36ba874e86b179776031c3345ad83bc7b5eff2f3ee54acb6b0997cc7925c17dc478957103ab6bb07d8aaa8593af1d51c3547021a205e9d01c0e36d833a9

diff --git a/dev-python/h5py/files/h5py-3.8.0-cython3.patch 
b/dev-python/h5py/files/h5py-3.8.0-cython3.patch
deleted file mode 100644
index 3201a2ea0e6b..
--- a/dev-python/h5py/files/h5py-3.8.0-cython3.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From af48a740070643549e76890fcc88276fe4ee1159 Mon Sep 17 00:00:00 2001
-From: Thomas A Caswell 
-Date: Mon, 3 Apr 2023 14:55:18 -0400
-Subject: [PATCH] BLD: fix for cython3 compatibility
-

- h5py/_errors.pyx | 2 +-
- pyproject.toml   | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx
-index ca7b1c48..c3bd184e 100644
 a/h5py/_errors.pyx
-+++ b/h5py/_errors.pyx
-@@ -94,7 +94,7 @@ cdef struct err_data_t:
- H5E_error_t err
- int n
- 
--cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil:
-+cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil 
noexcept:
- 
- cdef err_data_t *ee = e
- 
--- 
-2.40.1
-

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
deleted file mode 100644
index 6af255d496d6..
--- a/dev-python/h5py/h5py-3.8.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="
-   https://www.h5py.org/
-   https://github.com/h5py/h5py/
-   https://pypi.org/project/h5py/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
-#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
-DEPEND="
-   sci-libs/hdf5:=[hl(+)]
-"
-RDEPEND="
-   ${DEPEND}
-   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   dev-python/cython[${PYTHON_USEDEP}]
-   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   test? (
-   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   )
-"
-#  mpi? ( virtual/mpi )
-#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/alabaster
-
-#pkg_setup() {
-#  use mpi && export CC=mpicc
-#}
-
-python_prepare_all() {
-   local PATCHES=(
-   "${FILESDIR}/${P}-cython3.patch"
-   )
-
-   # avoid pytest-mpi dep, we do not use mpi anyway
-   sed -i -e 's:pytest-mpi::' pytest.ini || die
-   distutils-r1_python_prepare_all
-
-   export H5PY_SETUP_REQUIRES=0
-}
-
-python_test() {
-   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-   epytest -m "not mpi"
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-   distutils-r1_python_install_all
-}



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

2023-08-12 Thread Arthur Zamarin
commit: eddd9e67ab4c3c3053ca32b4f975250afc5d8027
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 12 15:56:49 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 12 15:56:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eddd9e67

dev-python/h5py: Stabilize 3.9.0 x86, #912129

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

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

diff --git a/dev-python/h5py/h5py-3.9.0.ebuild 
b/dev-python/h5py/h5py-3.9.0.ebuild
index 2ef5ea780249..f388a3ed802e 100644
--- a/dev-python/h5py/h5py-3.9.0.ebuild
+++ b/dev-python/h5py/h5py-3.9.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-08-11 Thread Sam James
commit: b6af2398c6ece330caf7c73c5aab6476419c994d
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 12 00:09:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 12 00:09:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6af2398

dev-python/h5py: Stabilize 3.9.0 amd64, #912129

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

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

diff --git a/dev-python/h5py/h5py-3.9.0.ebuild 
b/dev-python/h5py/h5py-3.9.0.ebuild
index 00828930298e..2ef5ea780249 100644
--- a/dev-python/h5py/h5py-3.9.0.ebuild
+++ b/dev-python/h5py/h5py-3.9.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos 
~x64-macos"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-07-08 Thread Benda XU
commit: e23909c6dd2e1474b78b3b5fc7f91168cb368031
Author: Benda Xu  gentoo  org>
AuthorDate: Sat Jul  8 10:38:38 2023 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Jul  8 10:47:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e23909c6

dev-python/h5py: keyword 3.9.0 for ~x64-macos

Signed-off-by: Benda Xu  gentoo.org>

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

diff --git a/dev-python/h5py/h5py-3.9.0.ebuild 
b/dev-python/h5py/h5py-3.9.0.ebuild
index 23469e940bb9..3a05f261d241 100644
--- a/dev-python/h5py/h5py-3.9.0.ebuild
+++ b/dev-python/h5py/h5py-3.9.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-06-20 Thread Michał Górny
commit: 875647c12e2ca96adf7ee1a0ea0d4de3f461e2e3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 21 03:44:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 21 04:14:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=875647c1

dev-python/h5py: Bump to 3.9.0

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

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

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index a61e1cbff058..cac65c4a1f7a 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
 DIST h5py-3.8.0.tar.gz 400774 BLAKE2B 
2e48991225170fbb728fa55a68aea795db42c7eae605d123a24a59a8730220ddc98e88dfbff60220ce8c6952ca7fc0c3e33d472acae09864a29bfe11d90fcca1
 SHA512 
13397f66a9fc735e1143eb9e3dd584280e955adf49de467bf56c1a98952903720480ab8d505921b7e22c16453498625ad93421a64e520f15ea3566472849a8fd
+DIST h5py-3.9.0.tar.gz 402856 BLAKE2B 
e2c617c492c2fba751fa546292232b78e1cec4bc75fb50a7c59cdb4a34bc927134d4604d3d9b24f880235cfb356636e66907b8026107547905a77ed9732ccc26
 SHA512 
f87cb36ba874e86b179776031c3345ad83bc7b5eff2f3ee54acb6b0997cc7925c17dc478957103ab6bb07d8aaa8593af1d51c3547021a205e9d01c0e36d833a9

diff --git a/dev-python/h5py/h5py-3.9.0.ebuild 
b/dev-python/h5py/h5py-3.9.0.ebuild
new file mode 100644
index ..23469e940bb9
--- /dev/null
+++ b/dev-python/h5py/h5py-3.9.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+   https://www.h5py.org/
+   https://github.com/h5py/h5py/
+   https://pypi.org/project/h5py/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+DEPEND="
+   sci-libs/hdf5:=[hl(+)]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   =dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   )
+"
+#  mpi? ( virtual/mpi )
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   epytest -m "not mpi"
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



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

2023-05-29 Thread Sam James
commit: f76c5268ddd0b0f09852ce627e53b79698c091d0
Author: Sam James  gentoo  org>
AuthorDate: Mon May 29 23:49:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 29 23:49:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76c5268

dev-python/h5py: Keyword 3.8.0 arm64, #906568

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

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

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
index 5b3499eae04f..6af255d496d6 100644
--- a/dev-python/h5py/h5py-3.8.0.ebuild
+++ b/dev-python/h5py/h5py-3.8.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~riscv x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-05-11 Thread Michał Górny
commit: b9d3050d6c136f92f14f193310b57622dbb4c045
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 11 05:52:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 11 06:22:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d3050d

dev-python/h5py: Backport cython-3 fix

Closes: https://bugs.gentoo.org/898672
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/h5py/files/h5py-3.8.0-cython3.patch | 26 ++
 dev-python/h5py/h5py-3.8.0.ebuild  |  4 
 2 files changed, 30 insertions(+)

diff --git a/dev-python/h5py/files/h5py-3.8.0-cython3.patch 
b/dev-python/h5py/files/h5py-3.8.0-cython3.patch
new file mode 100644
index ..3201a2ea0e6b
--- /dev/null
+++ b/dev-python/h5py/files/h5py-3.8.0-cython3.patch
@@ -0,0 +1,26 @@
+From af48a740070643549e76890fcc88276fe4ee1159 Mon Sep 17 00:00:00 2001
+From: Thomas A Caswell 
+Date: Mon, 3 Apr 2023 14:55:18 -0400
+Subject: [PATCH] BLD: fix for cython3 compatibility
+
+---
+ h5py/_errors.pyx | 2 +-
+ pyproject.toml   | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx
+index ca7b1c48..c3bd184e 100644
+--- a/h5py/_errors.pyx
 b/h5py/_errors.pyx
+@@ -94,7 +94,7 @@ cdef struct err_data_t:
+ H5E_error_t err
+ int n
+ 
+-cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil:
++cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil 
noexcept:
+ 
+ cdef err_data_t *ee = e
+ 
+-- 
+2.40.1
+

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
index 2d868534ddc3..5b3499eae04f 100644
--- a/dev-python/h5py/h5py-3.8.0.ebuild
+++ b/dev-python/h5py/h5py-3.8.0.ebuild
@@ -52,6 +52,10 @@ distutils_enable_sphinx docs \
 #}
 
 python_prepare_all() {
+   local PATCHES=(
+   "${FILESDIR}/${P}-cython3.patch"
+   )
+
# avoid pytest-mpi dep, we do not use mpi anyway
sed -i -e 's:pytest-mpi::' pytest.ini || die
distutils-r1_python_prepare_all



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

2023-05-04 Thread Michał Górny
commit: b899b0320c9a9adfe09cf372e0a939c48ea7ecc3
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  4 16:13:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  4 16:17:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b899b032

dev-python/h5py: Set DISTUTILS_EXT=1

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

 dev-python/h5py/h5py-3.8.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
index c18f019a61ca..2d868534ddc3 100644
--- a/dev-python/h5py/h5py-3.8.0.ebuild
+++ b/dev-python/h5py/h5py-3.8.0.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 



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

2023-02-23 Thread Michał Górny
commit: 8507ed6a8106caced65c1c427685ee9e86d1d448
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 24 04:39:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 24 04:39:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8507ed6a

dev-python/h5py: Use pypi.eclass

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

 dev-python/h5py/h5py-3.8.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
index ba2b73c2383a..c18f019a61ca 100644
--- a/dev-python/h5py/h5py-3.8.0.ebuild
+++ b/dev-python/h5py/h5py-3.8.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Simple Python interface to HDF5 files"
 HOMEPAGE="
@@ -14,7 +14,6 @@ HOMEPAGE="
https://github.com/h5py/h5py/
https://pypi.org/project/h5py/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"



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

2023-02-23 Thread Michał Górny
commit: 33d2a521bd14b0d765b0ea7b8faddbdd12127911
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 24 04:39:12 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 24 04:39:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d2a521

dev-python/h5py: Remove old

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

 dev-python/h5py/Manifest |  1 -
 dev-python/h5py/files/h5py-3.7.0-types.patch | 36 --
 dev-python/h5py/h5py-3.7.0.ebuild| 74 
 3 files changed, 111 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index b460c61ffcd6..a61e1cbff058 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1 @@
-DIST h5py-3.7.0.tar.gz 392355 BLAKE2B 
efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15
 SHA512 
c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2
 DIST h5py-3.8.0.tar.gz 400774 BLAKE2B 
2e48991225170fbb728fa55a68aea795db42c7eae605d123a24a59a8730220ddc98e88dfbff60220ce8c6952ca7fc0c3e33d472acae09864a29bfe11d90fcca1
 SHA512 
13397f66a9fc735e1143eb9e3dd584280e955adf49de467bf56c1a98952903720480ab8d505921b7e22c16453498625ad93421a64e520f15ea3566472849a8fd

diff --git a/dev-python/h5py/files/h5py-3.7.0-types.patch 
b/dev-python/h5py/files/h5py-3.7.0-types.patch
deleted file mode 100644
index 47058879445f..
--- a/dev-python/h5py/files/h5py-3.7.0-types.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 873077a5b132c4294f0ea6af2eb29d61352c6688 Mon Sep 17 00:00:00 2001
-From: Gyeongjae Choi 
-Date: Fri, 2 Sep 2022 07:54:44 +
-Subject: [PATCH] Fix incompatible pointer type
-

- h5py/_errors.pxd | 2 +-
- h5py/_errors.pyx | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/h5py/_errors.pxd b/h5py/_errors.pxd
-index 13b299e27..e7791a6bd 100644
 a/h5py/_errors.pxd
-+++ b/h5py/_errors.pxd
-@@ -412,7 +412,7 @@ cdef extern from "hdf5.h":
- 
- herr_tH5Eprint(hid_t estack_id, void *stream)
- 
--ctypedef herr_t (*H5E_walk_t)(int n, H5E_error_t *err_desc, void* 
client_data)
-+ctypedef herr_t (*H5E_walk_t)(unsigned int n, const H5E_error_t 
*err_desc, void* client_data)
- herr_tH5Ewalk(hid_t estack_id, H5E_direction_t direction, H5E_walk_t 
func, void* client_data)
- 
- # --- Functions for managing the HDF5 error callback mechanism ---
-diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx
-index 612052fb2..ca7b1c48c 100644
 a/h5py/_errors.pyx
-+++ b/h5py/_errors.pyx
-@@ -94,7 +94,7 @@ cdef struct err_data_t:
- H5E_error_t err
- int n
- 
--cdef herr_t walk_cb(int n, H5E_error_t *desc, void *e) nogil:
-+cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil:
- 
- cdef err_data_t *ee = e
- 

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
deleted file mode 100644
index 4bde6fa3be73..
--- a/dev-python/h5py/h5py-3.7.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="
-   https://www.h5py.org/
-   https://github.com/h5py/h5py/
-   https://pypi.org/project/h5py/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~riscv x86 ~amd64-linux ~x86-linux"
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
-#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
-DEPEND="
-   sci-libs/hdf5:=[hl(+)]
-"
-RDEPEND="
-   ${DEPEND}
-   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   dev-python/cython[${PYTHON_USEDEP}]
-   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   test? (
-   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   )
-"
-#  mpi? ( virtual/mpi )
-#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/alabaster
-
-#pkg_setup() {
-#  use mpi && export CC=mpicc
-#}
-
-python_prepare_all() {
-   local PATCHES=(
-   "${FILESDIR}"/${P}-types.patch
-   )
-
-   # avoid pytest-mpi dep, we do not use mpi anyway
-   sed -i -e 's:pytest-mpi::' pytest.ini || die
-   distutils-r1_python_prepare_all
-
-   export H5PY_SETUP_REQUIRES=0
-}
-
-python_test() {
-   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-   epytest -m "not mpi"
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-   distutils-r1_python_install_all
-}



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

2023-02-23 Thread Arthur Zamarin
commit: 93d3f6afa63178aadfccecae58d5cb807a5e0c5a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 23 20:45:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 23 20:45:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d3f6af

dev-python/h5py: Stabilize 3.8.0 x86, #896080

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

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

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
index deb49bb9263e..ba2b73c2383a 100644
--- a/dev-python/h5py/h5py-3.8.0.ebuild
+++ b/dev-python/h5py/h5py-3.8.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~riscv x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-02-23 Thread Arthur Zamarin
commit: 62928adeb13f9716b1acff725d81e8a70767770a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 23 20:18:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 23 20:18:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62928ade

dev-python/h5py: Stabilize 3.8.0 amd64, #896080

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

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

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
index 2eb6cdb7db99..deb49bb9263e 100644
--- a/dev-python/h5py/h5py-3.8.0.ebuild
+++ b/dev-python/h5py/h5py-3.8.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2023-01-23 Thread Michał Górny
commit: 10b972d2f262c40815a615eb3bd2aa1ddfeb4cbd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 24 06:31:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 24 07:04:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b972d2

dev-python/h5py: Bump to 3.8.0

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

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

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 27f6546d3831..b460c61ffcd6 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
 DIST h5py-3.7.0.tar.gz 392355 BLAKE2B 
efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15
 SHA512 
c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2
+DIST h5py-3.8.0.tar.gz 400774 BLAKE2B 
2e48991225170fbb728fa55a68aea795db42c7eae605d123a24a59a8730220ddc98e88dfbff60220ce8c6952ca7fc0c3e33d472acae09864a29bfe11d90fcca1
 SHA512 
13397f66a9fc735e1143eb9e3dd584280e955adf49de467bf56c1a98952903720480ab8d505921b7e22c16453498625ad93421a64e520f15ea3566472849a8fd

diff --git a/dev-python/h5py/h5py-3.8.0.ebuild 
b/dev-python/h5py/h5py-3.8.0.ebuild
new file mode 100644
index ..2eb6cdb7db99
--- /dev/null
+++ b/dev-python/h5py/h5py-3.8.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+   https://www.h5py.org/
+   https://github.com/h5py/h5py/
+   https://pypi.org/project/h5py/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+DEPEND="
+   sci-libs/hdf5:=[hl(+)]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   )
+"
+#  mpi? ( virtual/mpi )
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   epytest -m "not mpi"
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



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

2022-12-01 Thread Michał Górny
commit: 0a1c3e816e104ea1e0833fd1c8cc2f529c879469
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec  1 14:32:20 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec  1 14:32:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1c3e81

dev-python/h5py: Backport -Wincompatible-function-pointer-types fix

Closes: https://bugs.gentoo.org/883813
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/h5py/files/h5py-3.7.0-types.patch | 36 
 dev-python/h5py/h5py-3.7.0.ebuild|  4 
 2 files changed, 40 insertions(+)

diff --git a/dev-python/h5py/files/h5py-3.7.0-types.patch 
b/dev-python/h5py/files/h5py-3.7.0-types.patch
new file mode 100644
index ..47058879445f
--- /dev/null
+++ b/dev-python/h5py/files/h5py-3.7.0-types.patch
@@ -0,0 +1,36 @@
+From 873077a5b132c4294f0ea6af2eb29d61352c6688 Mon Sep 17 00:00:00 2001
+From: Gyeongjae Choi 
+Date: Fri, 2 Sep 2022 07:54:44 +
+Subject: [PATCH] Fix incompatible pointer type
+
+---
+ h5py/_errors.pxd | 2 +-
+ h5py/_errors.pyx | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/h5py/_errors.pxd b/h5py/_errors.pxd
+index 13b299e27..e7791a6bd 100644
+--- a/h5py/_errors.pxd
 b/h5py/_errors.pxd
+@@ -412,7 +412,7 @@ cdef extern from "hdf5.h":
+ 
+ herr_tH5Eprint(hid_t estack_id, void *stream)
+ 
+-ctypedef herr_t (*H5E_walk_t)(int n, H5E_error_t *err_desc, void* 
client_data)
++ctypedef herr_t (*H5E_walk_t)(unsigned int n, const H5E_error_t 
*err_desc, void* client_data)
+ herr_tH5Ewalk(hid_t estack_id, H5E_direction_t direction, H5E_walk_t 
func, void* client_data)
+ 
+ # --- Functions for managing the HDF5 error callback mechanism ---
+diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx
+index 612052fb2..ca7b1c48c 100644
+--- a/h5py/_errors.pyx
 b/h5py/_errors.pyx
+@@ -94,7 +94,7 @@ cdef struct err_data_t:
+ H5E_error_t err
+ int n
+ 
+-cdef herr_t walk_cb(int n, H5E_error_t *desc, void *e) nogil:
++cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil:
+ 
+ cdef err_data_t *ee = e
+ 

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
index 4181426a752b..69050a69bde6 100644
--- a/dev-python/h5py/h5py-3.7.0.ebuild
+++ b/dev-python/h5py/h5py-3.7.0.ebuild
@@ -52,6 +52,10 @@ distutils_enable_sphinx docs \
 #}
 
 python_prepare_all() {
+   local PATCHES=(
+   "${FILESDIR}"/${P}-types.patch
+   )
+
# avoid pytest-mpi dep, we do not use mpi anyway
sed -i -e 's:pytest-mpi::' pytest.ini || die
distutils-r1_python_prepare_all



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

2022-12-01 Thread Michał Górny
commit: 981f6ed49d10a289eed5e4da8b02306439278343
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec  1 14:34:37 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec  1 14:34:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=981f6ed4

dev-python/h5py: Add GH remote-id

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

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

diff --git a/dev-python/h5py/metadata.xml b/dev-python/h5py/metadata.xml
index fd83f27a5b90..efccd0f8f324 100644
--- a/dev-python/h5py/metadata.xml
+++ b/dev-python/h5py/metadata.xml
@@ -19,6 +19,7 @@
   datasets and recursive iteration over entire files.
   
   
+h5py/h5py
 h5py
 h5py
   



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

2022-10-29 Thread Sam James
commit: 67a5c0094edc0e2abbc6ae44836a0bc9d5e03de1
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 29 19:42:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 29 19:42:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a5c009

dev-python/h5py: Keyword 3.7.0 arm, #858215

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

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

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
index aa66fc5262fb..4181426a752b 100644
--- a/dev-python/h5py/h5py-3.7.0.ebuild
+++ b/dev-python/h5py/h5py-3.7.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~riscv x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2022-10-06 Thread Andrew Ammerlaan
commit: 4b6316c6d6d09ee19e8a2bc9bd2bd8efb2f91643
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Oct  6 10:02:11 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Oct  6 10:08:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b6316c6

dev-python/h5py: enable py3.11

Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
index 1eabfd7dca45..aa66fc5262fb 100644
--- a/dev-python/h5py/h5py-3.7.0.ebuild
+++ b/dev-python/h5py/h5py-3.7.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
 



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

2022-09-08 Thread Jakov Smolić
commit: 567b9d7f73505713fdf7fe0328c95dc092a15b13
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Sep  8 18:52:10 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Sep  8 19:39:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=567b9d7f

dev-python/h5py: keyword 3.7.0 for ~riscv

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

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

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
index bbfbfbcd2ca0..1eabfd7dca45 100644
--- a/dev-python/h5py/h5py-3.7.0.ebuild
+++ b/dev-python/h5py/h5py-3.7.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2022-06-25 Thread Michał Górny
commit: 98bd90391a524fee55aad0866b2b891c1f324993
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 25 09:40:51 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 25 11:18:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98bd9039

dev-python/h5py: Remove old

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

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

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 4a21a685da16..27f6546d3831 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1 @@
-DIST h5py-3.6.0.tar.gz 384160 BLAKE2B 
354764bb002cd342623aa962de88a24ee45156c0a2d61088508017980e407e90f85e65da9d3e29a6745dbca754ba1708700fbea4f4123a10a620bc758cbaa3ae
 SHA512 
f3a108d16578ced552fcac4fceb7f3180ee71a3c8f6caa8702fd9989728d8284afb9d85f1239648e10d14f3532c772f46d05f8306bb8b305d98b162d7604683b
 DIST h5py-3.7.0.tar.gz 392355 BLAKE2B 
efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15
 SHA512 
c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2

diff --git a/dev-python/h5py/h5py-3.6.0.ebuild 
b/dev-python/h5py/h5py-3.6.0.ebuild
deleted file mode 100644
index bbfbfbcd2ca0..
--- a/dev-python/h5py/h5py-3.6.0.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
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="
-   https://www.h5py.org/
-   https://github.com/h5py/h5py/
-   https://pypi.org/project/h5py/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
-#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
-DEPEND="
-   sci-libs/hdf5:=[hl(+)]
-"
-RDEPEND="
-   ${DEPEND}
-   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   dev-python/cython[${PYTHON_USEDEP}]
-   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   test? (
-   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   )
-"
-#  mpi? ( virtual/mpi )
-#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/alabaster
-
-#pkg_setup() {
-#  use mpi && export CC=mpicc
-#}
-
-python_prepare_all() {
-   # avoid pytest-mpi dep, we do not use mpi anyway
-   sed -i -e 's:pytest-mpi::' pytest.ini || die
-   distutils-r1_python_prepare_all
-
-   export H5PY_SETUP_REQUIRES=0
-}
-
-python_test() {
-   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-   epytest -m "not mpi"
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-   distutils-r1_python_install_all
-}



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

2022-06-25 Thread Sam James
commit: 56b6fa2c4d6ade4048d88e99c95ed546b5534cd2
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 25 09:05:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 25 09:06:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b6fa2c

dev-python/h5py: Stabilize 3.7.0 x86, #853988

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

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

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
index 174bc724845a..bbfbfbcd2ca0 100644
--- a/dev-python/h5py/h5py-3.7.0.ebuild
+++ b/dev-python/h5py/h5py-3.7.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2022-06-24 Thread Jakov Smolić
commit: b9fc6776e5e55c501017b1e009f11a0e1fba
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Jun 24 20:59:37 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Jun 24 20:59:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9fc6776

dev-python/h5py: Stabilize 3.7.0 amd64, #853988

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

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

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
index c6245c6d9fd4..174bc724845a 100644
--- a/dev-python/h5py/h5py-3.7.0.ebuild
+++ b/dev-python/h5py/h5py-3.7.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2022-05-30 Thread Michał Górny
commit: 3cda966009427e56062f1b07db83182f265e7809
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 30 20:10:52 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 30 20:38:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cda9660

dev-python/h5py: Remove old

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

 dev-python/h5py/Manifest  |  1 -
 dev-python/h5py/h5py-3.3.0.ebuild | 61 ---
 2 files changed, 62 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 1b82f041ba24..4a21a685da16 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,3 +1,2 @@
-DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 
0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d
 SHA512 
f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae
 DIST h5py-3.6.0.tar.gz 384160 BLAKE2B 
354764bb002cd342623aa962de88a24ee45156c0a2d61088508017980e407e90f85e65da9d3e29a6745dbca754ba1708700fbea4f4123a10a620bc758cbaa3ae
 SHA512 
f3a108d16578ced552fcac4fceb7f3180ee71a3c8f6caa8702fd9989728d8284afb9d85f1239648e10d14f3532c772f46d05f8306bb8b305d98b162d7604683b
 DIST h5py-3.7.0.tar.gz 392355 BLAKE2B 
efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15
 SHA512 
c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2

diff --git a/dev-python/h5py/h5py-3.3.0.ebuild 
b/dev-python/h5py/h5py-3.3.0.ebuild
deleted file mode 100644
index edb9f5089319..
--- a/dev-python/h5py/h5py-3.3.0.ebuild
+++ /dev/null
@@ -1,61 +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="Simple Python interface to HDF5 files"
-HOMEPAGE="https://www.h5py.org;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
-#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
-DEPEND="sci-libs/hdf5:=[hl(+)]"
-RDEPEND="${DEPEND}
-   dev-python/numpy[${PYTHON_USEDEP}]"
-
-BDEPEND="
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   test? (
-   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   )"
-#  mpi? ( virtual/mpi )
-#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/alabaster
-
-#pkg_setup() {
-#  use mpi && export CC=mpicc
-#}
-
-python_prepare_all() {
-   # avoid pytest-mpi dep, we do not use mpi anyway
-   sed -i -e 's:pytest-mpi::' pytest.ini || die
-   distutils-r1_python_prepare_all
-
-   export H5PY_SETUP_REQUIRES=0
-}
-
-python_test() {
-   cd "${BUILD_DIR}/lib" || die
-   epytest -m "not mpi"
-   rm -rf .hypothesis .pytest_cache || die
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-
-   distutils-r1_python_install_all
-}



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

2022-05-30 Thread Sam James
commit: 8dfc9d76309de30770de6d237926e8881efd3449
Author: Sam James  gentoo  org>
AuthorDate: Mon May 30 19:40:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 30 19:40:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfc9d76

dev-python/h5py: Stabilize 3.6.0 x86, #847682

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

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

diff --git a/dev-python/h5py/h5py-3.6.0.ebuild 
b/dev-python/h5py/h5py-3.6.0.ebuild
index 174bc724845a..bbfbfbcd2ca0 100644
--- a/dev-python/h5py/h5py-3.6.0.ebuild
+++ b/dev-python/h5py/h5py-3.6.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2022-05-27 Thread Jakov Smolić
commit: b0767eac756bd13f92890e877f85c7861cf02a96
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May 27 09:10:56 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May 27 09:10:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0767eac

dev-python/h5py: Stabilize 3.6.0 amd64, #847682

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

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

diff --git a/dev-python/h5py/h5py-3.6.0.ebuild 
b/dev-python/h5py/h5py-3.6.0.ebuild
index c6245c6d9fd4..174bc724845a 100644
--- a/dev-python/h5py/h5py-3.6.0.ebuild
+++ b/dev-python/h5py/h5py-3.6.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2022-05-25 Thread Michał Górny
commit: 19a99f5ce0d06dde9e88dc37fb6c20d091b787bb
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 25 05:48:51 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 25 07:12:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a99f5c

dev-python/h5py: Bump to 3.7.0

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

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

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index cc86231dc78e..1b82f041ba24 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1,3 @@
 DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 
0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d
 SHA512 
f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae
 DIST h5py-3.6.0.tar.gz 384160 BLAKE2B 
354764bb002cd342623aa962de88a24ee45156c0a2d61088508017980e407e90f85e65da9d3e29a6745dbca754ba1708700fbea4f4123a10a620bc758cbaa3ae
 SHA512 
f3a108d16578ced552fcac4fceb7f3180ee71a3c8f6caa8702fd9989728d8284afb9d85f1239648e10d14f3532c772f46d05f8306bb8b305d98b162d7604683b
+DIST h5py-3.7.0.tar.gz 392355 BLAKE2B 
efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15
 SHA512 
c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2

diff --git a/dev-python/h5py/h5py-3.7.0.ebuild 
b/dev-python/h5py/h5py-3.7.0.ebuild
new file mode 100644
index ..c6245c6d9fd4
--- /dev/null
+++ b/dev-python/h5py/h5py-3.7.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+   https://www.h5py.org/
+   https://github.com/h5py/h5py/
+   https://pypi.org/project/h5py/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+DEPEND="
+   sci-libs/hdf5:=[hl(+)]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   )
+"
+#  mpi? ( virtual/mpi )
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   epytest -m "not mpi"
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



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

2022-04-22 Thread Michał Górny
commit: bf5fd9079c29aa3c29d5ec520b3d0a4ec9f3dcbf
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Apr 22 10:37:45 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 22 10:47:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf5fd907

dev-python/h5py: Bump to 3.6.0

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

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

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index e7df49824b7d..cc86231dc78e 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
 DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 
0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d
 SHA512 
f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae
+DIST h5py-3.6.0.tar.gz 384160 BLAKE2B 
354764bb002cd342623aa962de88a24ee45156c0a2d61088508017980e407e90f85e65da9d3e29a6745dbca754ba1708700fbea4f4123a10a620bc758cbaa3ae
 SHA512 
f3a108d16578ced552fcac4fceb7f3180ee71a3c8f6caa8702fd9989728d8284afb9d85f1239648e10d14f3532c772f46d05f8306bb8b305d98b162d7604683b

diff --git a/dev-python/h5py/h5py-3.6.0.ebuild 
b/dev-python/h5py/h5py-3.6.0.ebuild
new file mode 100644
index ..c6245c6d9fd4
--- /dev/null
+++ b/dev-python/h5py/h5py-3.6.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+   https://www.h5py.org/
+   https://github.com/h5py/h5py/
+   https://pypi.org/project/h5py/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+DEPEND="
+   sci-libs/hdf5:=[hl(+)]
+"
+RDEPEND="
+   ${DEPEND}
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   )
+"
+#  mpi? ( virtual/mpi )
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+   epytest -m "not mpi"
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



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

2021-11-11 Thread Michał Górny
commit: 4f15cd37af929e77cd402598f7da3ff24ae680ae
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 11 08:06:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 11 08:07:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f15cd37

dev-python/h5py: Remove flag-o-matic inherit

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

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

diff --git a/dev-python/h5py/h5py-3.3.0.ebuild 
b/dev-python/h5py/h5py-3.3.0.ebuild
index 84f19def49c..edb9f508931 100644
--- a/dev-python/h5py/h5py-3.3.0.ebuild
+++ b/dev-python/h5py/h5py-3.3.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1 flag-o-matic
+inherit distutils-r1
 
 DESCRIPTION="Simple Python interface to HDF5 files"
 HOMEPAGE="https://www.h5py.org;



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

2021-11-11 Thread Michał Górny
commit: 50de6e6fc17188095a40642156a0173401a76e52
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 11 08:05:46 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 11 08:07:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50de6e6f

dev-python/h5py: Remove obsolete dep on cached-property

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

 dev-python/h5py/h5py-3.3.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/h5py/h5py-3.3.0.ebuild 
b/dev-python/h5py/h5py-3.3.0.ebuild
index d993e7d19b2..84f19def49c 100644
--- a/dev-python/h5py/h5py-3.3.0.ebuild
+++ b/dev-python/h5py/h5py-3.3.0.ebuild
@@ -28,7 +28,6 @@ BDEPEND="
dev-python/pkgconfig[${PYTHON_USEDEP}]
test? (
dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   dev-python/cached-property[${PYTHON_USEDEP}]
)"
 #  mpi? ( virtual/mpi )
 #  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )



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

2021-07-25 Thread Michał Górny
commit: 98897d61dd36cf85381d4692c9eeeff3977aa58b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 25 06:55:50 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 25 08:41:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98897d61

dev-python/h5py: Remove old

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

 dev-python/h5py/Manifest  |  2 -
 dev-python/h5py/files/h5py-2.10.0-tests.patch | 32 --
 dev-python/h5py/files/h5py-3.2.1-i686-types.patch | 55 -
 dev-python/h5py/h5py-2.10.0-r1.ebuild | 70 --
 dev-python/h5py/h5py-3.2.1.ebuild | 72 ---
 5 files changed, 231 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 6a82160a728..e7df49824b7 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,3 +1 @@
-DIST h5py-2.10.0.tar.gz 301057 BLAKE2B 
2e9da02224493b79b2df75ff9aa5cb16ab668d07bb95066356749be09091c54032efb3db8b53bdf0fbbbac2bcde532f9f051627327dcf3f35fb578b701ecc165
 SHA512 
c49b04f7dcddf03f36d4f063d79ecbe544e0b1daee432d4a76cfa83dac3a1f2cb144f40a74fb85ea17cb5b778f57f709969ea5d1a2afc5bdd5aecbc9d732898d
-DIST h5py-3.2.1.tar.gz 368170 BLAKE2B 
2c198d0cfbd988a8531284e16f563ae630afbdd0b32d41ff1b8e33741ac9c678328a07dbb925d67c538100088de9423a45e65c76f3a1daaa0f7b08229916546d
 SHA512 
c98f935f800f340239fdd5132534a3b79995dc952250521f0bd6972a60c34c21bb56d7ca3f1c655ad9d1e47fc5792f434f88a0919ae75bc9102e659bf4f1c284
 DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 
0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d
 SHA512 
f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae

diff --git a/dev-python/h5py/files/h5py-2.10.0-tests.patch 
b/dev-python/h5py/files/h5py-2.10.0-tests.patch
deleted file mode 100644
index 9f810ed46f0..000
--- a/dev-python/h5py/files/h5py-2.10.0-tests.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-These tests fail as confirmed by upstream.
-
-Reference: https://github.com/h5py/h5py/issues/1291
-Reference: https://github.com/gentoo/gentoo/pull/14343
-
-diff --git a/h5py/tests/test_file2.py b/h5py/tests/test_file2.py
-index 0fbf2d5..a7a28bb 100644
 a/h5py/tests/test_file2.py
-+++ b/h5py/tests/test_file2.py
-@@ -207,22 +207,6 @@ class TestFileObj(TestCase):
- f.create_dataset('test', data=list(range(12)))
- self.assertRaises(Exception, list, f['test'])
- 
--def test_exception_write(self):
--
--class BrokenBytesIO(io.BytesIO):
--def write(self, b):
--raise Exception('I am broken')
--
--f = h5py.File(BrokenBytesIO(), 'w')
--self.assertRaises(Exception, f.create_dataset, 'test',
--  data=list(range(12)))
--self.assertRaises(Exception, f.close)
--
--def test_exception_close(self):
--fileobj = io.BytesIO()
--f = h5py.File(fileobj, 'w')
--fileobj.close()
--self.assertRaises(Exception, f.close)
- 
- def test_method_vanish(self):
- fileobj = io.BytesIO()

diff --git a/dev-python/h5py/files/h5py-3.2.1-i686-types.patch 
b/dev-python/h5py/files/h5py-3.2.1-i686-types.patch
deleted file mode 100644
index 80bbb112e7b..000
--- a/dev-python/h5py/files/h5py-3.2.1-i686-types.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 76c9c8c4049943c490556fa888cf7743d1a677e5 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Mon, 12 Apr 2021 11:48:16 +0200
-Subject: [PATCH] TST: Skip problematic datatypes based on their length
-
-Filter datatypes for tests based on their length rather than keeping
-a list of illegal platform+type combinations.  This is more robust
-than the previous solution and fixes the test failures with new numpy
-versions (1.19.5 is the oldest I have tested) that declare 'float96'
-and 'complex192' on i686 rather than 'float128' and 'complex256'.
-
-This fixes the following test failure:
-
-E   AttributeError: module 'numpy' has no attribute 'float128'
-
-plus, later on (again):
-
-E   TypeError: Illegal length 24 for complex dtype

- h5py/tests/test_dtype.py | 12 +++-
- 1 file changed, 3 insertions(+), 9 deletions(-)
-
-diff --git a/h5py/tests/test_dtype.py b/h5py/tests/test_dtype.py
-index c5fac97e..ec4eda21 100644
 a/h5py/tests/test_dtype.py
-+++ b/h5py/tests/test_dtype.py
-@@ -13,8 +13,6 @@ except ImportError:
- 
- from .common import ut, TestCase
- 
--UNSUPPORTED_LONG_DOUBLE = ('i386', 'i486', 'i586', 'i686', 'ppc64le')
--
- 
- class TestVlen(TestCase):
- 
-@@ -289,13 +287,9 @@ class TestOffsets(TestCase):
-  if (np.issubdtype(f, np.floating) or
-  np.issubdtype(f, np.complexfloating)))
- 
--if platform.machine() in UNSUPPORTED_LONG_DOUBLE:
--dtype_dset_map = {str(j): 

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

2021-07-24 Thread Sam James
commit: 1dbdd46066ddc91f162343d6eacc9370ab4a
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 25 01:04:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 25 01:04:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dbdd460

dev-python/h5py: Stabilize 3.3.0 x86, #803716

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

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

diff --git a/dev-python/h5py/h5py-3.3.0.ebuild 
b/dev-python/h5py/h5py-3.3.0.ebuild
index 903616019b4..d993e7d19b2 100644
--- a/dev-python/h5py/h5py-3.3.0.ebuild
+++ b/dev-python/h5py/h5py-3.3.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2021-07-24 Thread Sam James
commit: d4d7cec6af02a986c283e7ffdad86762afccbbd1
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 24 15:11:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 24 15:11:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d7cec6

dev-python/h5py: Stabilize 3.3.0 amd64, #803716

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

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

diff --git a/dev-python/h5py/h5py-3.3.0.ebuild 
b/dev-python/h5py/h5py-3.3.0.ebuild
index c446eb58c66..903616019b4 100644
--- a/dev-python/h5py/h5py-3.3.0.ebuild
+++ b/dev-python/h5py/h5py-3.3.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2021-06-22 Thread Michał Górny
commit: ec37353af40a4e15cfdcfcefe5f39a48ab5c5346
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 22 15:42:11 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 22 16:29:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec37353a

dev-python/h5py: Bump to 3.3.0

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

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/h5py-3.3.0.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index d667919a576..6a82160a728 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1,3 @@
 DIST h5py-2.10.0.tar.gz 301057 BLAKE2B 
2e9da02224493b79b2df75ff9aa5cb16ab668d07bb95066356749be09091c54032efb3db8b53bdf0fbbbac2bcde532f9f051627327dcf3f35fb578b701ecc165
 SHA512 
c49b04f7dcddf03f36d4f063d79ecbe544e0b1daee432d4a76cfa83dac3a1f2cb144f40a74fb85ea17cb5b778f57f709969ea5d1a2afc5bdd5aecbc9d732898d
 DIST h5py-3.2.1.tar.gz 368170 BLAKE2B 
2c198d0cfbd988a8531284e16f563ae630afbdd0b32d41ff1b8e33741ac9c678328a07dbb925d67c538100088de9423a45e65c76f3a1daaa0f7b08229916546d
 SHA512 
c98f935f800f340239fdd5132534a3b79995dc952250521f0bd6972a60c34c21bb56d7ca3f1c655ad9d1e47fc5792f434f88a0919ae75bc9102e659bf4f1c284
+DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 
0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d
 SHA512 
f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae

diff --git a/dev-python/h5py/h5py-3.3.0.ebuild 
b/dev-python/h5py/h5py-3.3.0.ebuild
new file mode 100644
index 000..c446eb58c66
--- /dev/null
+++ b/dev-python/h5py/h5py-3.3.0.ebuild
@@ -0,0 +1,62 @@
+# 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 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="https://www.h5py.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+DEPEND="sci-libs/hdf5:=[hl(+)]"
+RDEPEND="${DEPEND}
+   dev-python/numpy[${PYTHON_USEDEP}]"
+
+BDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   dev-python/cached-property[${PYTHON_USEDEP}]
+   )"
+#  mpi? ( virtual/mpi )
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+   cd "${BUILD_DIR}/lib" || die
+   epytest -m "not mpi"
+   rm -rf .hypothesis .pytest_cache || die
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+
+   distutils-r1_python_install_all
+}



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

2021-06-09 Thread Marek Szuba
commit: 0d8ac0260709715d4d9491749801dbf6b2521099
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jun  9 14:01:13 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jun  9 15:18:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d8ac026

dev-python/h5py: support python3_10

Builds, tests and installs fine.

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

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

diff --git a/dev-python/h5py/h5py-3.2.1.ebuild 
b/dev-python/h5py/h5py-3.2.1.ebuild
index 8601bd5832b..a658b288acf 100644
--- a/dev-python/h5py/h5py-3.2.1.ebuild
+++ b/dev-python/h5py/h5py-3.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1 flag-o-matic
 



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

2021-05-16 Thread Sam James
commit: cd15e9e893e700489ea687a794f421114401
Author: Sam James  gentoo  org>
AuthorDate: Sun May 16 18:50:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 16 18:52:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd15e9e8

dev-python/h5py: Stabilize 3.2.1 x86, #781776

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

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

diff --git a/dev-python/h5py/h5py-3.2.1.ebuild 
b/dev-python/h5py/h5py-3.2.1.ebuild
index 89ba32dc7da..8601bd5832b 100644
--- a/dev-python/h5py/h5py-3.2.1.ebuild
+++ b/dev-python/h5py/h5py-3.2.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2021-04-12 Thread Michał Górny
commit: 61beab47461cbaf2f2467d25eb9808583c34f84a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Apr 12 10:13:17 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Apr 12 10:13:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61beab47

dev-python/h5py: Fix skipping inconvenient types on x86

Closes: https://bugs.gentoo.org/782238
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/h5py/files/h5py-3.2.1-i686-types.patch | 55 +++
 dev-python/h5py/h5py-3.2.1.ebuild |  4 ++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/h5py/files/h5py-3.2.1-i686-types.patch 
b/dev-python/h5py/files/h5py-3.2.1-i686-types.patch
new file mode 100644
index 000..80bbb112e7b
--- /dev/null
+++ b/dev-python/h5py/files/h5py-3.2.1-i686-types.patch
@@ -0,0 +1,55 @@
+From 76c9c8c4049943c490556fa888cf7743d1a677e5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Mon, 12 Apr 2021 11:48:16 +0200
+Subject: [PATCH] TST: Skip problematic datatypes based on their length
+
+Filter datatypes for tests based on their length rather than keeping
+a list of illegal platform+type combinations.  This is more robust
+than the previous solution and fixes the test failures with new numpy
+versions (1.19.5 is the oldest I have tested) that declare 'float96'
+and 'complex192' on i686 rather than 'float128' and 'complex256'.
+
+This fixes the following test failure:
+
+E   AttributeError: module 'numpy' has no attribute 'float128'
+
+plus, later on (again):
+
+E   TypeError: Illegal length 24 for complex dtype
+---
+ h5py/tests/test_dtype.py | 12 +++-
+ 1 file changed, 3 insertions(+), 9 deletions(-)
+
+diff --git a/h5py/tests/test_dtype.py b/h5py/tests/test_dtype.py
+index c5fac97e..ec4eda21 100644
+--- a/h5py/tests/test_dtype.py
 b/h5py/tests/test_dtype.py
+@@ -13,8 +13,6 @@ except ImportError:
+ 
+ from .common import ut, TestCase
+ 
+-UNSUPPORTED_LONG_DOUBLE = ('i386', 'i486', 'i586', 'i686', 'ppc64le')
+-
+ 
+ class TestVlen(TestCase):
+ 
+@@ -289,13 +287,9 @@ class TestOffsets(TestCase):
+  if (np.issubdtype(f, np.floating) or
+  np.issubdtype(f, np.complexfloating)))
+ 
+-if platform.machine() in UNSUPPORTED_LONG_DOUBLE:
+-dtype_dset_map = {str(j): d
+-  for j, d in enumerate(dtypes)
+-  if d not in (np.float128, np.complex256)}
+-else:
+-dtype_dset_map = {str(j): d
+-  for j, d in enumerate(dtypes)}
++dtype_dset_map = {str(j): d
++  for j, d in enumerate(dtypes)
++  if d().nbytes in [4, 8, 16, 32]}
+ 
+ fname = self.mktemp()
+ 
+-- 
+2.31.1
+

diff --git a/dev-python/h5py/h5py-3.2.1.ebuild 
b/dev-python/h5py/h5py-3.2.1.ebuild
index 9ece42a61cf..89ba32dc7da 100644
--- a/dev-python/h5py/h5py-3.2.1.ebuild
+++ b/dev-python/h5py/h5py-3.2.1.ebuild
@@ -45,6 +45,10 @@ distutils_enable_sphinx docs \
 #  use mpi && export CC=mpicc
 #}
 
+PATCHES=(
+   "${FILESDIR}"/h5py-3.2.1-i686-types.patch
+)
+
 python_prepare_all() {
# avoid pytest-mpi dep, we do not use mpi anyway
sed -i -e 's:pytest-mpi::' pytest.ini || die



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

2021-04-11 Thread Sam James
commit: 42651f7b30b9b5452b1ca873dfa7169d0cf12bc4
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 11 11:10:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 11 11:10:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42651f7b

dev-python/h5py: Stabilize 3.2.1 amd64, #781776

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

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

diff --git a/dev-python/h5py/h5py-3.2.1.ebuild 
b/dev-python/h5py/h5py-3.2.1.ebuild
index 82dc31d6252..9ece42a61cf 100644
--- a/dev-python/h5py/h5py-3.2.1.ebuild
+++ b/dev-python/h5py/h5py-3.2.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 # disable mpi until mpi4py gets python3_8
 #IUSE="examples mpi"
 IUSE="examples"



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

2021-03-08 Thread Michał Górny
commit: 3f97c718845e0444a1113dc9bf4385c083764f8a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar  8 12:33:43 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar  8 12:35:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f97c718

dev-python/h5py: Disable setup_requires the easy way

Thanks to Thomas Kluyver for the suggestion.

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

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

diff --git a/dev-python/h5py/h5py-3.2.1.ebuild 
b/dev-python/h5py/h5py-3.2.1.ebuild
index df2504fb79d..82dc31d6252 100644
--- a/dev-python/h5py/h5py-3.2.1.ebuild
+++ b/dev-python/h5py/h5py-3.2.1.ebuild
@@ -46,11 +46,11 @@ distutils_enable_sphinx docs \
 #}
 
 python_prepare_all() {
-   # fix other numpy dep to be >=
-   sed -i -e '/numpy/s:==:>=:' setup.py || die
# avoid pytest-mpi dep, we do not use mpi anyway
sed -i -e 's:pytest-mpi::' pytest.ini || die
distutils-r1_python_prepare_all
+
+   export H5PY_SETUP_REQUIRES=0
 }
 
 python_test() {



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

2021-03-06 Thread Michał Górny
commit: df1f8b2a5ec2d4f0d5d8ac8354b13902b1ba39d2
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  6 17:29:19 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  6 17:45:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1f8b2a

dev-python/h5py: Bump to 3.2.1

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

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/h5py-3.2.1.ebuild | 68 +++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 3afb3c69df0..d667919a576 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
 DIST h5py-2.10.0.tar.gz 301057 BLAKE2B 
2e9da02224493b79b2df75ff9aa5cb16ab668d07bb95066356749be09091c54032efb3db8b53bdf0fbbbac2bcde532f9f051627327dcf3f35fb578b701ecc165
 SHA512 
c49b04f7dcddf03f36d4f063d79ecbe544e0b1daee432d4a76cfa83dac3a1f2cb144f40a74fb85ea17cb5b778f57f709969ea5d1a2afc5bdd5aecbc9d732898d
+DIST h5py-3.2.1.tar.gz 368170 BLAKE2B 
2c198d0cfbd988a8531284e16f563ae630afbdd0b32d41ff1b8e33741ac9c678328a07dbb925d67c538100088de9423a45e65c76f3a1daaa0f7b08229916546d
 SHA512 
c98f935f800f340239fdd5132534a3b79995dc952250521f0bd6972a60c34c21bb56d7ca3f1c655ad9d1e47fc5792f434f88a0919ae75bc9102e659bf4f1c284

diff --git a/dev-python/h5py/h5py-3.2.1.ebuild 
b/dev-python/h5py/h5py-3.2.1.ebuild
new file mode 100644
index 000..df2504fb79d
--- /dev/null
+++ b/dev-python/h5py/h5py-3.2.1.ebuild
@@ -0,0 +1,68 @@
+# 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 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="https://www.h5py.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+DEPEND="sci-libs/hdf5:=[hl(+)]"
+RDEPEND="${DEPEND}
+   $(python_gen_cond_dep '
+   dev-python/cached-property[${PYTHON_USEDEP}]
+   ' python3_7)
+   dev-python/numpy[${PYTHON_USEDEP}]"
+
+BDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   dev-python/cached-property[${PYTHON_USEDEP}]
+   )"
+#  mpi? ( virtual/mpi )
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/alabaster
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   # fix other numpy dep to be >=
+   sed -i -e '/numpy/s:==:>=:' setup.py || die
+   # avoid pytest-mpi dep, we do not use mpi anyway
+   sed -i -e 's:pytest-mpi::' pytest.ini || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   cd "${BUILD_DIR}/lib" || die
+   pytest -vv -m "not mpi" ||
+   die "Tests failed with ${EPYTHON}"
+   # tests generate .pytest_cache which should not be installed
+   rm -r .pytest_cache || die
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+
+   distutils-r1_python_install_all
+}



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

2020-08-17 Thread David Seifert
commit: 525eb57a74300894904c3f0ef358f45e3a4f6182
Author: David Seifert  gentoo  org>
AuthorDate: Mon Aug 17 18:54:43 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Aug 17 18:54:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525eb57a

dev-python/h5py: Add python 3.9

* Add 'sci-libs/hdf5' to DEPEND

Closes: https://bugs.gentoo.org/729368
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: David Seifert  gentoo.org>

 dev-python/h5py/h5py-2.10.0-r1.ebuild | 25 ++---
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/dev-python/h5py/h5py-2.10.0-r1.ebuild 
b/dev-python/h5py/h5py-2.10.0-r1.ebuild
index 4196ed179b1..5ed817404c4 100644
--- a/dev-python/h5py/h5py-2.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-2.10.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1 flag-o-matic
 
@@ -11,30 +11,33 @@ DESCRIPTION="Simple Python interface to HDF5 files"
 HOMEPAGE="https://www.h5py.org;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
 
 #RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
-RDEPEND="sci-libs/hdf5:=[hl(+)]
+RDEPEND="
+   sci-libs/hdf5:=[hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
 
 BDEPEND="dev-python/pkgconfig[${PYTHON_USEDEP}]"
 #  mpi? ( virtual/mpi )
 
-DEPEND="dev-python/cython[${PYTHON_USEDEP}]
+DEPEND="
+   ${RDEPEND}
+   dev-python/cython[${PYTHON_USEDEP}]
doc? ( dev-python/alabaster[${PYTHON_USEDEP}] )
-   test? ( dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-   dev-python/cached-property[${PYTHON_USEDEP}] )"
+   test? (
+   dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   dev-python/cached-property[${PYTHON_USEDEP}]
+   )"
 #  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
 
-PATCHES="${FILESDIR}/${P}-tests.patch"
-
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
 DOCS=( README.rst AUTHORS ANN.rst )
 
 distutils_enable_tests setup.py



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

2020-05-24 Thread Michał Górny
commit: 3633758f2c2b098894e4b85f41f87bf07af817f4
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 25 05:34:55 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 25 05:55:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3633758f

dev-python/h5py: Restore PYTHON_USEDEP on pkgconfig

Closes: https://bugs.gentoo.org/725114
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/h5py/h5py-2.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-2.10.0-r1.ebuild 
b/dev-python/h5py/h5py-2.10.0-r1.ebuild
index 9b7bac61dfc..4196ed179b1 100644
--- a/dev-python/h5py/h5py-2.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-2.10.0-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="sci-libs/hdf5:=[hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
 
-BDEPEND="dev-python/pkgconfig"
+BDEPEND="dev-python/pkgconfig[${PYTHON_USEDEP}]"
 #  mpi? ( virtual/mpi )
 
 DEPEND="dev-python/cython[${PYTHON_USEDEP}]



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

2020-05-14 Thread Agostino Sarubbo
commit: b1e3f5b27061e98f68c244222130f3f0d7de3653
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 14 08:02:54 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 14 08:02:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e3f5b2

dev-python/h5py: x86 stable wrt bug #720518

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

 dev-python/h5py/h5py-2.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-2.10.0-r1.ebuild 
b/dev-python/h5py/h5py-2.10.0-r1.ebuild
index 8f7e6b5429f..9b7bac61dfc 100644
--- a/dev-python/h5py/h5py-2.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-2.10.0-r1.ebuild
@@ -17,7 +17,7 @@ IUSE="examples"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 
 #RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
 RDEPEND="sci-libs/hdf5:=[hl(+)]



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

2020-05-13 Thread Agostino Sarubbo
commit: d43458d1b6a8303777431d5397ac4b210cfca066
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May 13 14:50:54 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May 13 14:50:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43458d1

dev-python/h5py: amd64 stable wrt bug #720518

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

 dev-python/h5py/h5py-2.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-2.10.0-r1.ebuild 
b/dev-python/h5py/h5py-2.10.0-r1.ebuild
index 8ae6c9b9c69..8f7e6b5429f 100644
--- a/dev-python/h5py/h5py-2.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-2.10.0-r1.ebuild
@@ -17,7 +17,7 @@ IUSE="examples"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 
 #RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
 RDEPEND="sci-libs/hdf5:=[hl(+)]



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

2020-03-27 Thread Michał Górny
commit: 52b33ab4655d478a6911e6dec9cde281bceb7471
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 27 11:18:46 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 27 11:35:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b33ab4

dev-python/h5py: Remove redundant versions

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

 dev-python/h5py/Manifest  |  3 --
 dev-python/h5py/h5py-2.7.0.ebuild | 67 ---
 dev-python/h5py/h5py-2.7.1.ebuild | 67 ---
 dev-python/h5py/h5py-2.9.0.ebuild | 67 ---
 4 files changed, 204 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 8853c4df188..3afb3c69df0 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,4 +1 @@
 DIST h5py-2.10.0.tar.gz 301057 BLAKE2B 
2e9da02224493b79b2df75ff9aa5cb16ab668d07bb95066356749be09091c54032efb3db8b53bdf0fbbbac2bcde532f9f051627327dcf3f35fb578b701ecc165
 SHA512 
c49b04f7dcddf03f36d4f063d79ecbe544e0b1daee432d4a76cfa83dac3a1f2cb144f40a74fb85ea17cb5b778f57f709969ea5d1a2afc5bdd5aecbc9d732898d
-DIST h5py-2.7.0.tar.gz 256471 BLAKE2B 
c232eb86d00b9d1bb76903ea04bfd384bae7c9eb7b301de6aa450a46918f69132ab8d8d5a3f9b54095feee436a8aa9e9045c27ca1a120d665d6031c14218f0f5
 SHA512 
7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4
-DIST h5py-2.7.1.tar.gz 264225 BLAKE2B 
ffb0b52127f6cb9634b5ac3266a36bc0003144d302bdc300fff5f6f33e52b5a12e954cc2ef9fdfe9dfa0eddc810b30ee3f556cab2a31338500db666b87e64ddc
 SHA512 
b702e3875c2767d2fabe66601820c517671fb5fc3321334aba081950b625435a1262554f39187cd1b41c6069e2b3826db6f0b610bfed2abe5db8a4dd8a29ecfd
-DIST h5py-2.9.0.tar.gz 287853 BLAKE2B 
f1e5c985ec1431dca2b14490711ec7f125620e67ee6cecb56306d19cc8fd1d1c33d313f6477e98c4dbb780cc50c3a4ca073cfe69e079187f8f52a301aab60467
 SHA512 
73b1f59e3e2b3eceebf7b97e49bd8f5199afafd7ef29917af05ff8415c2f2129a5c59db9658944370c9bcf8fc04ab26948ee27fc6fd948a22d19cace1ce8c853

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
deleted file mode 100644
index 93ecc9cf690..000
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1 flag-o-matic
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="http://www.h5py.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc test examples mpi"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   sci-libs/hdf5:=[mpi=,hl(+)]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]"
-
-DEPEND="
-   ${RDEPEND}
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/alabaster[${PYTHON_USEDEP}]
-   >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
-   )
-   mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
-
-pkg_setup() {
-   use mpi && export CC=mpicc
-}
-
-python_prepare_all() {
-   append-cflags -fno-strict-aliasing
-   distutils-r1_python_prepare_all
-}
-
-python_configure() {
-   esetup.py configure $(usex mpi --mpi '')
-}
-
-python_compile_all() {
-   if use doc; then
-   cd "${S}"/docs || die
-   sed '/html_theme/s:default:alabaster:g' -i conf.py || die
-   emake html
-   fi
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   DOCS=( README.rst ANN.rst )
-   use doc && HTML_DOCS=( docs/_build/html/. )
-   use examples && DOCS+=( examples )
-
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/h5py/h5py-2.7.1.ebuild 
b/dev-python/h5py/h5py-2.7.1.ebuild
deleted file mode 100644
index 1cad22dbb1a..000
--- a/dev-python/h5py/h5py-2.7.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1 flag-o-matic
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="http://www.h5py.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test examples mpi"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   sci-libs/hdf5:=[mpi=,hl(+)]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]"
-
-DEPEND="
-   ${RDEPEND}
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/pkgconfig[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? (
-   

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

2020-03-17 Thread Andrey Grozin
commit: ff0d0d519d21d3ee0518b4dbbae5e4af892829b1
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Mar 17 15:13:52 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Mar 17 15:13:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff0d0d51

dev-python/h5py: add python3_8

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

 dev-python/h5py/h5py-2.10.0-r1.ebuild | 67 +++
 1 file changed, 67 insertions(+)

diff --git a/dev-python/h5py/h5py-2.10.0-r1.ebuild 
b/dev-python/h5py/h5py-2.10.0-r1.ebuild
new file mode 100644
index 000..8ae6c9b9c69
--- /dev/null
+++ b/dev-python/h5py/h5py-2.10.0-r1.ebuild
@@ -0,0 +1,67 @@
+# 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 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="https://www.h5py.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+# disable mpi until mpi4py gets python3_8
+#IUSE="examples mpi"
+IUSE="examples"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+RDEPEND="sci-libs/hdf5:=[hl(+)]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]"
+
+BDEPEND="dev-python/pkgconfig"
+#  mpi? ( virtual/mpi )
+
+DEPEND="dev-python/cython[${PYTHON_USEDEP}]
+   doc? ( dev-python/alabaster[${PYTHON_USEDEP}] )
+   test? ( dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   dev-python/cached-property[${PYTHON_USEDEP}] )"
+#  mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+
+PATCHES="${FILESDIR}/${P}-tests.patch"
+
+DOCS=( README.rst AUTHORS ANN.rst )
+
+distutils_enable_tests setup.py
+distutils_enable_sphinx docs --no-autodoc
+
+#pkg_setup() {
+#  use mpi && export CC=mpicc
+#}
+
+python_prepare_all() {
+   append-cflags -fno-strict-aliasing
+   distutils-r1_python_prepare_all
+}
+
+python_configure() {
+#  esetup.py configure $(usex mpi --mpi '')
+   esetup.py configure
+}
+
+python_test() {
+   esetup.py test || die "Tests fail with ${EPYTHON}"
+   # tests generate .pytest_cache which should not be installed
+   rm -r "${BUILD_DIR}/lib/.pytest_cache" || die
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+
+   distutils-r1_python_install_all
+}



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

2020-01-30 Thread Michał Górny
commit: 7292979dc0964c3e4c11430079949d479b16c88f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 30 21:05:45 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 30 21:26:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7292979d

dev-python/h5py: Remove py2

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

 dev-python/h5py/h5py-2.7.0.ebuild | 2 +-
 dev-python/h5py/h5py-2.7.1.ebuild | 2 +-
 dev-python/h5py/h5py-2.9.0.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index 5af042c901c..93ecc9cf690 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1 flag-o-matic
 

diff --git a/dev-python/h5py/h5py-2.7.1.ebuild 
b/dev-python/h5py/h5py-2.7.1.ebuild
index 05ebd1a3899..1cad22dbb1a 100644
--- a/dev-python/h5py/h5py-2.7.1.ebuild
+++ b/dev-python/h5py/h5py-2.7.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 
 inherit distutils-r1 flag-o-matic
 

diff --git a/dev-python/h5py/h5py-2.9.0.ebuild 
b/dev-python/h5py/h5py-2.9.0.ebuild
index e6f0255d486..f8a8600ad6e 100644
--- a/dev-python/h5py/h5py-2.9.0.ebuild
+++ b/dev-python/h5py/h5py-2.9.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1 flag-o-matic
 



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

2020-01-24 Thread Benda XU
commit: d9681e53572f2acdade2520930f4d64c42900e01
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Jan 15 08:41:42 2020 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Jan 25 03:51:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9681e53

dev-python/h5py: Version bump 2.10.0

Closes: https://github.com/gentoo/gentoo/pull/14343
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Benda Xu  gentoo.org>

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/files/h5py-2.10.0-tests.patch | 32 ++
 dev-python/h5py/h5py-2.10.0.ebuild| 63 +++
 3 files changed, 96 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index c360c86ed4f..8853c4df188 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,3 +1,4 @@
+DIST h5py-2.10.0.tar.gz 301057 BLAKE2B 
2e9da02224493b79b2df75ff9aa5cb16ab668d07bb95066356749be09091c54032efb3db8b53bdf0fbbbac2bcde532f9f051627327dcf3f35fb578b701ecc165
 SHA512 
c49b04f7dcddf03f36d4f063d79ecbe544e0b1daee432d4a76cfa83dac3a1f2cb144f40a74fb85ea17cb5b778f57f709969ea5d1a2afc5bdd5aecbc9d732898d
 DIST h5py-2.7.0.tar.gz 256471 BLAKE2B 
c232eb86d00b9d1bb76903ea04bfd384bae7c9eb7b301de6aa450a46918f69132ab8d8d5a3f9b54095feee436a8aa9e9045c27ca1a120d665d6031c14218f0f5
 SHA512 
7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4
 DIST h5py-2.7.1.tar.gz 264225 BLAKE2B 
ffb0b52127f6cb9634b5ac3266a36bc0003144d302bdc300fff5f6f33e52b5a12e954cc2ef9fdfe9dfa0eddc810b30ee3f556cab2a31338500db666b87e64ddc
 SHA512 
b702e3875c2767d2fabe66601820c517671fb5fc3321334aba081950b625435a1262554f39187cd1b41c6069e2b3826db6f0b610bfed2abe5db8a4dd8a29ecfd
 DIST h5py-2.9.0.tar.gz 287853 BLAKE2B 
f1e5c985ec1431dca2b14490711ec7f125620e67ee6cecb56306d19cc8fd1d1c33d313f6477e98c4dbb780cc50c3a4ca073cfe69e079187f8f52a301aab60467
 SHA512 
73b1f59e3e2b3eceebf7b97e49bd8f5199afafd7ef29917af05ff8415c2f2129a5c59db9658944370c9bcf8fc04ab26948ee27fc6fd948a22d19cace1ce8c853

diff --git a/dev-python/h5py/files/h5py-2.10.0-tests.patch 
b/dev-python/h5py/files/h5py-2.10.0-tests.patch
new file mode 100644
index 000..9f810ed46f0
--- /dev/null
+++ b/dev-python/h5py/files/h5py-2.10.0-tests.patch
@@ -0,0 +1,32 @@
+These tests fail as confirmed by upstream.
+
+Reference: https://github.com/h5py/h5py/issues/1291
+Reference: https://github.com/gentoo/gentoo/pull/14343
+
+diff --git a/h5py/tests/test_file2.py b/h5py/tests/test_file2.py
+index 0fbf2d5..a7a28bb 100644
+--- a/h5py/tests/test_file2.py
 b/h5py/tests/test_file2.py
+@@ -207,22 +207,6 @@ class TestFileObj(TestCase):
+ f.create_dataset('test', data=list(range(12)))
+ self.assertRaises(Exception, list, f['test'])
+ 
+-def test_exception_write(self):
+-
+-class BrokenBytesIO(io.BytesIO):
+-def write(self, b):
+-raise Exception('I am broken')
+-
+-f = h5py.File(BrokenBytesIO(), 'w')
+-self.assertRaises(Exception, f.create_dataset, 'test',
+-  data=list(range(12)))
+-self.assertRaises(Exception, f.close)
+-
+-def test_exception_close(self):
+-fileobj = io.BytesIO()
+-f = h5py.File(fileobj, 'w')
+-fileobj.close()
+-self.assertRaises(Exception, f.close)
+ 
+ def test_method_vanish(self):
+ fileobj = io.BytesIO()

diff --git a/dev-python/h5py/h5py-2.10.0.ebuild 
b/dev-python/h5py/h5py-2.10.0.ebuild
new file mode 100644
index 000..b9c906c3292
--- /dev/null
+++ b/dev-python/h5py/h5py-2.10.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="https://www.h5py.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+IUSE="examples mpi"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]"
+
+BDEPEND="dev-python/pkgconfig
+   mpi? ( virtual/mpi )"
+
+DEPEND="dev-python/cython[${PYTHON_USEDEP}]
+   mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
+   doc? ( dev-python/alabaster[${PYTHON_USEDEP}] )
+   test? ( dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+   dev-python/cached-property[${PYTHON_USEDEP}] )"
+
+PATCHES="${FILESDIR}/${P}-tests.patch"
+
+DOCS=( README.rst AUTHORS ANN.rst )
+
+distutils_enable_tests setup.py
+distutils_enable_sphinx docs --no-autodoc
+
+pkg_setup() {
+   use mpi && export CC=mpicc
+}
+
+python_prepare_all() {
+   append-cflags -fno-strict-aliasing
+   distutils-r1_python_prepare_all
+}
+
+python_configure() {
+   esetup.py 

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

2020-01-24 Thread Benda XU
commit: 6af9a79113bad9842064506b66c090c4c3fabfd9
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Jan 23 16:07:46 2020 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Jan 25 03:52:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af9a791

dev-python/h5py: Add py3_7 to 2.9.0

Bug: https://github.com/gentoo/gentoo/pull/14343
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Benda Xu  gentoo.org>

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

diff --git a/dev-python/h5py/h5py-2.9.0.ebuild 
b/dev-python/h5py/h5py-2.9.0.ebuild
index 05ebd1a3899..e6f0255d486 100644
--- a/dev-python/h5py/h5py-2.9.0.ebuild
+++ b/dev-python/h5py/h5py-2.9.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
 
 inherit distutils-r1 flag-o-matic
 



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

2019-01-27 Thread Benda XU
commit: 5bd5cff8f09e69adbbf222a3cab497d85f594860
Author: Benda Xu  gentoo  org>
AuthorDate: Sun Jan 27 11:01:26 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Sun Jan 27 11:01:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd5cff8

dev-python/h5py: bump to 2.9.0.

Suggested-By: Erik Quaeghebeur, Peter Große
Closes: https://bugs.gentoo.org/672148
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu  gentoo.org>

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/h5py-2.9.0.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 4a6a12e9117..c360c86ed4f 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1,3 @@
 DIST h5py-2.7.0.tar.gz 256471 BLAKE2B 
c232eb86d00b9d1bb76903ea04bfd384bae7c9eb7b301de6aa450a46918f69132ab8d8d5a3f9b54095feee436a8aa9e9045c27ca1a120d665d6031c14218f0f5
 SHA512 
7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4
 DIST h5py-2.7.1.tar.gz 264225 BLAKE2B 
ffb0b52127f6cb9634b5ac3266a36bc0003144d302bdc300fff5f6f33e52b5a12e954cc2ef9fdfe9dfa0eddc810b30ee3f556cab2a31338500db666b87e64ddc
 SHA512 
b702e3875c2767d2fabe66601820c517671fb5fc3321334aba081950b625435a1262554f39187cd1b41c6069e2b3826db6f0b610bfed2abe5db8a4dd8a29ecfd
+DIST h5py-2.9.0.tar.gz 287853 BLAKE2B 
f1e5c985ec1431dca2b14490711ec7f125620e67ee6cecb56306d19cc8fd1d1c33d313f6477e98c4dbb780cc50c3a4ca073cfe69e079187f8f52a301aab60467
 SHA512 
73b1f59e3e2b3eceebf7b97e49bd8f5199afafd7ef29917af05ff8415c2f2129a5c59db9658944370c9bcf8fc04ab26948ee27fc6fd948a22d19cace1ce8c853

diff --git a/dev-python/h5py/h5py-2.9.0.ebuild 
b/dev-python/h5py/h5py-2.9.0.ebuild
new file mode 100644
index 000..9ffc566d5d4
--- /dev/null
+++ b/dev-python/h5py/h5py-2.9.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="http://www.h5py.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test examples mpi"
+
+RDEPEND="
+   sci-libs/hdf5:=[mpi=,hl(+)]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]"
+
+DEPEND="
+   ${RDEPEND}
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/alabaster[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
+   )
+   mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
+
+pkg_setup() {
+   use mpi && export CC=mpicc
+}
+
+python_prepare_all() {
+   append-cflags -fno-strict-aliasing
+   distutils-r1_python_prepare_all
+}
+
+python_configure() {
+   esetup.py configure $(usex mpi --mpi '')
+}
+
+python_compile_all() {
+   if use doc; then
+   cd "${S}"/docs || die
+   sed '/html_theme/s:default:alabaster:g' -i conf.py || die
+   emake html
+   fi
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   DOCS=( README.rst ANN.rst )
+   use doc && HTML_DOCS=( docs/_build/html/. )
+   use examples && DOCS+=( examples )
+
+   distutils-r1_python_install_all
+}



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

2018-03-01 Thread Nicolas Bock
commit: c1490190ecc8806ea50ec353782c4b57e4162d1c
Author: Nicolas Bock  gentoo  org>
AuthorDate: Thu Mar  1 19:03:48 2018 +
Commit: Nicolas Bock  gentoo  org>
CommitDate: Thu Mar  1 19:04:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1490190

dev-python/h5py: Version bump to 2.7.1

Closes: https://bugs.gentoo.org/649036
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/h5py-2.7.1.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index a52869c7e6b..4a6a12e9117 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
 DIST h5py-2.7.0.tar.gz 256471 BLAKE2B 
c232eb86d00b9d1bb76903ea04bfd384bae7c9eb7b301de6aa450a46918f69132ab8d8d5a3f9b54095feee436a8aa9e9045c27ca1a120d665d6031c14218f0f5
 SHA512 
7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4
+DIST h5py-2.7.1.tar.gz 264225 BLAKE2B 
ffb0b52127f6cb9634b5ac3266a36bc0003144d302bdc300fff5f6f33e52b5a12e954cc2ef9fdfe9dfa0eddc810b30ee3f556cab2a31338500db666b87e64ddc
 SHA512 
b702e3875c2767d2fabe66601820c517671fb5fc3321334aba081950b625435a1262554f39187cd1b41c6069e2b3826db6f0b610bfed2abe5db8a4dd8a29ecfd

diff --git a/dev-python/h5py/h5py-2.7.1.ebuild 
b/dev-python/h5py/h5py-2.7.1.ebuild
new file mode 100644
index 000..30bee0302c8
--- /dev/null
+++ b/dev-python/h5py/h5py-2.7.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="http://www.h5py.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test examples mpi"
+
+RDEPEND="
+   sci-libs/hdf5:=[mpi=,hl(+)]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]"
+
+DEPEND="
+   ${RDEPEND}
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/alabaster[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
+   )
+   mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
+
+pkg_setup() {
+   use mpi && export CC=mpicc
+}
+
+python_prepare_all() {
+   append-cflags -fno-strict-aliasing
+   distutils-r1_python_prepare_all
+}
+
+python_configure() {
+   esetup.py configure $(usex mpi --mpi '')
+}
+
+python_compile_all() {
+   if use doc; then
+   cd "${S}"/docs || die
+   sed '/html_theme/s:default:alabaster:g' -i conf.py || die
+   emake html
+   fi
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   DOCS=( README.rst ANN.rst )
+   use doc && HTML_DOCS=( docs/_build/html/. )
+   use examples && DOCS+=( examples )
+
+   distutils-r1_python_install_all
+}



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

2018-01-04 Thread Michał Górny
commit: 23e7ca6d3ec77a6dca448aaff26c7e5f982a033a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan  4 20:02:14 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  4 20:34:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23e7ca6d

dev-python/h5py: Clean old up

 dev-python/h5py/Manifest  |  1 -
 dev-python/h5py/h5py-2.3.1.ebuild | 53 ---
 2 files changed, 54 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 605d92e21da..a52869c7e6b 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,2 +1 @@
-DIST h5py-2.3.1.tar.gz 1072766 BLAKE2B 
40c5739a72e381cd5b7fcfcb1c7aaa771f2ba0c8145f65e6310d6181fcb5b8bdb5d3f14828f4ab164b5d1f16194e79000b1af55ffcda56890fe2631b11cc544e
 SHA512 
f0da1d2ac855c02fb828444d719a1b23a580adb049335f3e732ace67558a125ac8cd3b3a68ac6bf9d10aa3ab19e4672b814eb28cc8c66910750c62efb655d744
 DIST h5py-2.7.0.tar.gz 256471 BLAKE2B 
c232eb86d00b9d1bb76903ea04bfd384bae7c9eb7b301de6aa450a46918f69132ab8d8d5a3f9b54095feee436a8aa9e9045c27ca1a120d665d6031c14218f0f5
 SHA512 
7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4

diff --git a/dev-python/h5py/h5py-2.3.1.ebuild 
b/dev-python/h5py/h5py-2.3.1.ebuild
deleted file mode 100644
index 29efd5b8b5e..000
--- a/dev-python/h5py/h5py-2.3.1.ebuild
+++ /dev/null
@@ -1,53 +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 flag-o-matic
-
-DESCRIPTION="Simple Python interface to HDF5 files"
-HOMEPAGE="http://www.h5py.org/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="test examples mpi"
-
-RDEPEND="
-   sci-libs/hdf5:=[mpi=,hl(+)]
-   dev-python/numpy[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
-
-pkg_setup() {
-   use mpi && export CC=mpicc
-}
-
-python_prepare_all() {
-   append-cflags -fno-strict-aliasing
-   distutils-r1_python_prepare_all
-}
-
-python_compile() {
-   distutils-r1_python_compile --mpi=$(usex mpi yes no)
-}
-
-python_test() {
-   esetup.py test --mpi=$(usex mpi yes no)
-}
-
-python_install() {
-   distutils-r1_python_install --mpi=$(usex mpi yes no)
-}
-
-python_install_all() {
-   DOCS=( README.rst ANN.rst )
-   use examples && local EXAMPLES=( examples/. )
-
-   distutils-r1_python_install_all
-}



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

2017-07-15 Thread Patrice Clement
commit: a0649a28f38e66383da022e12e9e0662e567ef4f
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Jul 15 21:43:20 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Jul 15 21:43:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0649a28

dev-python/h5py: install examples via DOCS array.

Gentoo-Bug: https://bugs.gentoo.org/622788

Package-Manager: Portage-2.3.6, Repoman-2.3.1

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

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index d2c8e6af948..4e74bc6c535 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -20,7 +20,9 @@ RDEPEND="
sci-libs/hdf5:=[mpi=,hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+
+DEPEND="
+   ${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pkgconfig[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -58,10 +60,7 @@ python_test() {
 python_install_all() {
DOCS=( README.rst ANN.rst )
use doc && HTML_DOCS=( docs/_build/html/. )
-   if use examples; then
-   dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
+   use examples && DOCS+=( examples )
 
distutils-r1_python_install_all
 }



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

2017-06-27 Thread Sebastien Fabbro
commit: b17c1f7d72833fc1ac7812d15ec1f1f3a75bff35
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:37:42 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17c1f7d

dev-python/h5py: uncompress examples

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/h5py/h5py-2.7.0.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index 40e378e0f9c..d2c8e6af948 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -58,7 +58,10 @@ python_test() {
 python_install_all() {
DOCS=( README.rst ANN.rst )
use doc && HTML_DOCS=( docs/_build/html/. )
-   use examples && insinto /usr/share/doc/${PF} && doins -r examples
+   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/h5py/

2017-06-27 Thread Sebastien Fabbro
commit: ae916d12cf0fc1d43dfd9af2b77a29551fbe71bf
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 15:53:25 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae916d12

dev-python/h5py: examples installation for eapi6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

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

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index 2557c3c503a..40e378e0f9c 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -58,7 +58,7 @@ python_test() {
 python_install_all() {
DOCS=( README.rst ANN.rst )
use doc && HTML_DOCS=( docs/_build/html/. )
-   use examples && local EXAMPLES=( examples/. )
+   use examples && insinto /usr/share/doc/${PF} && doins -r examples
 
distutils-r1_python_install_all
 }



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

2017-06-25 Thread Sebastien Fabbro
commit: 0b151ec05c76b94e5115b31642d7e9d3694c7c82
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Mon Jun 26 04:14:22 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Mon Jun 26 04:16:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b151ec0

dev-python/h5py: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

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

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index ed62fbcb576..2557c3c503a 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1 flag-o-matic
 



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

2017-06-19 Thread Agostino Sarubbo
commit: b23a995d258aeef1bb36fbec3ffc69119a75f6dc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jun 20 05:17:26 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jun 20 05:17:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b23a995d

dev-python/h5py: x86 stable wrt bug #605288

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index 892a158ed75..ed62fbcb576 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc test examples mpi"
 
 RDEPEND="



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

2017-06-18 Thread Agostino Sarubbo
commit: dd3c2152d375095383a2f2ec1a4303d05efa2c9a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 18 14:00:34 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 18 14:00:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd3c2152

dev-python/h5py: amd64 stable wrt bug #605288

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

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

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index 6d7487e563d..892a158ed75 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test examples mpi"
 
 RDEPEND="



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

2017-05-02 Thread Michał Górny
commit: f48c87b44cd3d557cedc6d75d10ba7ab98063215
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 09:03:03 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 09:47:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f48c87b4

dev-python/h5py: Clean old versions up

 dev-python/h5py/Manifest  |  3 -
 dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport | 55 --
 dev-python/h5py/h5py-2.4.0.ebuild | 49 
 dev-python/h5py/h5py-2.5.0.ebuild | 69 ---
 dev-python/h5py/h5py-2.6.0.ebuild | 64 -
 5 files changed, 240 deletions(-)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 60c28c1c756..80949b0ea27 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,5 +1,2 @@
 DIST h5py-2.3.1.tar.gz 1072766 SHA256 
447e55d5893ca285d1185a938548a12f3f7d4af441f1a7740ac28bc3aecf85c1 SHA512 
f0da1d2ac855c02fb828444d719a1b23a580adb049335f3e732ace67558a125ac8cd3b3a68ac6bf9d10aa3ab19e4672b814eb28cc8c66910750c62efb655d744
 WHIRLPOOL 
cdd2be028d450d1566776b056550af001dd382082cce5cac9fdb8968071b9f3e9855e2c30bf12bbb800c1313343980f74c2ad3d853318585bdc6134c8af5b35c
-DIST h5py-2.4.0.tar.gz 172462 SHA256 
faaeadf4b8ca14c054b7568842e0d12690de7d5d68af4ecce5d7b8fc104d8e60 SHA512 
b341994899d27ceae81cdf920c44902e7db64cd3e613e2b4bcf19a6d0aea5f2fcc4acc946222a6e5d4b03d787b05e2dd2a2a55df99561f74d6e827a61f85b2c5
 WHIRLPOOL 
734e848437921f97b2169243993cd111d4f91578bce9980ec9d373113917185f47ea8b1d98732a61bbfc7c7ae8bc1481ddf53a6ee576705352b6d77e22263f27
-DIST h5py-2.5.0.tar.gz 684354 SHA256 
9833df8a679e108b561670b245bcf9f3a827b10ccb3a5fa1341523852cfac2f6 SHA512 
4a83f9ae1855a7fad90133b327d426201c8ccfd2e7fbe9f39b2d61a2eee2f3ebe2ea02cf80f3d4e1ad659f8e790c173df8cc99b87d0b7ce63d34aa88cfdc7939
 WHIRLPOOL 
7d7852d1d2481077a81dbf194e72da10d013c43ede4d2d6e319e1e2be0f70d7495b0964ea7787ddbd145ac774cdabc32c5b7e51fc7c9bfec429d673b12bcc10b
-DIST h5py-2.6.0.tar.gz 245539 SHA256 
b2afc35430d5e4c3435c996e4f4ea2aba1ea5610e2d2f46c9cae9f785e33c435 SHA512 
6f1f8bd9f56f93d950b2601f35b3ad33d648da28970874de98e5d4f4009667e2aab8774d1d570dd16169a1bedec5e58ae60fc29053292b24f9f85d86c5671ac4
 WHIRLPOOL 
08476fbeba889e8c100150b44c26b7c7e3ad5f6b3662efb7e777153791a0b1a176f4081f0988aacc3769753a407c9e2cf802c950c8068a9f2f4fbd4d1a89b603
 DIST h5py-2.7.0.tar.gz 256471 SHA256 
79254312df2e6154c4928f5e3b22f7a2847b6e5ffb05ddc33e37b16e76d36310 SHA512 
7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4
 WHIRLPOOL 
fa38ff5d6c2a97d9eacedb0c8ccbf791ee2edb4ff652bd39a1ab102be5ec849cd45a74dd294f42fd8b2f1d943bbe1b0653afc57f6a44aed0cfc3e0b37cdc589d

diff --git a/dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport 
b/dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport
deleted file mode 100644
index 06bdb83abab..000
--- a/dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport
+++ /dev/null
@@ -1,55 +0,0 @@
-commit 364a77403199087168786234554f459e7d985063
-Author: Lawrence Mitchell 
-Date:   Tue Nov 3 14:18:48 2015 +
-
-setup: Support building with current mpi4py version
-
-mpi4py migrated the mpi4py.mpi_c module to mpi4py.libmpi in April 2014.
-After the release of v1.3.1 but before v2.  Sniff this in setup
-configure and import MPI types from the appropriate module in h5p.pyx,
-to allow building with MPI on and modern mpi4py versions.
-
-diff --git a/h5py/h5p.pyx b/h5py/h5p.pyx
-index da175dd..8a1cbb0 100644
 a/h5py/h5p.pyx
-+++ b/h5py/h5p.pyx
-@@ -25,7 +25,11 @@ from h5py import _objects
- from ._objects import phil, with_phil
- 
- if MPI:
--from mpi4py.mpi_c cimport MPI_Comm, MPI_Info, MPI_Comm_dup, MPI_Info_dup, 
\
-+if MPI4PY_V2:
-+from mpi4py.libmpi cimport MPI_Comm, MPI_Info, MPI_Comm_dup, 
MPI_Info_dup, \
-+   MPI_Comm_free, MPI_Info_free
-+else:
-+from mpi4py.mpi_c cimport MPI_Comm, MPI_Info, MPI_Comm_dup, 
MPI_Info_dup, \
-MPI_Comm_free, MPI_Info_free
- 
- # Initialization
-diff --git a/setup_build.py b/setup_build.py
-index ccc0f27..e49a4e8 100644
 a/setup_build.py
-+++ b/setup_build.py
-@@ -162,14 +162,22 @@ class h5py_build_ext(build_ext):
- # Rewrite config.pxi file if needed
- if not op.isfile(config_file) or config.rebuild_required:
- with open(config_file, 'wb') as f:
-+if config.mpi:
-+import mpi4py
-+from distutils.version import StrictVersion
-+v2 = StrictVersion(mpi4py.__version__) > 
StrictVersion("1.3.1")
-+else:
-+v2 = False
- s = """\
- # This file is automatically generated by the h5py setup script.  Don't 
modify.
- 
- DEF MPI = %(mpi)s
-+DEF 

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

2017-03-24 Thread Benda XU
commit: d6b794e9406d4ea2c5a5406951be056020ca8885
Author: Benda Xu  gentoo  org>
AuthorDate: Sat Mar 25 05:31:26 2017 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Mar 25 05:31:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b794e9

dev-python/h5py: version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/h5py-2.7.0.ebuild | 64 +++
 2 files changed, 65 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 8c079e4c964..60c28c1c756 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -2,3 +2,4 @@ DIST h5py-2.3.1.tar.gz 1072766 SHA256 
447e55d5893ca285d1185a938548a12f3f7d4af441
 DIST h5py-2.4.0.tar.gz 172462 SHA256 
faaeadf4b8ca14c054b7568842e0d12690de7d5d68af4ecce5d7b8fc104d8e60 SHA512 
b341994899d27ceae81cdf920c44902e7db64cd3e613e2b4bcf19a6d0aea5f2fcc4acc946222a6e5d4b03d787b05e2dd2a2a55df99561f74d6e827a61f85b2c5
 WHIRLPOOL 
734e848437921f97b2169243993cd111d4f91578bce9980ec9d373113917185f47ea8b1d98732a61bbfc7c7ae8bc1481ddf53a6ee576705352b6d77e22263f27
 DIST h5py-2.5.0.tar.gz 684354 SHA256 
9833df8a679e108b561670b245bcf9f3a827b10ccb3a5fa1341523852cfac2f6 SHA512 
4a83f9ae1855a7fad90133b327d426201c8ccfd2e7fbe9f39b2d61a2eee2f3ebe2ea02cf80f3d4e1ad659f8e790c173df8cc99b87d0b7ce63d34aa88cfdc7939
 WHIRLPOOL 
7d7852d1d2481077a81dbf194e72da10d013c43ede4d2d6e319e1e2be0f70d7495b0964ea7787ddbd145ac774cdabc32c5b7e51fc7c9bfec429d673b12bcc10b
 DIST h5py-2.6.0.tar.gz 245539 SHA256 
b2afc35430d5e4c3435c996e4f4ea2aba1ea5610e2d2f46c9cae9f785e33c435 SHA512 
6f1f8bd9f56f93d950b2601f35b3ad33d648da28970874de98e5d4f4009667e2aab8774d1d570dd16169a1bedec5e58ae60fc29053292b24f9f85d86c5671ac4
 WHIRLPOOL 
08476fbeba889e8c100150b44c26b7c7e3ad5f6b3662efb7e777153791a0b1a176f4081f0988aacc3769753a407c9e2cf802c950c8068a9f2f4fbd4d1a89b603
+DIST h5py-2.7.0.tar.gz 256471 SHA256 
79254312df2e6154c4928f5e3b22f7a2847b6e5ffb05ddc33e37b16e76d36310 SHA512 
7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4
 WHIRLPOOL 
fa38ff5d6c2a97d9eacedb0c8ccbf791ee2edb4ff652bd39a1ab102be5ec849cd45a74dd294f42fd8b2f1d943bbe1b0653afc57f6a44aed0cfc3e0b37cdc589d

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
new file mode 100644
index 000..6d7487e563d
--- /dev/null
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="http://www.h5py.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test examples mpi"
+
+RDEPEND="
+   sci-libs/hdf5:=[mpi=,hl(+)]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/alabaster[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
+   )
+   mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
+
+pkg_setup() {
+   use mpi && export CC=mpicc
+}
+
+python_prepare_all() {
+   append-cflags -fno-strict-aliasing
+   distutils-r1_python_prepare_all
+}
+
+python_configure() {
+   esetup.py configure $(usex mpi --mpi '')
+}
+
+python_compile_all() {
+   if use doc; then
+   cd "${S}"/docs || die
+   sed '/html_theme/s:default:alabaster:g' -i conf.py || die
+   emake html
+   fi
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   DOCS=( README.rst ANN.rst )
+   use doc && HTML_DOCS=( docs/_build/html/. )
+   use examples && local EXAMPLES=( examples/. )
+
+   distutils-r1_python_install_all
+}



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

2016-12-09 Thread Benda XU
commit: 8a2f220fa512d5e1d0f95a6df752aaac9add58f7
Author: Marius Brehler  linux  sungazer  de>
AuthorDate: Fri Dec  9 14:30:20 2016 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Dec 10 02:54:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2f220f

dev-python/h5py: Fix dependecy on hdf5[hl] (PR #3061).

Package-Manager: portage-2.3.0

Signed-off-by: Benda Xu  gentoo.org>

 dev-python/h5py/h5py-2.3.1.ebuild | 4 ++--
 dev-python/h5py/h5py-2.4.0.ebuild | 4 ++--
 dev-python/h5py/h5py-2.5.0.ebuild | 4 ++--
 dev-python/h5py/h5py-2.6.0.ebuild | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-python/h5py/h5py-2.3.1.ebuild 
b/dev-python/h5py/h5py-2.3.1.ebuild
index a2928b5..f8cf3ef 100644
--- a/dev-python/h5py/h5py-2.3.1.ebuild
+++ b/dev-python/h5py/h5py-2.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="test examples mpi"
 
 RDEPEND="
-   sci-libs/hdf5:=[mpi=]
+   sci-libs/hdf5:=[mpi=,hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]

diff --git a/dev-python/h5py/h5py-2.4.0.ebuild 
b/dev-python/h5py/h5py-2.4.0.ebuild
index cf1fab9..50cbd30 100644
--- a/dev-python/h5py/h5py-2.4.0.ebuild
+++ b/dev-python/h5py/h5py-2.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test examples mpi"
 
 RDEPEND="
-   sci-libs/hdf5:=[mpi=]
+   sci-libs/hdf5:=[mpi=,hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]

diff --git a/dev-python/h5py/h5py-2.5.0.ebuild 
b/dev-python/h5py/h5py-2.5.0.ebuild
index e73e79e..e4f542d 100644
--- a/dev-python/h5py/h5py-2.5.0.ebuild
+++ b/dev-python/h5py/h5py-2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test examples mpi"
 
 RDEPEND="
-   sci-libs/hdf5:=[mpi=]
+   sci-libs/hdf5:=[mpi=,hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}

diff --git a/dev-python/h5py/h5py-2.6.0.ebuild 
b/dev-python/h5py/h5py-2.6.0.ebuild
index 260b964..55e8793 100644
--- a/dev-python/h5py/h5py-2.6.0.ebuild
+++ b/dev-python/h5py/h5py-2.6.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test examples mpi"
 
 RDEPEND="
-   sci-libs/hdf5:=[mpi=]
+   sci-libs/hdf5:=[mpi=,hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}



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

2016-09-03 Thread Mike Gilbert
commit: e16472d300e27f745e0b7ecd927f4eb9a030d6d9
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Sep  3 13:34:30 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Sep  3 13:34:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e16472d3

dev-python/h5py: drop rm -r _build || die

Bug: https://bugs.gentoo.org/591736

Package-Manager: portage-2.3.0_p24

 dev-python/h5py/h5py-2.6.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/h5py/h5py-2.6.0.ebuild 
b/dev-python/h5py/h5py-2.6.0.ebuild
index e3722c2..7c861bd 100644
--- a/dev-python/h5py/h5py-2.6.0.ebuild
+++ b/dev-python/h5py/h5py-2.6.0.ebuild
@@ -48,7 +48,6 @@ python_compile_all() {
if use doc; then
cd "${S}"/docs || die
sed '/html_theme/s:default:alabaster:g' -i conf.py || die
-   rm -r _build || die
emake html
fi
 }



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

2016-08-19 Thread Benda XU
commit: 79e447ffd4aeaaa7200e9ef62ed29ca83b0e4001
Author: Benda Xu  gentoo  org>
AuthorDate: Fri Aug 19 11:11:01 2016 +
Commit: Benda XU  gentoo  org>
CommitDate: Fri Aug 19 11:12:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e447ff

dev-python/h5py: version bump.

Package-Manager: portage-2.3.0

 dev-python/h5py/Manifest  |  1 +
 dev-python/h5py/h5py-2.6.0.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index ee40b29..8c079e4 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1,3 +1,4 @@
 DIST h5py-2.3.1.tar.gz 1072766 SHA256 
447e55d5893ca285d1185a938548a12f3f7d4af441f1a7740ac28bc3aecf85c1 SHA512 
f0da1d2ac855c02fb828444d719a1b23a580adb049335f3e732ace67558a125ac8cd3b3a68ac6bf9d10aa3ab19e4672b814eb28cc8c66910750c62efb655d744
 WHIRLPOOL 
cdd2be028d450d1566776b056550af001dd382082cce5cac9fdb8968071b9f3e9855e2c30bf12bbb800c1313343980f74c2ad3d853318585bdc6134c8af5b35c
 DIST h5py-2.4.0.tar.gz 172462 SHA256 
faaeadf4b8ca14c054b7568842e0d12690de7d5d68af4ecce5d7b8fc104d8e60 SHA512 
b341994899d27ceae81cdf920c44902e7db64cd3e613e2b4bcf19a6d0aea5f2fcc4acc946222a6e5d4b03d787b05e2dd2a2a55df99561f74d6e827a61f85b2c5
 WHIRLPOOL 
734e848437921f97b2169243993cd111d4f91578bce9980ec9d373113917185f47ea8b1d98732a61bbfc7c7ae8bc1481ddf53a6ee576705352b6d77e22263f27
 DIST h5py-2.5.0.tar.gz 684354 SHA256 
9833df8a679e108b561670b245bcf9f3a827b10ccb3a5fa1341523852cfac2f6 SHA512 
4a83f9ae1855a7fad90133b327d426201c8ccfd2e7fbe9f39b2d61a2eee2f3ebe2ea02cf80f3d4e1ad659f8e790c173df8cc99b87d0b7ce63d34aa88cfdc7939
 WHIRLPOOL 
7d7852d1d2481077a81dbf194e72da10d013c43ede4d2d6e319e1e2be0f70d7495b0964ea7787ddbd145ac774cdabc32c5b7e51fc7c9bfec429d673b12bcc10b
+DIST h5py-2.6.0.tar.gz 245539 SHA256 
b2afc35430d5e4c3435c996e4f4ea2aba1ea5610e2d2f46c9cae9f785e33c435 SHA512 
6f1f8bd9f56f93d950b2601f35b3ad33d648da28970874de98e5d4f4009667e2aab8774d1d570dd16169a1bedec5e58ae60fc29053292b24f9f85d86c5671ac4
 WHIRLPOOL 
08476fbeba889e8c100150b44c26b7c7e3ad5f6b3662efb7e777153791a0b1a176f4081f0988aacc3769753a407c9e2cf802c950c8068a9f2f4fbd4d1a89b603

diff --git a/dev-python/h5py/h5py-2.6.0.ebuild 
b/dev-python/h5py/h5py-2.6.0.ebuild
new file mode 100644
index 000..e3722c2
--- /dev/null
+++ b/dev-python/h5py/h5py-2.6.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="http://www.h5py.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test examples mpi"
+
+RDEPEND="
+   sci-libs/hdf5:=[mpi=]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/pkgconfig[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/alabaster[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
+   )
+   mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
+
+pkg_setup() {
+   use mpi && export CC=mpicc
+}
+
+python_prepare_all() {
+   append-cflags -fno-strict-aliasing
+   distutils-r1_python_prepare_all
+}
+
+python_configure() {
+   esetup.py configure $(usex mpi --mpi '')
+}
+
+python_compile_all() {
+   if use doc; then
+   cd "${S}"/docs || die
+   sed '/html_theme/s:default:alabaster:g' -i conf.py || die
+   rm -r _build || die
+   emake html
+   fi
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   DOCS=( README.rst ANN.rst )
+   use doc && HTML_DOCS=( docs/_build/html/. )
+   use examples && local EXAMPLES=( examples/. )
+
+   distutils-r1_python_install_all
+}



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

2015-11-17 Thread Justin Lecher
commit: 3f54a597796ca0ada6dca781c84e83466ca9ce1b
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Nov 17 09:23:23 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Nov 17 09:26:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f54a597

dev-python/h5py: Backport support for mpi4py-2

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

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

 dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport | 55 +++
 dev-python/h5py/h5py-2.5.0.ebuild |  4 ++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport 
b/dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport
new file mode 100644
index 000..06bdb83
--- /dev/null
+++ b/dev-python/h5py/files/h5py-2.5.0-mpi4py2.backport
@@ -0,0 +1,55 @@
+commit 364a77403199087168786234554f459e7d985063
+Author: Lawrence Mitchell 
+Date:   Tue Nov 3 14:18:48 2015 +
+
+setup: Support building with current mpi4py version
+
+mpi4py migrated the mpi4py.mpi_c module to mpi4py.libmpi in April 2014.
+After the release of v1.3.1 but before v2.  Sniff this in setup
+configure and import MPI types from the appropriate module in h5p.pyx,
+to allow building with MPI on and modern mpi4py versions.
+
+diff --git a/h5py/h5p.pyx b/h5py/h5p.pyx
+index da175dd..8a1cbb0 100644
+--- a/h5py/h5p.pyx
 b/h5py/h5p.pyx
+@@ -25,7 +25,11 @@ from h5py import _objects
+ from ._objects import phil, with_phil
+ 
+ if MPI:
+-from mpi4py.mpi_c cimport MPI_Comm, MPI_Info, MPI_Comm_dup, MPI_Info_dup, 
\
++if MPI4PY_V2:
++from mpi4py.libmpi cimport MPI_Comm, MPI_Info, MPI_Comm_dup, 
MPI_Info_dup, \
++   MPI_Comm_free, MPI_Info_free
++else:
++from mpi4py.mpi_c cimport MPI_Comm, MPI_Info, MPI_Comm_dup, 
MPI_Info_dup, \
+MPI_Comm_free, MPI_Info_free
+ 
+ # Initialization
+diff --git a/setup_build.py b/setup_build.py
+index ccc0f27..e49a4e8 100644
+--- a/setup_build.py
 b/setup_build.py
+@@ -162,14 +162,22 @@ class h5py_build_ext(build_ext):
+ # Rewrite config.pxi file if needed
+ if not op.isfile(config_file) or config.rebuild_required:
+ with open(config_file, 'wb') as f:
++if config.mpi:
++import mpi4py
++from distutils.version import StrictVersion
++v2 = StrictVersion(mpi4py.__version__) > 
StrictVersion("1.3.1")
++else:
++v2 = False
+ s = """\
+ # This file is automatically generated by the h5py setup script.  Don't 
modify.
+ 
+ DEF MPI = %(mpi)s
++DEF MPI4PY_V2 = %(mpi4py_v2)s
+ DEF HDF5_VERSION = %(version)s
+ DEF SWMR_MIN_HDF5_VERSION = (1,9,178)
+ """
+ s %= {'mpi': bool(config.mpi),
++  'mpi4py_v2': bool(v2),
+   'version': tuple(int(x) for x in 
config.hdf5_version.split('.'))}
+ s = s.encode('utf-8')
+ f.write(s)

diff --git a/dev-python/h5py/h5py-2.5.0.ebuild 
b/dev-python/h5py/h5py-2.5.0.ebuild
index 5947f06..f7c87dc 100644
--- a/dev-python/h5py/h5py-2.5.0.ebuild
+++ b/dev-python/h5py/h5py-2.5.0.ebuild
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
)
mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-mpi4py2.backport
+)
+
 pkg_setup() {
use mpi && export CC=mpicc
 }



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

2015-10-21 Thread Justin Lecher
commit: 47ab48dada6ba5deb5aba886c9bfbe4c3da837a4
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Oct 21 12:40:43 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Oct 21 13:40:24 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ab48da

dev-python/h5py: Add python3.5 support

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

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

diff --git a/dev-python/h5py/h5py-2.5.0.ebuild 
b/dev-python/h5py/h5py-2.5.0.ebuild
index a6218f2..5947f06 100644
--- a/dev-python/h5py/h5py-2.5.0.ebuild
+++ b/dev-python/h5py/h5py-2.5.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit distutils-r1 flag-o-matic