- Version update to 0.9.6:

* Many fixes all around
  * Support for python 3.7
- Make sure we really run the tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=31
This commit is contained in:
Tomáš Chvátal 2019-01-07 08:29:52 +00:00 committed by Git OBS Bridge
parent ad01031512
commit 28a7af980e
4 changed files with 25 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83c176bbac9d68a45a5cca54f2d5be7e6b16a063adf6f334e7fd0eee272e976e
size 43574

3
httpretty-0.9.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01b52d45077e702eda491f4fe75328d3468fd886aed5dcc530003e7b2b5939dc
size 7147633

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jan 7 08:22:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Version update to 0.9.6:
* Many fixes all around
* Support for python 3.7
- Make sure we really run the tests
-------------------------------------------------------------------
Tue Dec 4 12:48:59 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-httpretty
#
# 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
@ -18,16 +18,26 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-httpretty
Version: 0.8.14
Version: 0.9.6
Release: 0
Summary: HTTP client mocking tool for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/gabrielfalcao/HTTPretty
Source: https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module httplib2}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module rednose}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module sure}
BuildRequires: %{python_module tornado}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
%python_subpackages
@ -38,15 +48,14 @@ It is similar to Ruby's FakeWeb.
%prep
%setup -q -n httpretty-%{version}
# randomly is unknown option for our nose
sed -i -e '/with-randomly/d' setup.cfg
%build
%python_build
# crazy deps still
%if 0
%check
%python_exec setup.py test
%endif
%install
%python_install