Files
python-oct2py/python-oct2py.spec
Todd R e9f19c802a Accepting request 718005 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to version 5.0.4
  * update example docs
- Update to version 5.0.3
  * switch to line_handler and add a carriage return test
  * remove hardcoded email

OBS-URL: https://build.opensuse.org/request/show/718005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-oct2py?expand=0&rev=5
2019-07-23 20:29:44 +00:00

71 lines
2.1 KiB
RPMSpec

#
# spec file for package python-oct2py
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with test
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-oct2py
Version: 5.0.4
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 numpy >= 1.12}
BuildRequires: %{python_module octave-kernel >= 0.30}
BuildRequires: %{python_module scipy >= 0.17}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: fdupes
Requires: python-numpy >= 1.12
Requires: python-octave-kernel >= 0.30
Requires: python-scipy >= 0.17
BuildArch: noarch
%python_subpackages
%description
Oct2Py allows you to seamlessly call M-files and Octave functions from Python.
It manages the Octave session for you, sharing data behind the scenes using
MAT files.
%prep
%setup -q -n oct2py-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Tests need gui
# %%check
# %%python_exec setup.py test
# %%endif
%files %{python_files}
%doc README.rst
%license LICENSE.txt licenses licenses/mlabwrap.txt licenses/octavemagic.txt licenses/ompc.txt
%{python_sitelib}/*
%changelog