forked from pool/python-requests-hawk
- Update to 1.0.1:
- Add Python 3 support. (#22) - Enable tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-hawk?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
dc5e0443a4
commit
caa3f4e39e
@@ -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>
|
Tue Dec 4 12:53:45 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-requests-hawk
|
# 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.
|
# Copyright (c) 2017 The openSUSE Project.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -18,25 +18,21 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_with test
|
|
||||||
Name: python-requests-hawk
|
Name: python-requests-hawk
|
||||||
Version: 1.0.0
|
Version: 1.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Hawk authentication strategy for the requests python library
|
Summary: Hawk authentication strategy for the requests python library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/mozilla-services/requests-hawk
|
URL: https://github.com/mozilla-services/requests-hawk
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/requests-hawk/requests-hawk-%{version}.tar.gz
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-mohawk
|
Requires: python-mohawk
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module mohawk}
|
|
||||||
BuildRequires: %{python_module requests}
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -57,10 +53,8 @@ across mozilla services projects.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:aef0dff8053dcae2057774516386bed0a3bc03fabea9e18f3aa98f02672ea5d0
|
|
||||||
size 6285
|
|
3
requests-hawk-1.0.1.tar.gz
Normal file
3
requests-hawk-1.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:349ff5939fc80747f5fdedd249d5038f156a5404533ac3eaa4d8649f90508fe1
|
||||||
|
size 6291
|
Reference in New Issue
Block a user