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