forked from pool/python-CherryPy
- Add patch to work with pytest5, from upstream:
* pytest5.patch - Update to 18.1.2: * Fixed :issue:`1377` via :pr:`1785`: Restore a native WSGI-less HTTP server support. * :pr:`1769`: Reduce log level for non-error events in win32.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CherryPy?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
fb5de9d29d
commit
a039ff30bc
@@ -19,13 +19,14 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-CherryPy
|
||||
Version: 18.1.1
|
||||
Version: 18.1.2
|
||||
Release: 0
|
||||
Summary: Object-Oriented HTTP framework
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://www.cherrypy.org
|
||||
Source: https://files.pythonhosted.org/packages/source/C/CherryPy/CherryPy-%{version}.tar.gz
|
||||
Patch0: pytest5.patch
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -69,6 +70,7 @@ Oh, and most importantly: CherryPy is fun to work with :-)
|
||||
|
||||
%prep
|
||||
%setup -q -n CherryPy-%{version}
|
||||
%patch0 -p1
|
||||
# do not require cov/xdist/etc
|
||||
sed -i -e '/addopts/d' pytest.ini
|
||||
|
||||
|
Reference in New Issue
Block a user