diff --git a/fire-0.1.3.tar.gz b/fire-0.1.3.tar.gz deleted file mode 100644 index ae0b1a5..0000000 --- a/fire-0.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c299d16064ff81cbb649b65988300d4a28b71ecfb789d1fb74d99ea98ae4d2eb -size 33274 diff --git a/fire-0.2.0.tar.gz b/fire-0.2.0.tar.gz new file mode 100644 index 0000000..f079599 --- /dev/null +++ b/fire-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdae28ea728d6cad487c900d534426d2cd09ddd2993287a885ff7c8accb097c8 +size 76135 diff --git a/fix-issue-164.patch b/fix-issue-164.patch deleted file mode 100644 index e176d7d..0000000 --- a/fix-issue-164.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 2cc070bb50577ec45fae640b56e02c69feb6f82c Mon Sep 17 00:00:00 2001 -From: Andrew Au -Date: Fri, 22 Feb 2019 16:23:03 -0800 -Subject: [PATCH] Fix issue 164 - ---- - fire/helputils_test.py | 1 - - fire/inspectutils.py | 10 ++++++---- - fire/inspectutils_test.py | 2 -- - 3 files changed, 6 insertions(+), 7 deletions(-) - -diff --git a/fire/helputils_test.py b/fire/helputils_test.py -index 0557122..c3d5055 100644 ---- a/fire/helputils_test.py -+++ b/fire/helputils_test.py -@@ -88,7 +88,6 @@ def testHelpStringBuiltin(self): - helpstring = helputils.HelpString('test'.upper) - self.assertIn('Type: builtin_function_or_method', helpstring) - self.assertIn('String form: diff --git a/python-fire.spec b/python-fire.spec index b8afac3..a539e5a 100644 --- a/python-fire.spec +++ b/python-fire.spec @@ -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 hypothesis} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} +BuildRequires: %{python_module termcolor} # /SECTION %python_subpackages @@ -46,7 +47,6 @@ interfaces (CLIs) from a Python object. %prep %setup -q -n fire-%{version} -%autopatch -p1 %build %python_build @@ -56,7 +56,7 @@ interfaces (CLIs) from a Python object. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand pytest-%{$python_bin_suffix} -v fire +%pytest %files %{python_files} %license LICENSE