commit:     5a0ff3a650aeba72927e69c47104a2405cc0bb42
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 12 13:00:35 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jun 12 13:03:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a0ff3a6

dev-python/guidata: depends on numpy < 2.0.0

tests didn't pass with numpy 2.0.0

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-python/guidata/guidata-3.5.0-r1.ebuild | 39 ++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/dev-python/guidata/guidata-3.5.0-r1.ebuild 
b/dev-python/guidata/guidata-3.5.0-r1.ebuild
new file mode 100644
index 000000000..0052ed37d
--- /dev/null
+++ b/dev-python/guidata/guidata-3.5.0-r1.ebuild
@@ -0,0 +1,39 @@
+# 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_{11,12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Library for user interfaces for easy dataset editing and display"
+HOMEPAGE="https://pypi.python.org/pypi/guidata";
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-python/h5py[${PYTHON_USEDEP}]
+       <dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
+       dev-python/PyQt5[${PYTHON_USEDEP}]
+       dev-python/QtPy[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       dev-python/tomli[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               dev-python/pytest-qt[${PYTHON_USEDEP}]
+               dev-python/pytest-xvfb[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       epytest -p xvfb
+}

Reply via email to