[packages/python-social-auth-app-django] new, version 1.1.0
glen
glen at pld-linux.org
Sun Apr 23 18:12:34 CEST 2017
commit 9f1f4d7f0d35cb9305b2efe20b051e9e4d0ef057
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Apr 23 19:09:23 2017 +0300
new, version 1.1.0
python-social-auth-app-django.spec | 95 ++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
---
diff --git a/python-social-auth-app-django.spec b/python-social-auth-app-django.spec
new file mode 100644
index 0000000..7cfbdca
--- /dev/null
+++ b/python-social-auth-app-django.spec
@@ -0,0 +1,95 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+%bcond_without python2 # CPython 2.x module
+%bcond_with python3 # CPython 3.x module
+
+%define module social_django
+%define pypi_name social-auth-app-django
+%define egg_name social_auth_app_django
+Summary: Python Social Auth - Application - Django
+Name: python-%{pypi_name}
+Version: 1.1.0
+Release: 1
+License: BSD
+Group: Libraries/Python
+Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# Source0-md5: 48c829f301b941885109f3aa70985731
+URL: https://github.com/python-social-auth/social-app-django
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+%if %{with python2}
+BuildRequires: python-modules
+BuildRequires: python-setuptools
+%endif
+%if %{with python3}
+BuildRequires: python3-modules
+BuildRequires: python3-setuptools
+%endif
+Requires: python-modules
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python Social Auth is an easy to setup social
+authentication/registration mechanism with support for several
+frameworks and auth providers.
+
+This is the Django component of the python-social-auth ecosystem, it
+implements the needed functionality to integrate social-auth-core in a
+Django based project.
+
+%package -n python3-%{pypi_name}
+Summary: Python Social Auth - Application - Django
+Group: Libraries/Python
+
+%description -n python3-%{pypi_name}
+Python Social Auth is an easy to setup social
+authentication/registration mechanism with support for several
+frameworks and auth providers.
+
+This is the Django component of the python-social-auth ecosystem, it
+implements the needed functionality to integrate social-auth-core in a
+Django based project.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%if %{with python2}
+%py_build %{?with_tests:test}
+%endif
+
+%if %{with python3}
+%py3_build %{?with_tests:test}
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%if %{with python2}
+%py_install
+%py_postclean
+%endif
+
+%if %{with python3}
+%py3_install
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
+%endif
+
+%if %{with python3}
+%files -n python3-%{pypi_name}
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-social-auth-app-django.git/commitdiff/9f1f4d7f0d35cb9305b2efe20b051e9e4d0ef057
More information about the pld-cvs-commit
mailing list