14
0
forked from pool/python-wrapt

Accepting request 853000 from home:bnavigator:branches:devel:languages:python

- Fix python3.6 build with pytest 6
  * fix-dummy-collector-pytest6.patch
  * gh#GrahamDumpleton/wrapt#168

OBS-URL: https://build.opensuse.org/request/show/853000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=23
This commit is contained in:
2020-12-04 10:49:15 +00:00
committed by Git OBS Bridge
parent 6ab6e1f8b1
commit 39009f250a
3 changed files with 59 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/GrahamDumpleton/wrapt
Source: https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#GrahamDumpleton/wrapt#168 -- fix pytest 6 dummy collection
Patch0: https://github.com/GrahamDumpleton/wrapt/pull/168.patch#/fix-dummy-collector-pytest6.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -59,6 +61,7 @@ For further information on the **wrapt** module see:
%prep
%setup -q -n wrapt-%{version}
%patch0 -p1
%build
export CFLAGS="%{optflags}"