15
0
forked from pool/python-fire

- Update to 0.3.0:

* Use Fire on third-party code without making any code changes:
    python -m fire <module>
  * Docstring parsing fix for all lines are blank f01aad3
  * Improved parsing of numpy-style docstrings
  * #187 Expose built-in functions from the standard library (e.g. sin, cos)
  * #149 Support objects implementing __getattr__
  * #205 Fix ctrl-C handling in help screens
  * Support functools.wraps and lru_cache decorated functions
  * Better support for objects with properties
  * Objects with custom __str__ are now treated as Values. E.g. If such an
    object appears in a dict, the dict will still print in line-by-line mode
    rather than showing a help screen by default.
  * Formatting on Windows works properly now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=15
This commit is contained in:
2020-04-02 01:41:55 +00:00
committed by Git OBS Bridge
parent 741dbeaa39
commit e8a81d3cff
4 changed files with 23 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fire
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-fire
Version: 0.2.1
Version: 0.3.0
Release: 0
Summary: A library for automatically generating command line interfaces
License: Apache-2.0