From 754948c92d2d465304b6fb9aee98893dbe30784a2f875bfffa2a4864cf28714c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 7 Dec 2021 21:01:08 +0000 Subject: [PATCH] Accepting request 936352 from home:pgajdos:python - do not require pytest-runner for build, it is not needed OBS-URL: https://build.opensuse.org/request/show/936352 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rebulk?expand=0&rev=31 --- python-rebulk.changes | 5 +++++ python-rebulk.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-rebulk.changes b/python-rebulk.changes index 8653d06..13afc23 100644 --- a/python-rebulk.changes +++ b/python-rebulk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 7 19:42:56 UTC 2021 - pgajdos@suse.com + +- do not require pytest-runner for build, it is not needed + ------------------------------------------------------------------- Fri Nov 5 05:38:42 UTC 2021 - Luigi Baldoni diff --git a/python-rebulk.spec b/python-rebulk.spec index a4956a6..290f4db 100644 --- a/python-rebulk.spec +++ b/python-rebulk.spec @@ -24,7 +24,6 @@ Summary: Library for defining bulk search patterns to perform advanced st License: MIT URL: https://github.com/Toilal/rebulk Source0: https://files.pythonhosted.org/packages/source/r/rebulk/rebulk-%{version}.tar.gz -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -43,6 +42,8 @@ allow building a custom and complex string matcher. %prep %autosetup -n rebulk-%{version} +# https://github.com/Toilal/rebulk/issues/26 +sed -i 's:.pytest-runner.::' setup.py # Remove shebang from non-executable files for i in {'builder','chain','debug','formatters','__init__','introspector','loose','match','pattern','processors','rebulk','remodule','rules','toposort','utils','validators','__version__'}; do