# Created by pyp2rpm-3.2.2 %global pypi_name django-oauth-toolkit Name: python-%{pypi_name} Version: 0.9.0 Release: 3%{?dist} Summary: OAuth2 goodies for Django License: BSD URL: https://github.com/evonove/django-oauth-toolkit Source0: https://files.pythonhosted.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-oauthlib < 1.1 # == Patches == # Patch0001: 0001-Fix-dependencies-for-Fedora.patch %description Django OAuth Toolkit *OAuth2 goodies for the Djangonauts!* If you are facing one or more of the following: * Your Django app exposes a web API you want to protect with OAuth2 authentication, * You need to implement an OAuth2 authorization server to provide tokens management for your infrastructure,Django OAuth Toolkit can help you providing out of the box all the endpoints, data and logic... %package -n python2-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} Requires: python2-django >= 1.4 Requires: python2-django-braces >= 1.2.2 Requires: python2-oauthlib < 1.1 Requires: python2-six %description -n python2-%{pypi_name} Django OAuth Toolkit *OAuth2 goodies for the Djangonauts!* If you are facing one or more of the following: * Your Django app exposes a web API you want to protect with OAuth2 authentication, * You need to implement an OAuth2 authorization server to provide tokens management for your infrastructure,Django OAuth Toolkit can help you providing out of the box all the endpoints, data and logic... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py2_build %install %py2_install %check %files -n python2-%{pypi_name} %license LICENSE %doc README.rst %{python2_sitelib}/oauth2_provider %{python2_sitelib}/django_oauth_toolkit-%{version}-py?.?.egg-info %changelog * Wed Apr 11 2018 Stephen Gallagher - 0.9.0-3 - Drop Python 3 package since it's not needed for ReviewBoard * Thu Feb 01 2018 Stephen Gallagher - 0.9.0-1 - Initial package.