File python-requests-auth.spec of Package python-requests-auth

# spec file for package python-requests_auth
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-requests_auth
Version:        4.0.1
Release:        0
License:        MIT
Summary:        Easy Authentication for Requests
Group:          Development/Languages/Python
Patch:          ra_relax-python-version-requirements.patch
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
# SECTION test requirements
BuildRequires:  python-enum34
BuildRequires:  %{python_module requests >= 2.21.0}
BuildRequires:  %{python_module Flask >= 1.0.2}
BuildRequires:  %{python_module nose >= 1.3.7}
BuildRequires:  %{python_module PyJWT >= 1.6.4}
BuildRequires:  %{python_module responses >= 0.10.3}
BuildRequires:  fdupes
Requires:       python-requests >= 2.21.0
BuildArch:      noarch


Easy Authentication for Requests

%setup -q -n requests_auth-%{version}
%patch -p1


#%%python_exec test

%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}