https://github.com/Unidata/netcdf4-python/releases/tag/v1.2.7rel
Please update, many bugfixes have been applied since 1.2.2 <https://github.com/Unidata/netcdf4-python/blob/master/Changelog>. Thanks
Created attachment 521480 [details] updated ebuild Based on the changelog and on the contents of setup.py for this package, I've created an updated ebuild. There is now support for mpi, which I have put behind an ‘mpi’ use flag. Also some minimal versions have changed. I have not tested the mpi functionality, as I have absolutely no experience with that. However, I have tested the version without it and it works nicely.
*** Bug 681746 has been marked as a duplicate of this bug. ***
Created attachment 570816 [details] netcdf4-python-1.5.0.ebuild (updated) According to the changelog and the installation procedure presented at http://unidata.github.io/netcdf4-python/netCDF4/index.html, an ebuild is included that includes USE dap, hdf and mpi (all verified). Additionally, the dependency to the cftime package is included (https://bugs.gentoo.org/681744)
(In reply to Juan Camilo Hernandez from comment #4) > Created attachment 570816 [details] > netcdf4-python-1.5.0.ebuild (updated) That looks very nice. Minor comments: * shouldn't cython be in DEPEND instead of RDEPEND? * https://unidata.github.io/netcdf4-python seems less fragile than https://unidata.github.io/netcdf4-python/netCDF4/index.html * is python3_{4,5,6} or python{3_5,3_6,3_7} preferred? * is "OSI Approved" or "MIT" (more specific) preferred? * should the keywords be expanded to "~amd64 ~x86 ~amd64-linux ~x86-linux" as in the old ebuild?
Created attachment 570824 [details] netcdf4-python-1.5.0.ebuild (updated) (In reply to Erik Quaeghebeur from comment #5) Thank you very much for your comments, I have put into practice several of them. For the KEYWORDS variable, I have been conservative. I limited myself to indicate the hadrware where I could test my ebuild.
1.5.1.2 is available: https://github.com/Unidata/netcdf4-python/releases/tag/v1.5.1.2rel I tested the old ebuild and it still works. The minimal required numpy needs to be changed to 1.10, however. See https://github.com/Unidata/netcdf4-python/blob/v1.5.1.2rel/Changelog line 10.
Created attachment 640884 [details] updated ebuild I've added an updated ebuild for version 1.5.3. It installs and works fine here.
Forgot to mention: I removed Python 2.7 support, because that is deprecated. Also, it held up the numpy upgrade after the numpy vs. numpy-python2 split.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854e2a7b29c6053477dd63bc76d61d2db2c06858 commit 854e2a7b29c6053477dd63bc76d61d2db2c06858 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2020-12-28 16:10:49 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-12-28 16:10:49 +0000 dev-python/netcdf4-python: Bump to 1.5.5 Closes: https://github.com/gentoo/gentoo/pull/18735 Closes: https://bugs.gentoo.org/612112 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> dev-python/netcdf4-python/Manifest | 1 + .../files/netcdf4-python-1.5.5-tests.patch | 33 +++++++++++++++++ dev-python/netcdf4-python/metadata.xml | 28 +++++++-------- .../netcdf4-python/netcdf4-python-1.5.5.ebuild | 41 ++++++++++++++++++++++ 4 files changed, 89 insertions(+), 14 deletions(-)