commit: 5ec641ea8274723cbc1b13a0144201b3a6de2623
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Jul 19 04:57:49 2022 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jul 19 04:57:49 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5ec641ea
dev-python/pynwb: patched upstream versioncheck
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-python/pynwb/files/pynwb-2.1.0-versions.patch | 21 +++++++++++++++++++++
.../{pynwb-2.1.0.ebuild => pynwb-2.1.0-r1.ebuild} | 4 ++++
2 files changed, 25 insertions(+)
diff --git a/dev-python/pynwb/files/pynwb-2.1.0-versions.patch
b/dev-python/pynwb/files/pynwb-2.1.0-versions.patch
new file mode 100644
index 000000000..8c816d226
--- /dev/null
+++ b/dev-python/pynwb/files/pynwb-2.1.0-versions.patch
@@ -0,0 +1,21 @@
+diff --git a/setup.py b/tmp/setup.py
+index 39e75824..f7948f64 100755
+--- a/setup.py
++++ b/setup.py
+@@ -19,11 +19,11 @@ print('found these packages:', pkgs)
+ schema_dir = 'nwb-schema/core'
+
+ reqs = [
+- 'h5py>=2.10,<4',
+- 'hdmf>=3.3.2,<4',
+- 'numpy>=1.16,<1.23',
+- 'pandas>=1.0.5,<2',
+- 'python-dateutil>=2.7,<3',
++ 'h5py',
++ 'hdmf',
++ 'numpy',
++ 'pandas',
++ 'python-dateutil',
+ 'setuptools'
+ ]
+
diff --git a/dev-python/pynwb/pynwb-2.1.0.ebuild
b/dev-python/pynwb/pynwb-2.1.0-r1.ebuild
similarity index 96%
rename from dev-python/pynwb/pynwb-2.1.0.ebuild
rename to dev-python/pynwb/pynwb-2.1.0-r1.ebuild
index a53c4bbb0..c24dae23a 100644
--- a/dev-python/pynwb/pynwb-2.1.0.ebuild
+++ b/dev-python/pynwb/pynwb-2.1.0-r1.ebuild
@@ -25,6 +25,10 @@ RDEPEND="
"
BDEPEND=""
+PATCHES=(
+ "${FILESDIR}/${P}-versions.patch"
+ )
+
EPYTEST_DESELECT=(
# Reported upsream:
# https://github.com/NeurodataWithoutBorders/pynwb/issues/1425