File python-django-rest-framework-client.spec of Package python-django-rest-framework-client

# spec file for package python-django-rest-framework-client
# 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-django-rest-framework-client
Version:        0.1.1
Release:        0
License:        MIT
Summary:        Python client for a Django REST Framework based web site
Group:          Development/Languages/Python
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
# SECTION test requirements
BuildRequires:  %{python_module Django}
BuildRequires:  %{python_module mock}
BuildRequires:  %{python_module requests}
BuildRequires:  %{python_module requests-mock}
BuildRequires:  %{python_module unittest2}
BuildRequires:  fdupes
Requires:       python-Django
Requires:       python-requests
BuildArch:      noarch


Python client for a Django REST Framework based web site.

%setup -q -n django-rest-framework-client-%{version}


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

%python_exec test --test-suite=tests

%files %{python_files}
%license LICENSE