forked from pool/python-pytest-pyramid-server
Accepting request 1041843 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1041843 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-pyramid-server?expand=0&rev=2
This commit is contained in:
commit
6829b29060
13
python-pytest-pyramid-server-no-six.patch
Normal file
13
python-pytest-pyramid-server-no-six.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: pytest-pyramid-server-1.7.0/pytest_pyramid_server.py
|
||||
===================================================================
|
||||
--- pytest-pyramid-server-1.7.0.orig/pytest_pyramid_server.py
|
||||
+++ pytest-pyramid-server-1.7.0/pytest_pyramid_server.py
|
||||
@@ -4,7 +4,7 @@ Created on 25 Apr 2012
|
||||
@author: eeaston
|
||||
'''
|
||||
import os
|
||||
-from six.moves import configparser
|
||||
+import configparser
|
||||
import sys
|
||||
import socket
|
||||
import glob
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 12:05:36 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- do not require six
|
||||
- added patches
|
||||
fix https://github.com/man-group/pytest-plugins/issues/209
|
||||
+ python-pytest-pyramid-server-no-six.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 18 12:06:12 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-pyramid-server
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,6 +25,8 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/manahl/pytest-plugins
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-pyramid-server/pytest-pyramid-server-%{version}.tar.gz
|
||||
# https://github.com/man-group/pytest-plugins/issues/209
|
||||
Patch0: python-pytest-pyramid-server-no-six.patch
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@ -47,7 +49,7 @@ BuildRequires: %{python_module waitress}
|
||||
Pyramid server fixture for py.test.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-pyramid-server-%{version}
|
||||
%autosetup -p1 -n pytest-pyramid-server-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user