commit 69c9396aebdd400167cf52b10b871f5e90adb71891ae31ab7b2f98daa9f8b50b Author: Tomáš Chvátal Date: Wed Jul 25 20:26:25 2018 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-social-auth-core.changes b/python-social-auth-core.changes new file mode 100644 index 0000000..d7a2abb --- /dev/null +++ b/python-social-auth-core.changes @@ -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 + diff --git a/python-social-auth-core.spec b/python-social-auth-core.spec new file mode 100644 index 0000000..6204a8c --- /dev/null +++ b/python-social-auth-core.spec @@ -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 +# +# 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 diff --git a/social-auth-core-1.7.0.tar.gz b/social-auth-core-1.7.0.tar.gz new file mode 100644 index 0000000..9f79666 --- /dev/null +++ b/social-auth-core-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b393754ab75f6e5176568554f4f7b5cd9e4cb6dab23d9614e5c9e1425f3fcf9 +size 161471