forked from pool/python-social-auth-core
Accepting request 625328 from home:seanmarlow:branches:devel:languages:python:misc
Resurrect package in d:l:p. OBS-URL: https://build.opensuse.org/request/show/625328 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-social-auth-core?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
104
python-social-auth-core.changes
Normal file
104
python-social-auth-core.changes
Normal file
@@ -0,0 +1,104 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 25 17:55:04 UTC 2018 - sean.marlow@suse.com
|
||||
|
||||
- Move license in spec.
|
||||
- Drop devel module dependency.
|
||||
- Remove conditionals from buildRequirements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 15:54:34 UTC 2018 - buschmann23@opensuse.org
|
||||
|
||||
- update to version 1.7.0
|
||||
+ Update EvenOnline token expiration key
|
||||
+ Update OpenStreetMap URL to https
|
||||
+ Fix LinkedIn backend to send the oauth_token as Authorization header
|
||||
+ Fixed extra_data update to use the alias as key too
|
||||
+ Make signed_request optional in Facebook App OAuth2 backend
|
||||
+ Support string and lists on SAML permanent id value
|
||||
+ Correct sending params sending on GET access-token retrieval case
|
||||
+ Ensure b2c policy name check
|
||||
+ Use extras_requrie to specify python specific version dependencies
|
||||
+ Added support for AzureAD B2C OAuth2
|
||||
+ Added LinkedIn Mobile OAuth2 backend
|
||||
- spec file changes
|
||||
+ do not include README.md in files list because it does not
|
||||
contain any relevant information
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 29 11:54:34 UTC 2017 - buschmann23@opensuse.org
|
||||
|
||||
- update to version 1.6.0
|
||||
+ Fix coinbase backend to use api v2
|
||||
+ Default REDIRECT_STATE to False in FacebookOAuth2 backend
|
||||
+ Add revoke token url for Coinbase OAuth2 backend
|
||||
+ Fix LinkedIn backend to send oauth_token as request header
|
||||
+ Make partial step decorator handle arguments
|
||||
+ Added support for ChatWork OAuth2 backend
|
||||
- spec file changes
|
||||
+ put explicit py2 and py3 buildrequires into ifpython codeblocks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 16 09:49:25 UTC 2017 - buschmann23@opensuse.org
|
||||
|
||||
- improve spec file summary and description
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 08:46:19 UTC 2017 - buschmann23@opensuse.org
|
||||
|
||||
- update to version 1.5.0
|
||||
+ Fix using the entire SAML2 nameid string
|
||||
+ Prevent timing attacks against state token
|
||||
+ Updated GitLab API version to v4
|
||||
+ Enforce UTC when calculating access token expiration time
|
||||
+ Cleanup user attributes update from social details
|
||||
+ Send authorization header on Reddit auth
|
||||
+ Added support for tenant for Azure AD backend
|
||||
+ Added JWT validation for Azure AD backend
|
||||
+ Added support for Bungie.net OAuth2 backend
|
||||
+ Added support for Eventbrite OAuth2 backend
|
||||
+ Added support for OpenShift OAuth2 backend
|
||||
+ Added support for Microsoft Graph OAuth2 backend
|
||||
- spec file changes
|
||||
+ use python_expand for nosetests
|
||||
+ add CHANGELOG.md to docs
|
||||
+ update project url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 11:44:03 UTC 2017 - buschmann23@opensuse.org
|
||||
|
||||
- fix requirements for python-openid
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 11:30:43 UTC 2017 - buschmann23@opensuse.org
|
||||
|
||||
- convert into single spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 10 08:35:15 UTC 2017 - buschmann23@opensuse.org
|
||||
|
||||
- update to version 1.4.0
|
||||
+ Fix path in import BaseOAuth2 for Monzo
|
||||
+ Fix auth header formatting problem for Fitbit OAuth2
|
||||
+ Raise AuthForbidden when provider returns 401.
|
||||
+ Update Facebook API to version 2.9
|
||||
+ Speed up authorization process for VKAppOAuth2
|
||||
+ Apply same sanitization as on connect to disconnect.
|
||||
+ Disable redirect_state usage on Disqus backend
|
||||
+ Added Udata OAuth2 backend
|
||||
+ Added ORCID backend
|
||||
+ Added feature to get all extra data from backend through
|
||||
GET_ALL_EXTRA_DATA boolean flag.
|
||||
+ Added Patreon provider
|
||||
- update to version 1.3.0
|
||||
+ Use extra_data method when refreshing an access_token, ensure that
|
||||
auth-time is updated then
|
||||
+ Added 500px OAuth1 backend
|
||||
+ Added Monzo OAuth2 backend
|
||||
+ Added get_access_token method that will refresh if expired
|
||||
+ Updated email validation to pass the partial pipeline token if
|
||||
given.
|
||||
+ Prefer passed parameters in authenticate method
|
||||
+ Properly discard already used verification codes
|
||||
+ Save SAML attributes in extra_data
|
||||
+ Note id_token in GooglePlusAuth's AuthMissingParameter
|
||||
|
96
python-social-auth-core.spec
Normal file
96
python-social-auth-core.spec
Normal file
@@ -0,0 +1,96 @@
|
||||
#
|
||||
# spec file for package python-social-auth-core
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017-2018 Matthias Fehring <buschmann23@opensuse.org>
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-social-auth-core
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: Python Social Auth - Core
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/python-social-auth/social-core
|
||||
Source: https://files.pythonhosted.org/packages/source/s/social-auth-core/social-auth-core-%{version}.tar.gz
|
||||
BuildRequires: %{python_module PyJWT >= 1.4.0}
|
||||
BuildRequires: %{python_module cryptography >= 2.1.1}
|
||||
BuildRequires: %{python_module oauthlib >= 1.0.3}
|
||||
BuildRequires: %{python_module requests >= 2.9.1}
|
||||
BuildRequires: %{python_module requests-oauthlib >= 0.6.1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.10.0}
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-python-openid >= 2.2.5
|
||||
BuildRequires: python3-defusedxml >= 0.5.0
|
||||
BuildRequires: python3-python3-openid >= 3.0.10
|
||||
## used for testing
|
||||
BuildRequires: %{python_module coverage >= 3.6}
|
||||
BuildRequires: %{python_module httpretty}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose >= 1.2.1}
|
||||
BuildRequires: %{python_module rednose >= 0.4.1}
|
||||
BuildRequires: %{python_module unittest2}
|
||||
Requires: python-PyJWT >= 1.4.0
|
||||
Requires: python-oauthlib >= 1.0.3
|
||||
%ifpython2
|
||||
Requires: python2-python-openid >= 2.2.5
|
||||
%endif
|
||||
%ifpython3
|
||||
Requires: python3-python3-openid >= 3.0.10
|
||||
%endif
|
||||
Requires: python-cryptography >= 2.1.1
|
||||
Requires: python-requests >= 2.9.1
|
||||
Requires: python-requests-oauthlib >= 0.6.1
|
||||
Requires: python-six >= 1.10.0
|
||||
%ifpython3
|
||||
Requires: python3-defusedxml >= 0.5.0
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python Social Auth is an easy-to-setup social authentication/registration
|
||||
mechanism with support for several frameworks and auth providers.
|
||||
|
||||
This is the core component of the python-social-auth ecosystem, it
|
||||
implements the common interface to define new authentication backends to
|
||||
third parties services, implement integrations with web frameworks and
|
||||
storage solutions.
|
||||
|
||||
%prep
|
||||
%setup -q -n social-auth-core-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec %{_bindir}/nosetests --ignore-files test_saml.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
3
social-auth-core-1.7.0.tar.gz
Normal file
3
social-auth-core-1.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b393754ab75f6e5176568554f4f7b5cd9e4cb6dab23d9614e5c9e1425f3fcf9
|
||||
size 161471
|
Reference in New Issue
Block a user