15
0

Accepting request 681408 from devel:languages:python

- Update to 1.3.0:
  * Minor fixes collection
- Switch to github for tests
- Run tests

OBS-URL: https://build.opensuse.org/request/show/681408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httmock?expand=0&rev=3
This commit is contained in:
2019-03-05 11:23:24 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 6 deletions

3
1.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722
size 6186

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4696306d1ff835c3ca865fdef2684d7e130b4120cc00126f862ba4797b1602ac
size 4399

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 4 13:29:03 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.3.0:
* Minor fixes collection
- Switch to github for tests
- Run tests
-------------------------------------------------------------------
Tue Dec 4 12:48:58 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-httmock
#
# 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,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-httmock
Version: 1.2.6
Version: 1.3.0
Release: 0
Summary: A mocking library for requests
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/patrys/httmock
Source: https://files.pythonhosted.org/packages/source/h/httmock/httmock-%{version}.tar.gz
Source: https://github.com/patrys/httmock/archive/%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -53,6 +53,9 @@ You can use it to mock third-party APIs and test libraries that use
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover
%files %{python_files}
%doc README.md
%license LICENSE