diff --git a/control-0.8.4.tar.gz b/control-0.8.4.tar.gz deleted file mode 100644 index 389cc86..0000000 --- a/control-0.8.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fed8ca6c773175bea14b121c001eee20c48977629a498d9a2d19a85490112ba5 -size 261825 diff --git a/control-0.9.0.tar.gz b/control-0.9.0.tar.gz new file mode 100644 index 0000000..c40626a --- /dev/null +++ b/control-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34eeca077cf002a2f22a9334c8998ec5b3bcc0fdae2aac790a923cf8bc80245a +size 339120 diff --git a/python-control-rpmlintrc b/python-control-rpmlintrc index 831e300..f80d2ea 100644 --- a/python-control-rpmlintrc +++ b/python-control-rpmlintrc @@ -1 +1 @@ -addFilter("explicit-lib-dependency python3-matplotlib") +addFilter("explicit-lib-dependency.*matplotlib") diff --git a/python-control.changes b/python-control.changes index 3a67718..1e1a999 100644 --- a/python-control.changes +++ b/python-control.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Sun Mar 21 10:13:42 UTC 2021 - Ben Greiner + +- Update to version 0.9.0 + * Version 0.9.0 of the Python Control Toolbox + (python-control) contains a number of enhanced features + and changes to functions. Some of these changes may + require modifications to existing user code and, in + addition, some default settings have changed that may + affect the appearance of plots or operation of certain + functions. + * Significant new additions including improvements in the + I/O systems modules that allow automatic interconnection + of signals having the same name (via the interconnect + function), generation and plotting of describing functions + for closed loop systems with static nonlinearities, and a + new optimal control module that allows basic computation + of optimal controls (including model predictive + controllers). Some of the changes that may break use code + include the deprecation of the NumPy matrix type (2D NumPy + arrays are used instead), changes in the return value for + Nyquist plots (now returns number of encirclements rather + than the frequency response), switching the default + timebase of systems to be 0 rather than None (no + timebase), and changes in the processing of return values + for time and frequency responses (to make them more + consistent). In many cases, the earlier behavior can be + restored by calling use_legacy_defaults('0.8.4'). + New Features: + * Optimal control module, including rudimentary MPC + control (#549 by murrayrm) + * Describing functions plots (#521 by murrayrm) + * MIMO impulse and step response (#514 by murrayrm) + * I/O system improvements: + * linearize() retains signal names plus new interconnect() + function (#497 by murrayrm) + * Add summing junction + implicit signal interconnection (#517 + by murrayrm) + * Implementation of initial_phase, wrap_phase keywords for + bode_plot (#494 by murrayrm) + * Added IPython LaTeX representation method for StateSpace + objects (#450 by roryyorke) + * New dynamics() and output() methods in StateSpace (#566 by + sawyerbfuller) + * FRD systems can now be created from a discrete time LTI system + (#568 by bnavigator) + * Cost and constraints are now allowed for + flatsys.point_to_point() (#569 by murrayrm) + ------------------------------------------------------------------ Thu Jan 21 23:09:04 UTC 2021 - Benjamin Greiner diff --git a/python-control.spec b/python-control.spec index 27d4e78..d18b3c3 100644 --- a/python-control.spec +++ b/python-control.spec @@ -1,7 +1,7 @@ # # spec file for package python-control # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -# SciPy 1.6.0 dropped Python 3.6 +# SciPy 1.6.0 dropped Python 3.6 %define skip_python36 1 Name: python-control -Version: 0.8.4 +Version: 0.9.0 Release: 0 Summary: Python control systems library License: BSD-3-Clause -URL: http://python-control.sourceforge.net +URL: http://python-control.org Source: https://files.pythonhosted.org/packages/source/c/control/control-%{version}.tar.gz Source1: %{name}-rpmlintrc BuildRequires: %{python_module setuptools} @@ -53,10 +53,11 @@ The Python Control Systems Library is a Python module that implements basic operations for analysis and design of feedback control systems. %prep -%setup -q -n control-%{version} -%autopatch -p1 +%autosetup -p1 -n control-%{version} #remove shebang sed -i '1{\@^#!/usr/bin/env@ d}' control/tests/*.py +# don't install toplevel benchmarks package +sed -i "s/find_packages()/find_packages(exclude=['benchmarks'])/" setup.py %build %python_build