14
0

Accepting request 786095 from devel:languages:python

- Update to 1.0.1:
  - Add Python 3 support. (#22)
- Enable tests

OBS-URL: https://build.opensuse.org/request/show/786095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-hawk?expand=0&rev=3
This commit is contained in:
2020-03-18 11:45:43 +00:00
committed by Git OBS Bridge
4 changed files with 14 additions and 13 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 18 08:29:29 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0.1:
- Add Python 3 support. (#22)
- Enable tests
-------------------------------------------------------------------
Tue Dec 4 12:53:45 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-requests-hawk
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2017 The openSUSE Project.
#
# All modifications and additions to the file contributed by third parties
@@ -18,25 +18,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-requests-hawk
Version: 1.0.0
Version: 1.0.1
Release: 0
Summary: Hawk authentication strategy for the requests python library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/mozilla-services/requests-hawk
Source: https://files.pythonhosted.org/packages/source/r/requests-hawk/requests-hawk-%{version}.tar.gz
BuildRequires: %{python_module mohawk}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mohawk
Requires: python-requests
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module mohawk}
BuildRequires: %{python_module requests}
%endif
%python_subpackages
%description
@@ -57,10 +53,8 @@ across mozilla services projects.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%license LICENSE.txt

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:349ff5939fc80747f5fdedd249d5038f156a5404533ac3eaa4d8649f90508fe1
size 6291