summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:53:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:53:00 +0000
commit7f18d30807f037e721c646bfb3e135c89d8d76ea (patch)
treef6ffea506f876bba0b3c9e5ce3b02bebbc9f8147
parent269d2f12e45c9302d01302e9d06131951cca0dea (diff)
automatic import of python-django-turbo-allauth
-rw-r--r--.gitignore1
-rw-r--r--python-django-turbo-allauth.spec288
-rw-r--r--sources1
3 files changed, 290 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d290ac9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-turbo-allauth-0.0.10.tar.gz
diff --git a/python-django-turbo-allauth.spec b/python-django-turbo-allauth.spec
new file mode 100644
index 0000000..f8dd1da
--- /dev/null
+++ b/python-django-turbo-allauth.spec
@@ -0,0 +1,288 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-turbo-allauth
+Version: 0.0.10
+Release: 1
+Summary: Hotwired/Turbo subclasses for allauth views
+License: MIT
+URL: https://github.com/hotwire-django/django-turbo-allauth
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6e/43/332866dd932141ae5603db899af38d98c2f9d6fdf5ed0ff7182501b2f549/django-turbo-allauth-0.0.10.tar.gz
+BuildArch: noarch
+
+Requires: python3-django
+Requires: python3-django-allauth
+Requires: python3-django-turbo-response
+
+%description
+## Hotwired/Turbo django-allauth integration
+
+This package provides subclasses modifying the django-allauth views https://github.com/pennersr/django-allauth to provide valid return codes.
+
+This package is required in order to provide allauth compatability with Turbo. Turbo form validation either setting the attribute *data-turbo="false"* in the form, or returning a 4** response. This provides subclasses for the latter.
+
+**Disclaimer**: the Hotwired/Turbo client libraries are, at time of writing, still in Beta. We expect there will be breaking changes until the first stable release. This package, and the Turbo client, should therefore be used with caution in a production environment. The version used in testing is *@hotwired/turbo==7.0.0-beta.5*.
+
+## Requirements
+
+This library is tested for Python 3.8+ and Django 3.0+.
+
+## Installation
+
+> pip install django-turbo-allauth
+
+To install from Git:
+
+> git clone https://github.com/hotwire-django/django-turbo-allauth
+
+> cd django-turbo-allauth
+
+> python setup.py install
+
+**Note**: This library does not include any client libraries (Turbo or Stimulus). You may wish to add these yourself using your preferred Javascript build tool, or use a CDN. Please refer to the Hotwire documentation on installing these libraries.
+
+Full documentation on ReadTheDocs:
+
+https://django-turbo-allauth.readthedocs.io/en/latest/
+
+
+## License
+
+This project is covered by the MIT license.
+
+
+
+
+
+# Changelog
+
+## Latest
+
+Add support for Django 3.2
+
+## [0.0.7] - 2021-4-4
+
+Removing support for Python 3.7
+
+## [0.0.6] - 2021-4-2
+
+Dependency updates
+
+## [0.0.5] - 2021-2-4
+
+Leverage turbo-response adapter mixin
+
+## [0.0.4] - 2021-2-2
+
+Support for Python 3.7 and Django 3.0
+
+## [0.0.3] - 2021-7-1
+
+Ensure redirects return a 303 in line with Turbo docs
+
+## [0.0.2] - 2021-5-1
+
+Update to latest *django-turbo-response*, remove template partials
+
+
+
+
+
+%package -n python3-django-turbo-allauth
+Summary: Hotwired/Turbo subclasses for allauth views
+Provides: python-django-turbo-allauth
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-turbo-allauth
+## Hotwired/Turbo django-allauth integration
+
+This package provides subclasses modifying the django-allauth views https://github.com/pennersr/django-allauth to provide valid return codes.
+
+This package is required in order to provide allauth compatability with Turbo. Turbo form validation either setting the attribute *data-turbo="false"* in the form, or returning a 4** response. This provides subclasses for the latter.
+
+**Disclaimer**: the Hotwired/Turbo client libraries are, at time of writing, still in Beta. We expect there will be breaking changes until the first stable release. This package, and the Turbo client, should therefore be used with caution in a production environment. The version used in testing is *@hotwired/turbo==7.0.0-beta.5*.
+
+## Requirements
+
+This library is tested for Python 3.8+ and Django 3.0+.
+
+## Installation
+
+> pip install django-turbo-allauth
+
+To install from Git:
+
+> git clone https://github.com/hotwire-django/django-turbo-allauth
+
+> cd django-turbo-allauth
+
+> python setup.py install
+
+**Note**: This library does not include any client libraries (Turbo or Stimulus). You may wish to add these yourself using your preferred Javascript build tool, or use a CDN. Please refer to the Hotwire documentation on installing these libraries.
+
+Full documentation on ReadTheDocs:
+
+https://django-turbo-allauth.readthedocs.io/en/latest/
+
+
+## License
+
+This project is covered by the MIT license.
+
+
+
+
+
+# Changelog
+
+## Latest
+
+Add support for Django 3.2
+
+## [0.0.7] - 2021-4-4
+
+Removing support for Python 3.7
+
+## [0.0.6] - 2021-4-2
+
+Dependency updates
+
+## [0.0.5] - 2021-2-4
+
+Leverage turbo-response adapter mixin
+
+## [0.0.4] - 2021-2-2
+
+Support for Python 3.7 and Django 3.0
+
+## [0.0.3] - 2021-7-1
+
+Ensure redirects return a 303 in line with Turbo docs
+
+## [0.0.2] - 2021-5-1
+
+Update to latest *django-turbo-response*, remove template partials
+
+
+
+
+
+%package help
+Summary: Development documents and examples for django-turbo-allauth
+Provides: python3-django-turbo-allauth-doc
+%description help
+## Hotwired/Turbo django-allauth integration
+
+This package provides subclasses modifying the django-allauth views https://github.com/pennersr/django-allauth to provide valid return codes.
+
+This package is required in order to provide allauth compatability with Turbo. Turbo form validation either setting the attribute *data-turbo="false"* in the form, or returning a 4** response. This provides subclasses for the latter.
+
+**Disclaimer**: the Hotwired/Turbo client libraries are, at time of writing, still in Beta. We expect there will be breaking changes until the first stable release. This package, and the Turbo client, should therefore be used with caution in a production environment. The version used in testing is *@hotwired/turbo==7.0.0-beta.5*.
+
+## Requirements
+
+This library is tested for Python 3.8+ and Django 3.0+.
+
+## Installation
+
+> pip install django-turbo-allauth
+
+To install from Git:
+
+> git clone https://github.com/hotwire-django/django-turbo-allauth
+
+> cd django-turbo-allauth
+
+> python setup.py install
+
+**Note**: This library does not include any client libraries (Turbo or Stimulus). You may wish to add these yourself using your preferred Javascript build tool, or use a CDN. Please refer to the Hotwire documentation on installing these libraries.
+
+Full documentation on ReadTheDocs:
+
+https://django-turbo-allauth.readthedocs.io/en/latest/
+
+
+## License
+
+This project is covered by the MIT license.
+
+
+
+
+
+# Changelog
+
+## Latest
+
+Add support for Django 3.2
+
+## [0.0.7] - 2021-4-4
+
+Removing support for Python 3.7
+
+## [0.0.6] - 2021-4-2
+
+Dependency updates
+
+## [0.0.5] - 2021-2-4
+
+Leverage turbo-response adapter mixin
+
+## [0.0.4] - 2021-2-2
+
+Support for Python 3.7 and Django 3.0
+
+## [0.0.3] - 2021-7-1
+
+Ensure redirects return a 303 in line with Turbo docs
+
+## [0.0.2] - 2021-5-1
+
+Update to latest *django-turbo-response*, remove template partials
+
+
+
+
+
+%prep
+%autosetup -n django-turbo-allauth-0.0.10
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-django-turbo-allauth -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.10-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..78f46c2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+151501a2453b4aad1993d4094c118405 django-turbo-allauth-0.0.10.tar.gz