forked from pool/python-social-auth-core
Accepting request 626909 from devel:languages:python
- Format with spec-cleaner - Run the tests with %python_expand rather than %python_exec - Ensure neutrality of description. Address punctuation issues. OBS-URL: https://build.opensuse.org/request/show/626909 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-social-auth-core?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 1 13:37:44 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Format with spec-cleaner
|
||||
- Run the tests with %python_expand rather than %python_exec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 27 06:29:23 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Ensure neutrality of description. Address punctuation issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 25 17:55:04 UTC 2018 - sean.marlow@suse.com
|
||||
|
||||
|
@@ -21,57 +21,53 @@
|
||||
Name: python-social-auth-core
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: Python Social Auth - Core
|
||||
Summary: Python Social Auth Core
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/python-social-auth/social-core
|
||||
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 coverage >= 3.6}
|
||||
BuildRequires: %{python_module cryptography >= 2.1.1}
|
||||
BuildRequires: %{python_module httpretty}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose >= 1.2.1}
|
||||
BuildRequires: %{python_module oauthlib >= 1.0.3}
|
||||
BuildRequires: %{python_module rednose >= 0.4.1}
|
||||
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: %{python_module unittest2}
|
||||
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-cryptography >= 2.1.1
|
||||
Requires: python-oauthlib >= 1.0.3
|
||||
Requires: python-requests >= 2.9.1
|
||||
Requires: python-requests-oauthlib >= 0.6.1
|
||||
Requires: python-six >= 1.10.0
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Requires: python2-python-openid >= 2.2.5
|
||||
%endif
|
||||
%ifpython3
|
||||
Requires: python3-defusedxml >= 0.5.0
|
||||
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
|
||||
Python Social Auth is a social authentication/registration
|
||||
mechanism with support for several frameworks and auth providers.
|
||||
|
||||
This is the core component of the python-social-auth ecosystem, it
|
||||
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
|
||||
third party services, implement integrations with web frameworks and
|
||||
storage solutions.
|
||||
|
||||
%prep
|
||||
@@ -85,10 +81,9 @@ storage solutions.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec %{_bindir}/nosetests --ignore-files test_saml.py
|
||||
%python_expand %{_bindir}/nosetests-%{$python_bin_suffix} --ignore-files test_saml.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
Reference in New Issue
Block a user