From 260abe2a8e551a16c090f54392f27a94b131a27356c52e8d1ed5127eb2c3efd4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 14 Aug 2017 10:37:34 +0000 Subject: [PATCH] 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 --- ...-and-decorator-from-install_requires.patch | 26 +++++++++++++++++++ python-pytest-httpbin.changes | 6 +++++ python-pytest-httpbin.spec | 5 ++-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 0001-Remove-Flask-and-decorator-from-install_requires.patch diff --git a/0001-Remove-Flask-and-decorator-from-install_requires.patch b/0001-Remove-Flask-and-decorator-from-install_requires.patch new file mode 100644 index 0000000..d2176e3 --- /dev/null +++ b/0001-Remove-Flask-and-decorator-from-install_requires.patch @@ -0,0 +1,26 @@ +From 55058b289ed1d3f17d907b2a13514d5ac5d3c586 Mon Sep 17 00:00:00 2001 +From: Thomas Bechtold +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 + diff --git a/python-pytest-httpbin.changes b/python-pytest-httpbin.changes index 9ea8752..abb5c85 100644 --- a/python-pytest-httpbin.changes +++ b/python-pytest-httpbin.changes @@ -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 diff --git a/python-pytest-httpbin.spec b/python-pytest-httpbin.spec index 5d21f30..d7aaee2 100644 --- a/python-pytest-httpbin.spec +++ b/python-pytest-httpbin.spec @@ -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