diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:10:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:10:12 +0000 |
commit | fb536faa52e57852852af328e3f39e8dc6c4d431 (patch) | |
tree | 15de21633b2eae2a9c3999deefec459bad7e9da2 | |
parent | 2cf5da86c9d5dfd5e25af60f612a3161b432c874 (diff) |
automatic import of python-vega-api-clientopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-vega-api-client.spec | 90 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 92 insertions, 0 deletions
@@ -0,0 +1 @@ +/Vega%20API%20client-0.49.2.tar.gz diff --git a/python-vega-api-client.spec b/python-vega-api-client.spec new file mode 100644 index 0000000..b73254b --- /dev/null +++ b/python-vega-api-client.spec @@ -0,0 +1,90 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Vega-API-client +Version: 0.49.2 +Release: 1 +Summary: Vega API client for gRPC +License: MIT License +URL: https://github.com/vegaprotocol/api +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d2/45/0995e33c3d54e39d0a1e359dedd40340b666a6c47084fb85874bc3f299ec/Vega%20API%20client-0.49.2.tar.gz +BuildArch: noarch + +Requires: python3-googleapis-common-protos +Requires: python3-grpcio +Requires: python3-requests + +%description +# Vega Python SDK + +Version: 0.49.2 + + + + +%package -n python3-Vega-API-client +Summary: Vega API client for gRPC +Provides: python-Vega-API-client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Vega-API-client +# Vega Python SDK + +Version: 0.49.2 + + + + +%package help +Summary: Development documents and examples for Vega-API-client +Provides: python3-Vega-API-client-doc +%description help +# Vega Python SDK + +Version: 0.49.2 + + + + +%prep +%autosetup -n Vega-API-client-0.49.2 + +%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-Vega-API-client -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.49.2-1 +- Package Spec generated @@ -0,0 +1 @@ +ed5af53523f218e0e9ca8d5811379af8 Vega%20API%20client-0.49.2.tar.gz |