Hello community,

here is the log from the commit of package python-fire for openSUSE:Factory 
checked in at 2019-07-30 12:39:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fire (Old)
 and      /work/SRC/openSUSE:Factory/.python-fire.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fire"

Tue Jul 30 12:39:33 2019 rev:5 rq:719775 version:0.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fire/python-fire.changes  2019-03-11 
11:15:17.365341995 +0100
+++ /work/SRC/openSUSE:Factory/.python-fire.new.4126/python-fire.changes        
2019-07-30 12:39:38.130931283 +0200
@@ -1,0 +2,23 @@
+Tue Jul 30 07:07:56 UTC 2019 - pgaj...@suse.com
+
+- version update to 0.2.0
+  * Help and usage screens
+  * Help screens now have a man-page appearance and are shown with less-style 
pagination. Usage screens are shown when a user-error is encountered. The help 
and usage screens are considerably cleaner than the default output in previous 
versions of Fire.
+  * Custom serialization
+  * If you define a custom __str__ method on an object, that will be used to 
serialize the object when it is the final result of a Fire command. This means 
better support for numpy arrays, and better support for custom types.
+  * Docstring parsing
+  * Notably, docstrings are parsed in order to determine the descriptions to 
use for arguments in the help screens. We largely support (but not fully) 
Google, numpy, and RST style docstrings. These are the three most common styles 
of docstring used in Python code.
+  * Access --help naturally
+  * You no longer need to separate --help from your command with an extra --. 
Simply running command -h or command --help will give help, provided there 
isn't an argument named help in your component.
+  * NamedTuples can be indexed both by their field names and by their indexes.
+  * Callable objects can both be called, and their members can be accessed.
+  * You must use flag syntax to call a callable object; you cannot pass their 
arguments positionally.
+  * Single-hyphen flags are supported
+  * You can now specify -flag instead of --flag if preferred. Both work.
+  * Short-flags are permitted when their use is unambiguous
+  * E.g. if your function has argument alpha, then you can specify its value 
with -a.
+  * Fish completion support
+- deleted patches
+  - fix-issue-164.patch (upstreamed)
+
+-------------------------------------------------------------------

Old:
----
  fire-0.1.3.tar.gz
  fix-issue-164.patch

New:
----
  fire-0.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-fire.spec ++++++
--- /var/tmp/diff_new_pack.Dz1uZ1/_old  2019-07-30 12:39:39.266931094 +0200
+++ /var/tmp/diff_new_pack.Dz1uZ1/_new  2019-07-30 12:39:39.266931094 +0200
@@ -18,18 +18,18 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fire
-Version:        0.1.3
+Version:        0.2.0
 Release:        0
 Summary:        A library for automatically generating command line interfaces
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/google/python-fire
 Source:         
https://files.pythonhosted.org/packages/source/f/fire/fire-%{version}.tar.gz
-Patch0:         fix-issue-164.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-six
+Requires:       python-termcolor
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Levenshtein}
@@ -37,6 +37,7 @@
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module termcolor}
 # /SECTION
 %python_subpackages
 
@@ -46,7 +47,6 @@
 
 %prep
 %setup -q -n fire-%{version}
-%autopatch -p1
 
 %build
 %python_build
@@ -56,7 +56,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand pytest-%{$python_bin_suffix} -v fire
+%pytest
 
 %files %{python_files}
 %license LICENSE

++++++ fire-0.1.3.tar.gz -> fire-0.2.0.tar.gz ++++++
++++ 8142 lines of diff (skipped)


Reply via email to