summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 14:04:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 14:04:13 +0000
commita7f8bd91da44f3b6d494daa5b53be08368a891d6 (patch)
tree977b98052e64f186c4faf7dcd0b6fa6a1cd26c11
parent7fb33b6bdeda7ce58166eb4fc3d085359da626c7 (diff)
automatic import of python-django-microsoft-authopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-django-microsoft-auth.spec98
-rw-r--r--sources1
3 files changed, 100 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e0a457f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django_microsoft_auth-3.0.1.tar.gz
diff --git a/python-django-microsoft-auth.spec b/python-django-microsoft-auth.spec
new file mode 100644
index 0000000..48ba63b
--- /dev/null
+++ b/python-django-microsoft-auth.spec
@@ -0,0 +1,98 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-microsoft-auth
+Version: 3.0.1
+Release: 1
+Summary: Simple app to enable Microsoft Account, Office 365 and Xbox Live authentcation as a Django authentcation backend.
+License: MIT License Copyright (c) 2017, Christopher Bailey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+URL: https://pypi.org/project/django-microsoft-auth/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/de/549f316f6a463a7f93e1f72cd8f1b186b821ced4aa4b89bf6421c243529b/django_microsoft_auth-3.0.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-django
+Requires: python3-pyjwt[crypto]
+Requires: python3-requests-oauthlib
+Requires: python3-requests
+Requires: python3-bandit
+Requires: python3-black
+Requires: python3-build
+Requires: python3-coverage
+Requires: python3-doc8
+Requires: python3-flake8-bugbear
+Requires: python3-flake8-builtins
+Requires: python3-flake8-commas
+Requires: python3-flake8-comprehensions
+Requires: python3-flake8
+Requires: python3-flit
+Requires: python3-furo
+Requires: python3-ipython
+Requires: python3-isort
+Requires: python3-pip-tools
+Requires: python3-pyproject-flake8
+Requires: python3-pytest-cov
+Requires: python3-pytest-django
+Requires: python3-pytest-rich
+Requires: python3-pytest
+Requires: python3-sphinx
+Requires: python3-djangoql
+
+%description
+
+
+%package -n python3-django-microsoft-auth
+Summary: Simple app to enable Microsoft Account, Office 365 and Xbox Live authentcation as a Django authentcation backend.
+Provides: python-django-microsoft-auth
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-microsoft-auth
+
+
+%package help
+Summary: Development documents and examples for django-microsoft-auth
+Provides: python3-django-microsoft-auth-doc
+%description help
+
+
+%prep
+%autosetup -n django-microsoft-auth-3.0.1
+
+%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-microsoft-auth -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..efdab52
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+597c2cb5e818ce4cf7846334f5bc9b73 django_microsoft_auth-3.0.1.tar.gz