From 0e175ef7ecf098224bfe6aa2ca41c12fdc33f6731b50747cf5927d7c5622c691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 26 Mar 2020 07:34:33 +0000 Subject: [PATCH] - Fix the test requirements to pull in only what's really needed - The cheroot is hard requirement by upstream specification so require it OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-web.py?expand=0&rev=18 --- python-web.py.changes | 6 ++++++ python-web.py.spec | 15 ++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/python-web.py.changes b/python-web.py.changes index 4d6c2d9..d203cf4 100644 --- a/python-web.py.changes +++ b/python-web.py.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 26 07:10:49 UTC 2020 - Tomáš Chvátal + +- Fix the test requirements to pull in only what's really needed +- The cheroot is hard requirement by upstream specification so require it + ------------------------------------------------------------------- Wed Mar 25 18:16:04 UTC 2020 - Michael Ströder diff --git a/python-web.py.spec b/python-web.py.spec index e24b53c..11aa794 100644 --- a/python-web.py.spec +++ b/python-web.py.spec @@ -22,20 +22,17 @@ Version: 0.51 Release: 0 Summary: web.py: makes web apps License: SUSE-Public-Domain AND BSD-3-Clause -Group: Development/Languages/Python URL: https://webpy.org/ Source: https://files.pythonhosted.org/packages/source/w/web.py/web.py-%{version}.tar.gz -# SECTION test requirements -BuildRequires: %{python_module PyMySQL} -BuildRequires: %{python_module cheroot} -BuildRequires: %{python_module mysql-connector-python} -BuildRequires: %{python_module pytest} -# /SECTION BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel -Recommends: python-cheroot +Requires: python-cheroot BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module cheroot} +BuildRequires: %{python_module pytest} +BuildRequires: %{pythons} +# /SECTION %python_subpackages %description