Hello community,

here is the log from the commit of package python-httpbin for openSUSE:Factory 
checked in at 2019-03-29 20:35:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpbin (Old)
 and      /work/SRC/openSUSE:Factory/.python-httpbin.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-httpbin"

Fri Mar 29 20:35:04 2019 rev:2 rq:685026 version:0.7.0+git20181107.f8ec666

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpbin/python-httpbin.changes    
2017-05-16 14:28:58.087582254 +0200
+++ /work/SRC/openSUSE:Factory/.python-httpbin.new.25356/python-httpbin.changes 
2019-03-29 20:35:05.086594667 +0100
@@ -1,0 +2,20 @@
+Thu Mar 14 11:53:37 UTC 2019 - [email protected]
+
+- Switch to service, upstream is now at release 0.9.2 but nobody
+  bothers with tags, keep the last tagged/pypi release as a version
+  and add all other stuff as git commit
+- Update to version 0.7.0+git20181107.f8ec666:
+  * Corrected repository URL in app.json.
+  * remove duplicated "X-Forwarded-For" from ENV_HEADERS
+  * Added Python 3.7 to Travis/Tox.
+  * Removed httpbin.org link which is mentioned 3 times in README
+
+-------------------------------------------------------------------
+Tue Mar 12 15:50:39 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.7.0:
+  * no upstream changelog
+- Enable tests
+- Add missing dependencies
+
+-------------------------------------------------------------------

Old:
----
  httpbin-0.5.0.tar.gz

New:
----
  _service
  python-httpbin-0.7.0+git20181107.f8ec666.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-httpbin.spec ++++++
--- /var/tmp/diff_new_pack.HWDgy5/_old  2019-03-29 20:35:05.694593564 +0100
+++ /var/tmp/diff_new_pack.HWDgy5/_new  2019-03-29 20:35:05.694593564 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-httpbin
 #
-# Copyright (c) 2017 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,34 +12,50 @@
 # 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-httpbin
-Version:        0.5.0
+Version:        0.7.0+git20181107.f8ec666
 Release:        0
-License:        MIT
 Summary:        HTTP Request and Response Service
-Url:            https://github.com/Runscope/httpbin
+License:        MIT
 Group:          Development/Languages/Python
-Source:         
https://files.pythonhosted.org/packages/source/h/httpbin/httpbin-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
+URL:            https://github.com/Runscope/httpbin
+Source:         python-httpbin-%{version}.tar.xz
+BuildRequires:  %{python_module Brotli}
+BuildRequires:  %{python_module Flask}
+BuildRequires:  %{python_module MarkupSafe}
+BuildRequires:  %{python_module Werkzeug >= 0.14.1}
+BuildRequires:  %{python_module blinker}
+BuildRequires:  %{python_module decorator}
+BuildRequires:  %{python_module flasgger}
+BuildRequires:  %{python_module gevent}
+BuildRequires:  %{python_module itsdangerous}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module raven}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-Brotli
 Requires:       python-Flask
 Requires:       python-MarkupSafe
+Requires:       python-Werkzeug >= 0.14.1
+Requires:       python-blinker
 Requires:       python-decorator
+Requires:       python-flasgger
+Requires:       python-gevent
 Requires:       python-itsdangerous
+Requires:       python-raven
 Requires:       python-six
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
 httpbin(1): HTTP Request & Response Service
 
-
 Testing an HTTP Library can become difficult sometimes.
 RequestBin is fantastic for testing POST requests, but doesn't let
 you control the response. This exists to cover
@@ -48,7 +64,9 @@
 All endpoint responses are JSON-encoded.
 
 %prep
-%setup -q -n httpbin-%{version}
+%setup -q
+# use normal Brotli google module not wrapper
+sed -i -e 's:brotlipy:brotli:' setup.py
 
 %build
 export LANG=en_US.UTF-8
@@ -57,9 +75,14 @@
 %install
 export LANG=en_US.UTF-8
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+%pytest
 
 %files %{python_files}
-%defattr(-,root,root,-)
+%doc README.md
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="filename">python-httpbin</param>
    <param name="url">git://github.com/postmanlabs/httpbin.git</param>
    <param name="scm">git</param>
    <param name="changesgenerate">enable</param>
    <param name="versionformat">0.7.0+git%cd.%h</param>
  </service>
  <service name="recompress" mode="disabled">
    <param name="compression">xz</param>
    <param name="file">*.tar</param>
  </service>
  <service name="set_version" mode="disabled"/>
</services>

Reply via email to