forked from pool/python-pytest-httpbin
Accepting request 515253 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/515253 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpbin?expand=0&rev=3
This commit is contained in:
26
0001-Remove-Flask-and-decorator-from-install_requires.patch
Normal file
26
0001-Remove-Flask-and-decorator-from-install_requires.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From 55058b289ed1d3f17d907b2a13514d5ac5d3c586 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Bechtold <tbechtold@suse.com>
|
||||
Date: Tue, 8 Aug 2017 21:55:44 +0200
|
||||
Subject: [PATCH] Remove Flask and decorator from install_requires
|
||||
|
||||
Both are not used.
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 11c649c..894b283 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -50,7 +50,7 @@ setup(
|
||||
keywords='pytest-httpbin testing pytest httpbin',
|
||||
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
|
||||
include_package_data = True, # include files listed in MANIFEST.in
|
||||
- install_requires = ['Flask','decorator','httpbin','six'],
|
||||
+ install_requires = ['httpbin','six'],
|
||||
|
||||
# the following makes a plugin available to pytest
|
||||
entry_points = {
|
||||
--
|
||||
2.13.3
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 8 19:57:56 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- add 0001-Remove-Flask-and-decorator-from-install_requires.patch
|
||||
- cleanup Requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 7 23:48:54 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
||||
@@ -25,10 +25,10 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/kevin1024/pytest-httpbin
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-%{version}.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM 0001-Remove-Flask-and-decorator-from-install_requires.patch -- https://github.com/kevin1024/pytest-httpbin/pull/40
|
||||
Patch1: 0001-Remove-Flask-and-decorator-from-install_requires.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Flask
|
||||
Requires: python-decorator
|
||||
Requires: python-httpbin
|
||||
Requires: python-pytest
|
||||
Requires: python-six
|
||||
@@ -48,6 +48,7 @@ fixture.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-httpbin-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user