commit:     c4b8d4aab466474abead514275b4d4c4e79c5e8a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 04:12:44 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 04:15:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4b8d4aa

dev-python/oct2py: Bump to 5.8.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/oct2py/Manifest            |  1 +
 dev-python/oct2py/oct2py-5.8.0.ebuild | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/oct2py/Manifest b/dev-python/oct2py/Manifest
index 3e605b8d9d45..60f9e2a4810f 100644
--- a/dev-python/oct2py/Manifest
+++ b/dev-python/oct2py/Manifest
@@ -1 +1,2 @@
 DIST oct2py-5.7.2.tar.gz 441373 BLAKE2B 
afa7a98f6d38120e8028438d243fb2baefaf3cacc00b576f32fbf666f193dad95e8468847859e8405b7796ec2132b99e347f9ea466400307d1d23ce46f9489fc
 SHA512 
f01263d210eab9adb3f69025a2a22efebd0b1a4dff040620fd382752159992d9907451ec7a72c75f211a9a8e18a1d1c53ff5d3512d8bd807afc737b50fcae178
+DIST oct2py-5.8.0.tar.gz 442805 BLAKE2B 
adff195db13288fae467f1c24834dbedd369170184626ac90fd6d64960a63dd11efe4d0bf77ecbe5fad08d11c8280c0b92e5aec3868b750f44f4d3fa8f9c0b3f
 SHA512 
4e69d0df3a8664f0601d31fbfbb6ef65ac16066668c32ca7506023e02a7416bb81da8f18a9e49f2cdd8a0d46b1c55b9c96d9c71f5482c63c8409465188174daa

diff --git a/dev-python/oct2py/oct2py-5.8.0.ebuild 
b/dev-python/oct2py/oct2py-5.8.0.ebuild
new file mode 100644
index 000000000000..79f44327ad13
--- /dev/null
+++ b/dev-python/oct2py/oct2py-5.8.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python to GNU Octave bridge"
+HOMEPAGE="
+       https://github.com/blink1073/oct2py
+       https://blink1073.github.io/oct2py/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+       >=dev-python/numpy-1.12[${PYTHON_USEDEP}]
+       >=dev-python/octave-kernel-0.34.0[${PYTHON_USEDEP}]
+       >=dev-python/scipy-0.17[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/ipython[${PYTHON_USEDEP}]
+               dev-python/nbconvert[${PYTHON_USEDEP}]
+               dev-python/pandas[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_DESELECT=(
+       # No graphics toolkit available: 743589
+       
"oct2py/ipython/tests/test_octavemagic.py::OctaveMagicTest::test_octave_plot"
+)
+
+distutils_enable_sphinx docs/source \
+       dev-python/numpydoc \
+       dev-python/pydata-sphinx-theme \
+       dev-python/myst-parser \
+       dev-python/sphinxcontrib-spelling
+distutils_enable_tests pytest
+
+python_install_all() {
+       distutils-r1_python_install_all
+
+       if use examples; then
+               docinto examples
+               dodoc -r example/.
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
+}

Reply via email to