14
0
forked from pool/python-knack

Accepting request 790954 from home:glaubitz:branches:devel:languages:python

- Update to 0.7.0rc1
  * Allow disabling color (#171)
  * Support yaml and yamlc output (#173)
  * Drop support for python 2 and 3.5 (#174)
  * Support --only-show-errors to disable warnings (#179)
  * Add experimental tag (#180)
- Add patch to skip two tests that currently fail on openSUSE
  * k_skip-broken-tests.patch

OBS-URL: https://build.opensuse.org/request/show/790954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=20
This commit is contained in:
2020-04-02 21:04:12 +00:00
committed by Git OBS Bridge
parent ce45fd914a
commit 0f67e1d19a
5 changed files with 41 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-knack
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-knack
Version: 0.6.3
Version: 0.7.0rc1
Release: 0
Summary: A Command-Line Interface framework
License: MIT
Group: Development/Languages/Python
URL: https://github.com/microsoft/knack
Source: https://github.com/Microsoft/knack/archive/v%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/k/knack/knack-%{version}.tar.gz
Patch: k_skip-broken-tests.patch
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module argcomplete}
BuildRequires: %{python_module colorama}
@@ -57,6 +58,7 @@ A Command-Line Interface framework
%prep
%setup -q -n knack-%{version}
%patch0 -p1
%build
%python_build