From 617666fc63732cfe86c1fc454826dc109caa7aa30b5a258d146aa9a7415dac4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 19 Jul 2019 10:18:28 +0000 Subject: [PATCH] - Fix building with new pytest releases OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygaljs?expand=0&rev=5 --- python-pygaljs.changes | 5 +++++ python-pygaljs.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pygaljs.changes b/python-pygaljs.changes index 3aa9b37..e0cbb76 100644 --- a/python-pygaljs.changes +++ b/python-pygaljs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 19 10:11:12 UTC 2019 - Tomáš Chvátal + +- Fix building with new pytest releases + ------------------------------------------------------------------- Tue Mar 26 15:51:36 UTC 2019 - Tomáš Chvátal diff --git a/python-pygaljs.spec b/python-pygaljs.spec index eb78b8b..bf747f3 100644 --- a/python-pygaljs.spec +++ b/python-pygaljs.spec @@ -25,7 +25,6 @@ License: GPL-3.0-or-later Group: Development/Languages/Python URL: https://github.com/ionelmc/python-pygaljs Source: https://files.pythonhosted.org/packages/source/p/pygaljs/pygaljs-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -38,6 +37,7 @@ Python package providing assets from https://github.com/Kozea/pygal.js %prep %setup -q -n pygaljs-%{version} +sed -i -e 's/\[pytest\]/\[tools:pytest\]/g' setup.cfg %build %python_build