commit python-pytest-httpbin for openSUSE:Factory

2019-02-26 Thread root
Hello community,

here is the log from the commit of package python-pytest-httpbin for 
openSUSE:Factory checked in at 2019-02-26 22:14:38

Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new.28833 (New)


Package is "python-pytest-httpbin"

Tue Feb 26 22:14:38 2019 rev:7 rq:676961 version:1.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes  
2018-05-07 14:53:00.251302260 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new.28833/python-pytest-httpbin.changes
   2019-02-26 22:14:41.230226278 +0100
@@ -1,0 +2,14 @@
+Fri Feb 15 14:24:20 UTC 2019 - Jan Engelhardt 
+
+- Use noun phrase in summary.
+
+---
+Thu Feb 14 13:41:28 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.0.0:
+  * Update included self-signed cert to include IP address in SAN (See #52).
+  * Only use @pytest.fixture decorator once (thanks @hroncok)
+  * Fix a few README typos (thanks @hemberger)
+- Use github tarball to get tests
+
+---

Old:

  pytest-httpbin-0.3.0.tar.gz

New:

  v1.0.0.tar.gz



Other differences:
--
++ python-pytest-httpbin.spec ++
--- /var/tmp/diff_new_pack.giz4Pj/_old  2019-02-26 22:14:41.754226094 +0100
+++ /var/tmp/diff_new_pack.giz4Pj/_new  2019-02-26 22:14:41.758226093 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-httpbin
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,30 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-httpbin
-Version:0.3.0
+Version:1.0.0
 Release:0
-Summary:Test your HTTP library against a local copy of httpbin
+Summary:Web service for testing HTTP libraries
 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
+URL:https://github.com/kevin1024/pytest-httpbin
+Source: 
https://github.com/kevin1024/pytest-httpbin/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module httpbin}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-httpbin
 Requires:   python-pytest
 Requires:   python-six
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -48,14 +51,17 @@
 %setup -q -n pytest-httpbin-%{version}
 
 %build
-
 %python_build
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v
 
 %files %{python_files}
-%defattr(-,root,root,-)
+%doc README.md DESCRIPTION.rst
 %{python_sitelib}/*
 
 %changelog




commit python-pytest-httpbin for openSUSE:Factory

2018-05-07 Thread root
Hello community,

here is the log from the commit of package python-pytest-httpbin for 
openSUSE:Factory checked in at 2018-05-07 14:52:58

Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new (New)


Package is "python-pytest-httpbin"

Mon May  7 14:52:58 2018 rev:6 rq:603207 version:0.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes  
2018-04-22 14:36:06.148647596 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new/python-pytest-httpbin.changes
 2018-05-07 14:53:00.251302260 +0200
@@ -1,0 +2,5 @@
+Wed May  2 17:43:14 UTC 2018 - tchva...@suse.com
+
+- Revert last commit
+
+---



Other differences:
--
++ python-pytest-httpbin.spec ++
--- /var/tmp/diff_new_pack.sB1XtY/_old  2018-05-07 14:53:01.011278542 +0200
+++ /var/tmp/diff_new_pack.sB1XtY/_new  2018-05-07 14:53:01.019278292 +0200
@@ -25,14 +25,12 @@
 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
-BuildRequires:  %{python_module httpbin}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  python-rpm-macros
 Requires:   python-httpbin
 Requires:   python-pytest
 Requires:   python-six
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
 %python_subpackages
@@ -58,8 +56,6 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc DESCRIPTION.rst
-%{python_sitelib}/pytest_httpbin-%{version}-py*.egg-info
-%{python_sitelib}/pytest_httpbin/
+%{python_sitelib}/*
 
 %changelog




commit python-pytest-httpbin for openSUSE:Factory

2018-04-22 Thread root
Hello community,

here is the log from the commit of package python-pytest-httpbin for 
openSUSE:Factory checked in at 2018-04-22 14:36:00

Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new (New)


Package is "python-pytest-httpbin"

Sun Apr 22 14:36:00 2018 rev:5 rq:598781 version:0.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes  
2017-11-17 10:36:44.979790842 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new/python-pytest-httpbin.changes
 2018-04-22 14:36:06.148647596 +0200
@@ -1,0 +2,5 @@
+Thu Apr 19 17:12:15 UTC 2018 - toddrme2...@gmail.com
+
+- Fix dependencies.
+
+---



Other differences:
--
++ python-pytest-httpbin.spec ++
--- /var/tmp/diff_new_pack.aw8pwU/_old  2018-04-22 14:36:06.804623856 +0200
+++ /var/tmp/diff_new_pack.aw8pwU/_new  2018-04-22 14:36:06.808623712 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-httpbin
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,12 +25,14 @@
 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
+BuildRequires:  %{python_module httpbin}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
 BuildRequires:  python-rpm-macros
 Requires:   python-httpbin
 Requires:   python-pytest
 Requires:   python-six
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
 %python_subpackages
@@ -56,6 +58,8 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%{python_sitelib}/*
+%doc DESCRIPTION.rst
+%{python_sitelib}/pytest_httpbin-%{version}-py*.egg-info
+%{python_sitelib}/pytest_httpbin/
 
 %changelog




commit python-pytest-httpbin for openSUSE:Factory

2017-11-17 Thread root
Hello community,

here is the log from the commit of package python-pytest-httpbin for 
openSUSE:Factory checked in at 2017-11-17 10:36:42

Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new (New)


Package is "python-pytest-httpbin"

Fri Nov 17 10:36:42 2017 rev:4 rq:541759 version:0.3.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes  
2017-08-14 12:37:34.18064 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new/python-pytest-httpbin.changes
 2017-11-17 10:36:44.979790842 +0100
@@ -1,0 +2,12 @@
+Mon Nov 13 18:23:24 UTC 2017 - a...@gmx.de
+
+- removed 0001-Remove-Flask-and-decorator-from-install_requires.patch
+  (included upstream)
+
+- update to version 0.3.0:
+  * Allow to run httpbin on fixed port using environment variables
+(thanks @hroncok)
+  * Allow server to be thread.join()ed (thanks @graingert)
+  * Add support for Python 3.6 (thanks @graingert)
+
+---

Old:

  0001-Remove-Flask-and-decorator-from-install_requires.patch
  pytest-httpbin-0.2.3.tar.gz

New:

  pytest-httpbin-0.3.0.tar.gz



Other differences:
--
++ python-pytest-httpbin.spec ++
--- /var/tmp/diff_new_pack.WMuDKZ/_old  2017-11-17 10:36:46.735726572 +0100
+++ /var/tmp/diff_new_pack.WMuDKZ/_new  2017-11-17 10:36:46.735726572 +0100
@@ -18,15 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-httpbin
-Version:0.2.3
+Version:0.3.0
 Release:0
 Summary:Test your HTTP library against a local copy of httpbin
 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-httpbin
@@ -48,7 +46,6 @@
 
 %prep
 %setup -q -n pytest-httpbin-%{version}
-%patch1 -p1
 
 %build
 

++ pytest-httpbin-0.2.3.tar.gz -> pytest-httpbin-0.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-httpbin-0.2.3/PKG-INFO 
new/pytest-httpbin-0.3.0/PKG-INFO
--- old/pytest-httpbin-0.2.3/PKG-INFO   2016-03-02 08:39:02.0 +0100
+++ new/pytest-httpbin-0.3.0/PKG-INFO   2017-10-28 23:38:07.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pytest-httpbin
-Version: 0.2.3
+Version: 0.3.0
 Summary: Easily test your HTTP library against a local copy of httpbin
 Home-page: https://github.com/kevin1024/pytest-httpbin
 Author: Kevin McCarthy
@@ -49,3 +49,5 @@
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-httpbin-0.2.3/pytest_httpbin/serve.py 
new/pytest-httpbin-0.3.0/pytest_httpbin/serve.py
--- old/pytest-httpbin-0.2.3/pytest_httpbin/serve.py2016-03-02 
08:36:18.0 +0100
+++ new/pytest-httpbin-0.3.0/pytest_httpbin/serve.py2017-10-28 
23:17:30.0 +0200
@@ -77,13 +77,17 @@
 # Thanks, WSGIRequestHandler!!
 
 
-class Server(threading.Thread):
+class Server(object):
 """
 HTTP server running a WSGI application in its own thread.
 """
 
+port_envvar = 'HTTPBIN_HTTP_PORT'
+
 def __init__(self, host='127.0.0.1', port=0, application=None, **kwargs):
 self.app = application
+if self.port_envvar in os.environ:
+port = int(os.environ[self.port_envvar])
 self._server = make_server(
 host,
 port,
@@ -95,13 +99,17 @@
 self.port = self._server.server_address[1]
 self.protocol = 'http'
 
-super(Server, self).__init__(
+self._thread = threading.Thread(
 name=self.__class__,
 target=self._server.serve_forever,
 )
 
 def __del__(self):
-self.stop()
+if hasattr(self, '_server'):
+self.stop()
+
+def start(self):
+self._thread.start()
 
 def __add__(self, other):
 return self.url + other
@@ -118,6 +126,8 @@
 
 
 class SecureServer(Server):
+ 

commit python-pytest-httpbin for openSUSE:Factory

2017-08-14 Thread root
Hello community,

here is the log from the commit of package python-pytest-httpbin for 
openSUSE:Factory checked in at 2017-08-14 12:37:34

Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new (New)


Package is "python-pytest-httpbin"

Mon Aug 14 12:37:34 2017 rev:3 rq:515253 version:0.2.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes  
2017-05-20 10:10:35.669899040 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new/python-pytest-httpbin.changes
 2017-08-14 12:37:34.18064 +0200
@@ -1,0 +2,6 @@
+Tue Aug  8 19:57:56 UTC 2017 - tbecht...@suse.com
+
+- add 0001-Remove-Flask-and-decorator-from-install_requires.patch
+- cleanup Requires
+
+---

New:

  0001-Remove-Flask-and-decorator-from-install_requires.patch



Other differences:
--
++ python-pytest-httpbin.spec ++
--- /var/tmp/diff_new_pack.uSiRW9/_old  2017-08-14 12:37:34.704573095 +0200
+++ /var/tmp/diff_new_pack.uSiRW9/_new  2017-08-14 12:37:34.704573095 +0200
@@ -25,10 +25,10 @@
 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 @@
 
 %prep
 %setup -q -n pytest-httpbin-%{version}
+%patch1 -p1
 
 %build
 

++ 0001-Remove-Flask-and-decorator-from-install_requires.patch ++
>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




commit python-pytest-httpbin for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package python-pytest-httpbin for 
openSUSE:Factory checked in at 2017-05-20 10:10:30

Comparing /work/SRC/openSUSE:Factory/python-pytest-httpbin (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-httpbin.new (New)


Package is "python-pytest-httpbin"

Sat May 20 10:10:30 2017 rev:2 rq:495347 version:0.2.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-httpbin/python-pytest-httpbin.changes  
2017-05-16 14:28:43.057693649 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-httpbin.new/python-pytest-httpbin.changes
 2017-05-20 10:10:35.669899040 +0200
@@ -1,0 +2,5 @@
+Sun May  7 23:48:54 UTC 2017 - jeng...@inai.de
+
+- Remove sensationalist language from description.
+
+---



Other differences:
--
++ python-pytest-httpbin.spec ++
--- /var/tmp/diff_new_pack.n5PRUr/_old  2017-05-20 10:10:36.161829532 +0200
+++ /var/tmp/diff_new_pack.n5PRUr/_new  2017-05-20 10:10:36.161829532 +0200
@@ -13,23 +13,24 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-httpbin
 Version:0.2.3
 Release:0
+Summary:Test your HTTP library against a local copy of httpbin
 License:MIT
-Summary:Easily test your HTTP library against a local copy of httpbin
-Url:https://github.com/kevin1024/pytest-httpbin
 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
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module setuptools}
-Requires:   python-pytest
-Requires:   python-httpbin
+BuildRequires:  python-rpm-macros
 Requires:   python-Flask
 Requires:   python-decorator
+Requires:   python-httpbin
+Requires:   python-pytest
 Requires:   python-six
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
@@ -37,13 +38,10 @@
 %python_subpackages
 
 %description
-httpbin is an amazing web service for testing HTTP libraries. It has several
-great endpoints that can test pretty much everything you need in a HTTP
-library. The only problem is: maybe you don't want to wait for your tests to
-travel across the Internet and back to make assertions against a remote web
-service.
+httpbin is a web service for testing HTTP libraries. It has several
+endpoints that can test parts needed in a HTTP library.
 
-Enter pytest-httpbin. Pytest-httpbin creates a pytest "fixture" that is
+Pytest-httpbin creates a pytest "fixture" that is
 dependency-injected into your tests. It automatically starts up a HTTP server
 in a separate thread running httpbin and provides your test with the URL in the
 fixture.