diff --git a/clikit-0.4.1.tar.gz b/clikit-0.4.1.tar.gz deleted file mode 100644 index bab9c94..0000000 --- a/clikit-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e63e5f1501dbfb69edcf945de8e8eb99375d17a31dfc9651dcfa160c4927595f -size 66188 diff --git a/clikit-0.4.2.tar.gz b/clikit-0.4.2.tar.gz new file mode 100644 index 0000000..45fc7fd --- /dev/null +++ b/clikit-0.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf0f337f3a4477ac684cbbee83a74afa35945fefbcdfe898f58aa1f5646c5c23 +size 66556 diff --git a/python-clikit.changes b/python-clikit.changes index cee6cc6..c9a3be6 100644 --- a/python-clikit.changes +++ b/python-clikit.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 15 10:12:32 UTC 2020 - Tomáš Chvátal + +- Update to 0.4.2: + * Fixed the terminal width being set to 0 in some circumstances (#15). + * Fixed the comptibility with the latest version of pastel (#10). + ------------------------------------------------------------------- Tue Jan 14 10:18:04 UTC 2020 - Tomáš Chvátal diff --git a/python-clikit.spec b/python-clikit.spec index ecef9ca..c600915 100644 --- a/python-clikit.spec +++ b/python-clikit.spec @@ -17,28 +17,32 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-clikit -Version: 0.4.1 +Version: 0.4.2 Release: 0 Summary: Helper to build testable command line interfaces License: MIT URL: https://github.com/sdispater/clikit Source: https://github.com/sdispater/clikit/archive/%{version}.tar.gz#/clikit-%{version}.tar.gz -BuildRequires: %{python_module pastel} -BuildRequires: %{python_module pylev} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pastel >= 0.2.0} +BuildRequires: %{python_module pylev >= 1.3} +BuildRequires: %{python_module pytest >= 4.0} +BuildRequires: %{python_module pytest-mock >= 2.0.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module typing} +BuildRequires: %{python_module typing >= 3.6} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-enum34 BuildRequires: python3-dephell -Requires: python-pastel -Requires: python-pylev -Requires: python-typing +Requires: python-pastel >= 0.2.0 +Requires: python-pylev >= 1.3 +Requires: python-typing >= 3.6 BuildArch: noarch +%if %{with python2} +BuildRequires: python-enum34 >= 1.1 +%endif %ifpython2 -Requires: python2-enum34 +Requires: python-enum34 >= 1.1 %endif %python_subpackages