commit:     e574813b07a27fb7240d5d4636a5909bb0a17fc4
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Dec 11 17:19:09 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Dec 11 17:19:09 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e574813b

dev-python/hdmf: add 3.11.0

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../hdmf/files/hdmf-3.11.0-no_test_coverage.patch  | 10 +++++++
 dev-python/hdmf/hdmf-3.11.0.ebuild                 | 31 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/hdmf/files/hdmf-3.11.0-no_test_coverage.patch 
b/dev-python/hdmf/files/hdmf-3.11.0-no_test_coverage.patch
new file mode 100644
index 000000000..e44a68902
--- /dev/null
+++ b/dev-python/hdmf/files/hdmf-3.11.0-no_test_coverage.patch
@@ -0,0 +1,10 @@
+--- a/pyproject.toml   2020-02-01 19:00:00.000000000 -0500
++++ b/pyproject.toml   2023-12-11 12:00:19.368474488 -0500
+@@ -76,7 +76,6 @@
+ # verbose = 1
+
+ [tool.pytest.ini_options]
+-addopts = "--cov --cov-report html"
+ norecursedirs = "tests/unit/helpers"
+
+ [tool.codespell]

diff --git a/dev-python/hdmf/hdmf-3.11.0.ebuild 
b/dev-python/hdmf/hdmf-3.11.0.ebuild
new file mode 100644
index 000000000..2463ccc1a
--- /dev/null
+++ b/dev-python/hdmf/hdmf-3.11.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="The Hierarchical Data Modeling Framework"
+HOMEPAGE="https://github.com/hdmf-dev/hdmf";
+SRC_URI="$(pypi_sdist_url hdmf)"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/h5py[${PYTHON_USEDEP}]
+       dev-python/jsonschema[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pandas[${PYTHON_USEDEP}]
+       dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+       dev-python/scipy[${PYTHON_USEDEP}]
+       "
+
+PATCHES=(
+       "${FILESDIR}/${P}-no_test_coverage.patch"
+       )
+
+distutils_enable_tests pytest

Reply via email to