From b314e042e9b2eb55ca9931799f84a1654afc94ba6f8d63329149c7f30568c1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 27 Apr 2020 07:16:08 +0000 Subject: [PATCH] - Disable test_invalid checks, quotes change in output OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-aliases?expand=0&rev=5 --- python-click-aliases.changes | 5 +++++ python-click-aliases.spec | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/python-click-aliases.changes b/python-click-aliases.changes index a3be535..62a1fca 100644 --- a/python-click-aliases.changes +++ b/python-click-aliases.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 27 07:15:45 UTC 2020 - Tomáš Chvátal + +- Disable test_invalid checks, quotes change in output + ------------------------------------------------------------------- Thu Sep 19 03:41:04 UTC 2019 - John Vandenberg diff --git a/python-click-aliases.spec b/python-click-aliases.spec index f0ef580..64e2830 100644 --- a/python-click-aliases.spec +++ b/python-click-aliases.spec @@ -1,7 +1,7 @@ # # spec file for package python-click-aliases # -# 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 @@ -12,30 +12,29 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-click-aliases Version: 1.0.1 Release: 0 -License: MIT Summary: Command aliases for Click -Url: https://github.com/click-contrib/click-aliases -Group: Development/Languages/Python +License: MIT +URL: https://github.com/click-contrib/click-aliases Source: https://files.pythonhosted.org/packages/source/c/click-aliases/click-aliases-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-click +BuildArch: noarch # SECTION test requirements # See https://github.com/click-contrib/click-aliases/issues/5 # for problems with click 6.7 currently on Leap. BuildRequires: %{python_module click >= 7.0} BuildRequires: %{python_module pytest} # /SECTION -BuildRequires: fdupes -Requires: python-click -BuildArch: noarch - %python_subpackages %description @@ -53,7 +52,8 @@ Command aliases for Click. %check export LANG=en_US.UTF-8 -%pytest +# test_invalid fails with new click as the quotes in output changed from single to regular ones +%pytest -k 'not test_invalid' %files %{python_files} %doc README.md