15
0
forked from pool/python-fire

Accepting request 790723 from devel:languages:python

- 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/request/show/790723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fire?expand=0&rev=8
This commit is contained in:
2020-04-02 15:43:38 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6865fefc6981a713d2ce56a2a2c92c56c729269f74a6cddd6f4b94d16ae084c9
size 76512

3
fire-0.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96c372096afcf33ddbadac8a7ca5b7e829e8d7157d0030bd964bf959afde5c2c
size 81223

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Apr 2 01:40:27 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- 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
-------------------------------------------------------------------
Tue Oct 15 03:36:44 UTC 2019 - Steve Kowalik <steven.kowalik@suse.com>

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