summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 07:22:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 07:22:07 +0000
commit0536dd507c0204fa2757e83594a9513fb0065c09 (patch)
tree4ef8e4e70e633e971159380274093a070a406428
parent2dffac96a1d63224ae0c9ef480ed8056e81e96ac (diff)
automatic import of python-hyperwallet-sdkopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-hyperwallet-sdk.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..16389e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hyperwallet-sdk-1.7.1.tar.gz
diff --git a/python-hyperwallet-sdk.spec b/python-hyperwallet-sdk.spec
new file mode 100644
index 0000000..602cb8a
--- /dev/null
+++ b/python-hyperwallet-sdk.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-hyperwallet-sdk
+Version: 1.7.1
+Release: 1
+Summary: A Python wrapper around the Hyperwallet API
+License: MIT
+URL: https://github.com/hyperwallet/python-sdk
+Source0: https://mirrors.aliyun.com/pypi/web/packages/64/e8/f0bf5285c14840293bfc951d85989d3f26f0ba3a2e883cdd48a9421d5d24/hyperwallet-sdk-1.7.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-requests-toolbelt
+Requires: python3-jwcrypto
+Requires: python3-jose
+
+%description
+
+
+%package -n python3-hyperwallet-sdk
+Summary: A Python wrapper around the Hyperwallet API
+Provides: python-hyperwallet-sdk
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-hyperwallet-sdk
+
+
+%package help
+Summary: Development documents and examples for hyperwallet-sdk
+Provides: python3-hyperwallet-sdk-doc
+%description help
+
+
+%prep
+%autosetup -n hyperwallet-sdk-1.7.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-hyperwallet-sdk -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..99500fe
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0fe89a806086b372a60edbb2ee3e69a6 hyperwallet-sdk-1.7.1.tar.gz