Hello community, here is the log from the commit of package python-knack for openSUSE:Factory checked in at 2019-03-28 22:50:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-knack (Old) and /work/SRC/openSUSE:Factory/.python-knack.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-knack" Thu Mar 28 22:50:14 2019 rev:5 rq:689399 version:0.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-knack/python-knack.changes 2018-12-24 11:39:04.665575320 +0100 +++ /work/SRC/openSUSE:Factory/.python-knack.new.25356/python-knack.changes 2019-03-28 22:50:17.931035821 +0100 @@ -1,0 +2,17 @@ +Thu Mar 28 15:07:06 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 0.5.3: + * Removes an incorrect check when adding arguments. + * Updates usages of yaml.load to use yaml.safe_load. + * Fix issue with some scenarios (no args and --version) + * Adds support for positional arguments with the .positional helper method on ArgumentsContext. + * Removes the necessity for the type field in help.py. This information can be inferred from the class, so specifying it causes unnecessary crashes. + * Adds support for examining the result of a command after a call to invoke. The raw object, error (if any) an exit code are accessible. + * Fixes an issue with the default config directory. It use to be .cli and is now based on the CLI name. + * Adds ability to specify line width for help text display. + * Preserves logging verbosity and output format on the namespace for use by validators. + * Adds ability to set config file name. + * Fixes bug with argument deprecations. +- Switch to github archive to run tests + +------------------------------------------------------------------- Old: ---- LICENSE knack-0.4.3.tar.gz New: ---- v0.5.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-knack.spec ++++++ --- /var/tmp/diff_new_pack.nAh6Dz/_old 2019-03-28 22:50:19.307035516 +0100 +++ /var/tmp/diff_new_pack.nAh6Dz/_new 2019-03-28 22:50:19.331035511 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-knack # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-knack -Version: 0.4.3 +Version: 0.5.3 Release: 0 Summary: A Command-Line Interface framework License: MIT Group: Development/Languages/Python -Url: https://pypi.python.org/pypi/knack -Source: https://files.pythonhosted.org/packages/source/k/knack/knack-%{version}.tar.gz -Source1: LICENSE +URL: https://github.com/microsoft/knack +Source: https://github.com/Microsoft/knack/archive/v%{version}.tar.gz +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module argcomplete} +BuildRequires: %{python_module colorama} +BuildRequires: %{python_module jmespath} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pygments} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: %{python_module tabulate} +BuildRequires: %{python_module vcrpy} BuildRequires: fdupes +BuildRequires: python-enum34 BuildRequires: python-rpm-macros Requires: python-PyYAML Requires: python-argcomplete @@ -36,9 +46,10 @@ Requires: python-pygments Requires: python-six Requires: python-tabulate -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - +%ifpython2 +Requires: python-enum34 +%endif %python_subpackages %description @@ -46,7 +57,6 @@ %prep %setup -q -n knack-%{version} -cp %{SOURCE1} LICENSE %build %python_build @@ -55,8 +65,10 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE %{python_sitelib}/*