From 257931ff6742392f98c7a275b48c7bf97aa6be1b3678ce39ba85700bf1d34dca Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 6 Nov 2019 14:27:57 +0000 Subject: [PATCH] Fix SPEC OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=12 --- pytest4.patch | 15 ++++++++++----- python-pygal.spec | 1 + 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/pytest4.patch b/pytest4.patch index cd804cf..9145600 100644 --- a/pytest4.patch +++ b/pytest4.patch @@ -1,11 +1,16 @@ --- a/setup.cfg +++ b/setup.cfg -@@ -1,7 +1,7 @@ +@@ -1,13 +1,6 @@ [wheel] universal = 1 -[pytest] -+[tools:pytest] - flake8-ignore = - *.py E731 E402 - pygal/__init__.py F401 +-flake8-ignore = +- *.py E731 E402 +- pygal/__init__.py F401 +- pygal/_compat.py F821 F401 +- docs/conf.py ALL +- + [egg_info] + tag_build = + tag_date = 0 diff --git a/python-pygal.spec b/python-pygal.spec index 404bd53..9165b8a 100644 --- a/python-pygal.spec +++ b/python-pygal.spec @@ -57,6 +57,7 @@ It supports various chart types and CSS styling. %prep %setup -q -n pygal-%{version} %autopatch -p1 + cp %{SOURCE10} . %build