From 2222afdbb38ab9108a31a5150324e1f517ffd126d880708d44e9735709d77e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 16 May 2020 09:22:21 +0000 Subject: [PATCH] Accepting request 805943 from home:bnavigator:branches:devel:languages:python Triggered because it fails in Staging:E - The fix for bsc#1130082 does not have an effect (anymore?). New version of flake8 raises more failures. Switch off flake8 tests by removing pytest-flake8 and the corresponding pytest argument. - pytest-cov not needed OBS-URL: https://build.opensuse.org/request/show/805943 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tinycss2?expand=0&rev=12 --- python-tinycss2.changes | 9 +++++++++ python-tinycss2.spec | 13 +++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/python-tinycss2.changes b/python-tinycss2.changes index b103c2d..c129889 100644 --- a/python-tinycss2.changes +++ b/python-tinycss2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat May 16 00:00:10 UTC 2020 - Benjamin Greiner + +- The fix for bsc#1130082 does not have an effect (anymore?). + New version of flake8 raises more failures. + Switch off flake8 tests by removing pytest-flake8 and the + corresponding pytest argument. +- pytest-cov not needed + ------------------------------------------------------------------- Fri Apr 26 07:27:51 UTC 2019 - pgajdos@suse.com diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 7251a65..e57a79b 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -1,7 +1,7 @@ # # spec file for package python-tinycss2 # -# 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 @@ -24,14 +24,12 @@ Release: 0 Summary: Low-level CSS parser for Python License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/Kozea/tinycss2 +URL: https://github.com/Kozea/tinycss2 Source: https://files.pythonhosted.org/packages/source/t/tinycss2/tinycss2-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-flake8} BuildRequires: %{python_module pytest-isort} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module webencodings >= 0.4} @@ -57,11 +55,14 @@ more recent CSS Syntax Level 3 specification. %check export LANG=en_US.UTF-8 -%python_expand py.test-%{$python_bin_suffix} -v -k 'not FLAKE8-check' +# remove pytest default args --flake8 and --isort +rm setup.cfg +%pytest --isort %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/tinycss2 +%{python_sitelib}/tinycss2-%{version}-*.egg-info %changelog