summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 18:50:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 18:50:16 +0000
commit595a992d0887a0a230d23b4a30619fd57d1ebdee (patch)
tree225de37ae1ad308eb8d555cb5396f0255f9228b6
parent65f5e29bb5a685f572d0ef97307629d443a6f977 (diff)
automatic import of python-warrant-lite
-rw-r--r--.gitignore1
-rw-r--r--python-warrant-lite.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..38e8662 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/warrant-lite-1.0.4.tar.gz
diff --git a/python-warrant-lite.spec b/python-warrant-lite.spec
new file mode 100644
index 0000000..ce08b99
--- /dev/null
+++ b/python-warrant-lite.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-warrant-lite
+Version: 1.0.4
+Release: 1
+Summary: Small Python library for process SRP requests for AWS Cognito. This library was initially included in the [Warrant](https://www.github.com/capless/warrant) library. We decided to separate it because not all projects and workfows need all of the helper classes and functions in Warrant.
+License: Apache-2.0
+URL: https://pypi.org/project/warrant-lite/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/81/1e/af3ae70a469a399d04a87eebe29eafac5d1281de88ab6405e13c10be9eba/warrant-lite-1.0.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-boto3
+Requires: python3-envs
+Requires: python3-jose
+Requires: python3-requests
+
+%description
+
+
+%package -n python3-warrant-lite
+Summary: Small Python library for process SRP requests for AWS Cognito. This library was initially included in the [Warrant](https://www.github.com/capless/warrant) library. We decided to separate it because not all projects and workfows need all of the helper classes and functions in Warrant.
+Provides: python-warrant-lite
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-warrant-lite
+
+
+%package help
+Summary: Development documents and examples for warrant-lite
+Provides: python3-warrant-lite-doc
+%description help
+
+
+%prep
+%autosetup -n warrant-lite-1.0.4
+
+%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-warrant-lite -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..726b15e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+920a4ec8c1fb3c002f79f881b0e12785 warrant-lite-1.0.4.tar.gz