[packages/python-social-auth-core] update to 1.2.0
glen
glen at pld-linux.org
Sun Apr 23 17:58:58 CEST 2017
commit 2bc1944ed94271f4b6e1072070910dd159fde108
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 23 18:56:02 2017 +0300
update to 1.2.0
python-social-auth-core.spec | 72 +++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 45 deletions(-)
---
diff --git a/python-social-auth-core.spec b/python-social-auth-core.spec
index d741d76..78faa2f 100644
--- a/python-social-auth-core.spec
+++ b/python-social-auth-core.spec
@@ -5,18 +5,18 @@
%bcond_without python2 # CPython 2.x module
%bcond_with python3 # CPython 3.x module
-%define module social
-%define pypi_name python-social-auth
-%define egg_name python_social_auth
-Summary: Social auth made simple
-Name: python-social-auth
-Version: 0.2.21
+%define module social_core
+%define pypi_name social-auth-core
+%define egg_name social_auth_core
+Summary: Python Social Auth - Core
+Name: python-%{pypi_name}
+Version: 1.2.0
Release: 1
License: BSD
Group: Development/Libraries
-Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
-# Source0-md5: 2bb1857ed7eca771edaa05471b8a3905
-URL: http://psa.matiasaguirre.net/
+Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# Source0-md5: d12b7c872f03d477dcca90c8e14f2844
+URL: http://python-social-auth-docs.readthedocs.io/
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python2}
@@ -36,32 +36,27 @@ Python Social Auth is an easy to setup social
authentication/registration mechanism with support for several
frameworks and auth providers.
-Crafted using base code from django-social-auth, implements a common
-interface to define new authentication providers from third parties.
-And to bring support for more frameworks and ORMs.
+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.
-%package -n python3-social-auth
+%package -n python3-social-auth-core
Summary: Social auth made simple
Group: Development/Libraries
-%description -n python3-social-auth
+%description -n python3-social-auth-core
Python Social Auth is an easy to setup social
authentication/registration mechanism with support for several
frameworks and auth providers.
-Crafted using base code from django-social-auth, implements a common
-interface to define new authentication providers from third parties.
-And to bring support for more frameworks and ORMs.
-
-%package doc
-Summary: Documentation for Python Social Auth
-Group: Documentation
-
-%description doc
-This package contains the documentation for %{name}.
+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
+%setup -q -n %{pypi_name}-%{version}
%build
%if %{with python2}
@@ -79,23 +74,14 @@ rm -rf $RPM_BUILD_ROOT
%py_postclean
# rm tests (or subpackage?)
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/social/tests
-%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/social/apps/django_app/tests.py*
-%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/social/apps/django_app/me/tests.py*
-%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/social/apps/django_app/default/tests.py*
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/social_core/tests
%endif
%if %{with python3}
%py3_install
# rm tests (or subpackage?)
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/social/tests
-%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/social/apps/django_app/tests.py
-%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/social/apps/django_app/__pycache__/tests.*.pyc
-%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/social/apps/django_app/me/tests.py
-%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/social/apps/django_app/me/__pycache__/tests.*.pyc
-%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/social/apps/django_app/default/tests.py
-%{__rm} $RPM_BUILD_ROOT%{py3_sitescriptdir}/social/apps/django_app/default/__pycache__/tests.*.pyc
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/social_core/tests
%endif
%clean
@@ -104,19 +90,15 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%files
%defattr(644,root,root,755)
-%doc README.rst LICENSE
+%doc README.md LICENSE
%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{egg_name}-%{version}-py2.*.egg-info
+%{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
%endif
%if %{with python3}
-%files -n python3-social-auth
+%files -n python3-social-auth-core
%defattr(644,root,root,755)
-%doc README.rst LICENSE
+%doc README.md LICENSE
%{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/%{egg_name}-%{version}-py3.*.egg-info
+%{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
%endif
-
-%files doc
-%defattr(644,root,root,755)
-%doc docs examples
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-social-auth-core.git/commitdiff/2bc1944ed94271f4b6e1072070910dd159fde108
More information about the pld-cvs-commit
mailing list