forked from pool/python-cheroot
Accepting request 728456 from home:michel_mno:branches:devel:languages:python
- Add cheroot_fix_so_peercred_ppc.patch to solve python 2.7 tests failures for PowerPC, boo#1147151 OBS-URL: https://build.opensuse.org/request/show/728456 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cheroot?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
74b2bea910
commit
d958627118
@@ -26,6 +26,7 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/cherrypy/%{pypi_name}
|
||||
Source: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
Patch1: cheroot_fix_so_peercred_ppc.patch
|
||||
BuildRequires: %{python_module more-itertools >= 2.6}
|
||||
BuildRequires: %{python_module pyOpenSSL}
|
||||
BuildRequires: %{python_module pytest >= 2.8}
|
||||
@@ -56,7 +57,7 @@ Requires: python-backports.functools_lru_cache
|
||||
Cheroot is the pure-Python HTTP server used by CherryPy.
|
||||
|
||||
%prep
|
||||
%autosetup -n cheroot-%{version}
|
||||
%autosetup -n cheroot-%{version} -p1
|
||||
# do not require cov/xdist/etc
|
||||
sed -i -e '/addopts/d' pytest.ini
|
||||
for file in "%{pypi_name}.egg-info/requires.txt" "setup.cfg"; do
|
||||
|
||||
Reference in New Issue
Block a user