diff --git a/fire-0.3.1.tar.gz b/fire-0.3.1.tar.gz deleted file mode 100644 index a0d4a48..0000000 --- a/fire-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9736a16227c3d469e5d2d296bce5b4d8fa8d7851e953bda327a455fc2994307f -size 81162 diff --git a/fire-0.4.0.tar.gz b/fire-0.4.0.tar.gz new file mode 100644 index 0000000..00a9917 --- /dev/null +++ b/fire-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5e2b8763699d1142393a46d0e3e790c5eb2f0706082df8f647878842c216a62 +size 87684 diff --git a/python-fire.changes b/python-fire.changes index 21beaab..26a708d 100644 --- a/python-fire.changes +++ b/python-fire.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Mar 12 04:41:30 UTC 2021 - Steve Kowalik + +- Update to 0.4.0: + * Support for Python 3.8 and Python 3.9 + * Argument types and defaults appear in help text + * Support for asyncio coroutines + * Support for modules and Python files with python -m fire + * Keyword argument info from rst docstrings appears in help text + * Bug fix for missing parts of multiline argument descriptions from + Google and Numpy style docstrings. + * Support functions even when they override getattr in non-standard ways. +- Drop patch subpoint-usage-test.patch, which is no longer required. + ------------------------------------------------------------------- Thu Sep 17 11:09:09 UTC 2020 - Dirk Mueller diff --git a/python-fire.spec b/python-fire.spec index d06250e..3c9ec67 100644 --- a/python-fire.spec +++ b/python-fire.spec @@ -1,7 +1,7 @@ # # spec file for package python-fire # -# 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,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-fire -Version: 0.3.1 +Version: 0.4.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: subpoint-usage-test.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros diff --git a/subpoint-usage-test.patch b/subpoint-usage-test.patch deleted file mode 100644 index 4c09dbd..0000000 --- a/subpoint-usage-test.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- fire-0.2.1/fire/helptext_test.py~ 2019-10-15 12:58:44.707467291 +1100 -+++ fire-0.2.1/fire/helptext_test.py 2019-10-15 13:00:24.971635944 +1100 -@@ -20,6 +20,7 @@ - - import os - import textwrap -+import sys - - from fire import formatting - from fire import helptext -@@ -430,6 +431,8 @@ - t = trace.FireTrace(component, name='SubPoint') - usage_output = helptext.UsageText(component, trace=t, verbose=False) - expected_output = 'Usage: SubPoint --x=X --y=Y' -+ if sys.hexversion > 0x03080000: -+ expected_output = 'Usage: SubPoint | --x=X --y=Y' - self.assertIn(expected_output, usage_output) - - if __name__ == '__main__':