From ff027d8ce7a3479a6a7e3418e2dd0e648f2e0714816892dd28e28f3255765b15 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 2 Jun 2019 13:18:05 +0000 Subject: [PATCH] Accepting request 706408 from devel:languages:python:numeric OBS-URL: https://build.opensuse.org/request/show/706408 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oct2py?expand=0&rev=2 --- oct2py-4.0.6.tar.gz | 3 --- oct2py-5.0.2.tar.gz | 3 +++ python-oct2py.changes | 14 ++++++++++++++ python-oct2py.spec | 27 ++++++++++----------------- 4 files changed, 27 insertions(+), 20 deletions(-) delete mode 100644 oct2py-4.0.6.tar.gz create mode 100644 oct2py-5.0.2.tar.gz diff --git a/oct2py-4.0.6.tar.gz b/oct2py-4.0.6.tar.gz deleted file mode 100644 index fea9815..0000000 --- a/oct2py-4.0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:07cbcee467f6bd7bd2430d2ae270fcc035acf2c8ad35f6ad9bb6f7b0f915e179 -size 431738 diff --git a/oct2py-5.0.2.tar.gz b/oct2py-5.0.2.tar.gz new file mode 100644 index 0000000..da562c1 --- /dev/null +++ b/oct2py-5.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac87d9672cf07a66b158149dbadeeddfe4bd7fbdb05b9dfdeabf66b7fba4066b +size 434736 diff --git a/python-oct2py.changes b/python-oct2py.changes index 3b6d850..38e5dde 100644 --- a/python-oct2py.changes +++ b/python-oct2py.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed May 29 20:26:24 UTC 2019 - Todd R + +- Update to version 5.0.2 + * Removed the ``executable`` argument to ``Oct2Py`` in favor of using + environment variables because we need to instantiate the ``octave`` + convenience instance at startup. + * Add a plot_backend kwarg for eval and clean up default backend selection. + * Add support for Pandas DataFrames and Series + * Remove unwanted octave-workspace files at exit + * Add a backend property to specify the graphics toolkit +- Disable building for python2 since it has python3-only + dependencies + ------------------------------------------------------------------- Sun Mar 11 08:35:05 UTC 2018 - sebix+novell.com@sebix.at diff --git a/python-oct2py.spec b/python-oct2py.spec index f337bf8..4ee5b05 100644 --- a/python-oct2py.spec +++ b/python-oct2py.spec @@ -1,7 +1,7 @@ # # spec file for package python-oct2py # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,34 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# Tests need gui %bcond_with test %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-oct2py -Version: 4.0.6 +Version: 5.0.2 Release: 0 Summary: Python to GNU Octave bridge License: MIT Group: Development/Languages/Python Url: http://github.com/blink1073/oct2py Source: https://files.pythonhosted.org/packages/source/o/oct2py/oct2py-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module jupyter_octave_kernel >= 0.25} +BuildRequires: %{python_module octave-kernel >= 0.30} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module scipy} -BuildRequires: python-mock -%endif BuildRequires: fdupes -Requires: python-jupyter_octave_kernel >= 0.25 +Requires: python-octave-kernel >= 0.30 BuildArch: noarch %python_subpackages @@ -59,13 +53,12 @@ MAT files. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} -%check -%python_exec setup.py test -%endif +# Tests need gui +# %%check +# %%python_exec setup.py test +# %%endif %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE.txt licenses licenses/mlabwrap.txt licenses/octavemagic.txt licenses/ompc.txt %{python_sitelib}/*