From 3c6dd7197c9fafe63304dc944fd7e769a1b8c0cb4366ac55a42870e45d24a997 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 19 Aug 2022 06:43:34 +0000 Subject: [PATCH] Accepting request 998035 from home:bnavigator:branches:devel:languages:python - Remove linter and code coverage check from packaging tests OBS-URL: https://build.opensuse.org/request/show/998035 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tinycss2?expand=0&rev=18 --- python-tinycss2.changes | 5 +++++ python-tinycss2.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-tinycss2.changes b/python-tinycss2.changes index 019b26d..0a6c601 100644 --- a/python-tinycss2.changes +++ b/python-tinycss2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 18 20:37:30 UTC 2022 - Ben Greiner + +- Remove linter and code coverage check from packaging tests + ------------------------------------------------------------------- Fri Dec 17 14:03:36 UTC 2021 - pgajdos@suse.com diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 10773a3..f345932 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -1,7 +1,7 @@ # # spec file for package python-tinycss2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,9 +32,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-flake8} -BuildRequires: %{python_module pytest-isort} BuildRequires: %{python_module webencodings >= 0.4} # /SECTION Requires: python-webencodings >= 0.4 @@ -48,6 +45,7 @@ more recent CSS Syntax Level 3 specification. %prep %setup -q -n tinycss2-%{version} +sed -i 's/--isort//;s/--flake8//;s/--cov --no-cov-on-fail//' pyproject.toml %build %pyproject_wheel @@ -63,6 +61,7 @@ export LANG=en_US.UTF-8 %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/tinycss* +%{python_sitelib}/tinycss2 +%{python_sitelib}/tinycss2-%{version}*-info %changelog