From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/
Date: Sat, 6 Mar 2021 17:45:59 +0000 (UTC) [thread overview]
Message-ID: <1615052756.df1f8b2a5ec2d4f0d5d8ac8354b13902b1ba39d2.mgorny@gentoo> (raw)
commit: df1f8b2a5ec2d4f0d5d8ac8354b13902b1ba39d2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 6 17:29:19 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 6 17:45:56 2021 +0000
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 <mgorny <AT> 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 00000000000..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
+}
next reply other threads:[~2021-03-06 17:46 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-06 17:45 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 16:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/ Michał Górny
2025-03-08 12:19 Arthur Zamarin
2025-03-08 12:19 Arthur Zamarin
2025-03-08 12:07 Arthur Zamarin
2025-02-20 5:06 Michał Górny
2024-10-12 7:54 Michał Górny
2024-10-12 7:52 Michał Górny
2024-10-12 7:52 Michał Górny
2024-10-12 7:04 Michał Górny
2024-09-27 8:07 Michał Górny
2024-05-20 16:25 Sam James
2024-04-27 8:26 Michał Górny
2024-04-27 8:04 Arthur Zamarin
2024-04-27 8:04 Arthur Zamarin
2024-04-27 7:40 Michał Górny
2024-04-22 3:40 Michał Górny
2024-04-13 6:26 Arthur Zamarin
2024-04-11 19:04 Michał Górny
2024-04-11 4:25 Michał Górny
2023-12-25 7:30 Sam James
2023-12-08 9:03 Arthur Zamarin
2023-12-06 7:41 Sam James
2023-12-05 13:42 Sam James
2023-12-05 13:41 Sam James
2023-11-11 20:50 Michał Górny
2023-11-11 20:17 Arthur Zamarin
2023-11-11 20:02 Sam James
2023-10-10 5:05 Michał Górny
2023-08-12 15:57 Arthur Zamarin
2023-08-12 0:10 Sam James
2023-07-08 10:47 Benda XU
2023-06-21 4:14 Michał Górny
2023-05-29 23:50 Sam James
2023-05-04 16:17 Michał Górny
2023-02-24 4:50 Michał Górny
2023-02-23 20:45 Arthur Zamarin
2023-02-23 20:18 Arthur Zamarin
2023-01-24 7:04 Michał Górny
2022-12-01 14:35 Michał Górny
2022-10-29 19:43 Sam James
2022-10-06 10:08 Andrew Ammerlaan
2022-09-08 19:39 Jakov Smolić
2022-06-25 11:18 Michał Górny
2022-06-25 9:06 Sam James
2022-06-24 20:59 Jakov Smolić
2022-05-30 20:38 Michał Górny
2022-05-30 19:40 Sam James
2022-05-27 9:12 Jakov Smolić
2022-05-25 7:12 Michał Górny
2022-04-22 10:47 Michał Górny
2021-11-11 8:07 Michał Górny
2021-11-11 8:07 Michał Górny
2021-07-25 1:04 Sam James
2021-07-24 15:12 Sam James
2021-06-22 16:29 Michał Górny
2021-06-09 15:19 Marek Szuba
2021-05-16 18:53 Sam James
2021-04-11 11:11 Sam James
2021-03-08 12:35 Michał Górny
2020-08-17 18:55 David Seifert
2020-05-25 5:55 Michał Górny
2020-05-14 8:03 Agostino Sarubbo
2020-05-13 14:52 Agostino Sarubbo
2020-03-27 11:35 Michał Górny
2020-03-17 15:14 Andrey Grozin
2020-01-30 21:26 Michał Górny
2020-01-25 3:53 Benda XU
2019-01-27 11:02 Benda XU
2018-03-01 19:04 Nicolas Bock
2018-01-04 20:35 Michał Górny
2017-07-15 21:43 Patrice Clement
2017-06-28 4:02 Sebastien Fabbro
2017-06-28 4:02 Sebastien Fabbro
2017-06-26 4:35 Sebastien Fabbro
2017-06-20 5:17 Agostino Sarubbo
2017-06-18 14:01 Agostino Sarubbo
2017-03-25 5:32 Benda XU
2016-12-10 3:28 Benda XU
2016-09-03 13:34 Mike Gilbert
2016-08-19 11:12 Benda XU
2015-10-21 13:41 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615052756.df1f8b2a5ec2d4f0d5d8ac8354b13902b1ba39d2.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox