diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-08 11:58:28 -0800 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2021-12-08 11:58:28 -0800 |
| commit | 2500e2263cda2d4bbabad43ebd6490400438ab9b (patch) | |
| tree | 1d8cb4e5e0a81ee0a96c0fb65550481d53598d54 /python | |
| parent | c96a07d8cc7ce14a2bde07cadd13ec06660b29f8 (diff) | |
| download | specs-2500e2263cda2d4bbabad43ebd6490400438ab9b.tar.gz specs-2500e2263cda2d4bbabad43ebd6490400438ab9b.tar.xz specs-2500e2263cda2d4bbabad43ebd6490400438ab9b.zip | |
- python-django-allauth
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python')
| -rw-r--r-- | python/python-django-allauth.spec | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/python/python-django-allauth.spec b/python/python-django-allauth.spec deleted file mode 100644 index 89f19b7..0000000 --- a/python/python-django-allauth.spec +++ /dev/null @@ -1,86 +0,0 @@ -# Some tests fail. Pass --with failedtests to retry -%bcond_with failedtests - -%global srcname django-allauth -%global forgeurl https://github.com/pennersr/%{srcname} - -Name: python-%{srcname} -Version: 0.46.0 -Release: %autorelease -Summary: Integrated set of Django authentication apps -License: MIT -URL: https://www.intenct.nl/projects/django-allauth/ -# PyPI source has no tests -# Source0: %%{pypi_source %%{srcname}} -Source0: %{forgeurl}/archive/%{version}/%{srcname}-%{version}.tar.gz - -BuildArch: noarch - -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools - -%global _description %{expand: -Integrated set of Django applications addressing authentication, registration, -account management as well as 3rd party (social) account authentication. - -## Rationale -Most existing Django apps that address the problem of social authentication -focus on just that. You typically need to integrate another app in order to -support authentication via a local account. - -This approach separates the worlds of local and social authentication. However, -there are common scenarios to be dealt with in both worlds. For example, an -e-mail address passed along by an OpenID provider is not guaranteed to be -verified. So, before hooking an OpenID account up to a local account the e-mail -address must be verified. So, e-mail verification needs to be present in both -worlds. - -Integrating both worlds is quite a tedious process. It is definitely not a -matter of simply adding one social authentication app, and one local account -registration app to your INSTALLED_APPS list. - -This is the reason this project got started – to offer a fully integrated -authentication app that allows for both local and social authentication, with -flows that just work.} - -%description %{_description} - - -%package -n python%{python3_pkgversion}-%{srcname} -Summary: %{summary} - -%description -n python%{python3_pkgversion}-%{srcname} %{_description} - - -%prep -%autosetup -p1 -n %{srcname}-%{version} -%if %{without failedtests} -# remove failing tests -rm allauth/socialaccount/providers/cern/tests.py -%endif - - -%generate_buildrequires -%pyproject_buildrequires -t - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files allauth - - -%check -%tox - - -%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files} -%license LICENSE -%doc AUTHORS ChangeLog.rst README.rst - - -%changelog -%autochangelog |
