repo/gentoo:master commit in: dev-python/oct2py/
MichaŠGórny <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1787018363.1b55784c4d3a17e081409be0ae03723dd9b5a7f1.mgorny@gentoo> |
commit: 1b55784c4d3a17e081409be0ae03723dd9b5a7f1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 18 01:44:25 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 01:59:23 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b55784c
dev-python/oct2py: Bump to 6.0.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/oct2py/Manifest | 1 +
dev-python/oct2py/oct2py-6.0.4.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/oct2py/Manifest b/dev-python/oct2py/Manifest
index 01a02363088f..df377b352d4b 100644
--- a/dev-python/oct2py/Manifest
+++ b/dev-python/oct2py/Manifest
@@ -1 +1,2 @@
DIST oct2py-6.0.3.tar.gz 74152 BLAKE2B 281bfd20b4685011e236d1c619726350f52667385f8d3d8ba7e8c8d28f844b8068a80698232b5e03bc22170c2e5cee5f77aba676dd7718e92938cb0ed7ade7cb SHA512 8f117fc3a825b0d91030edb2ba3afed48c70b47e93c458e92be7fd0a193cc4ea5fa0daf9c13bcaac8219ad53d9d128aac1642fb8f03fd8e14c68e7bd4244d429
+DIST oct2py-6.0.4.tar.gz 77487 BLAKE2B 26a162dc44934a8e027205fe6a25245f56f070d04ee879304c257bd41f940271b894718615c4f6626d6a32a1e802686f474872def5e0d892371f2ed47f868707 SHA512 28d15719b789f896b51dc87e2a6348eba3315d81263303e8f7168c1aefe7e1aa6efea6b70b2cc54d4751cdbf5850075c998979acac6c5925ff58ef5137f6c8d4
diff --git a/dev-python/oct2py/oct2py-6.0.4.ebuild b/dev-python/oct2py/oct2py-6.0.4.ebuild
new file mode 100644
index 000000000000..a3176ac6439c
--- /dev/null
+++ b/dev-python/oct2py/oct2py-6.0.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry-core
+PYTHON_COMPAT=( python3_{12..14} )
+
+inherit distutils-r1 pypi virtualx
+
+DESCRIPTION="Python to GNU Octave bridge"
+HOMEPAGE="
+ https://github.com/blink1073/oct2py/
+ https://blink1073.github.io/oct2py/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/metakernel-1.0.6[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.25.0[${PYTHON_USEDEP}]
+ >=dev-python/octave-kernel-1.1.1[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-settings-2.0[${PYTHON_USEDEP}]
+ >=dev-python/scipy-0.17.1[${PYTHON_USEDEP}]
+ >=dev-python/tornado-0.5.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/ipython-9.0[${PYTHON_USEDEP}]
+ dev-python/nbconvert[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( flaky pytest-timeout )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # No graphics toolkit available: 743589
+ "oct2py/ipython/tests/test_octavemagic.py::OctaveMagicTest::test_octave_plot"
+ # TODO
+ tests/test_misc.py::TestMisc::test_func_without_docstring
+ tests/test_usage.py::TestUsage::test_pkg_load
+ # apparently we're like flatpak, having "different errors"
+ tests/test_usage.py::TestUsage::test_script_error_like_my_pyeval2
+ )
+
+ virtx epytest
+}