summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 00:18:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 00:18:45 +0000
commitd4ab9dac63a02e74a06e68239fb743c670a18f43 (patch)
tree5a116bfeb549030e2f6d290551e15b3de849ae24
parentd8edca559450fc4dc2b680e80b496c47300e0b77 (diff)
automatic import of python-polygon-api-client
-rw-r--r--.gitignore1
-rw-r--r--python-polygon-api-client.spec75
-rw-r--r--sources1
3 files changed, 77 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c2f894f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/polygon_api_client-1.8.5.tar.gz
diff --git a/python-polygon-api-client.spec b/python-polygon-api-client.spec
new file mode 100644
index 0000000..7888fae
--- /dev/null
+++ b/python-polygon-api-client.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-polygon-api-client
+Version: 1.8.5
+Release: 1
+Summary: Official Polygon.io REST and Websocket client.
+License: MIT
+URL: https://polygon.io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/39/ad/f896654d03e62972edc910c9b86060ceb472aec378dd575146fb8012e221/polygon_api_client-1.8.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-urllib3
+Requires: python3-websockets
+Requires: python3-certifi
+
+%description
+
+
+%package -n python3-polygon-api-client
+Summary: Official Polygon.io REST and Websocket client.
+Provides: python-polygon-api-client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-polygon-api-client
+
+
+%package help
+Summary: Development documents and examples for polygon-api-client
+Provides: python3-polygon-api-client-doc
+%description help
+
+
+%prep
+%autosetup -n polygon-api-client-1.8.5
+
+%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-polygon-api-client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a9af0b3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bc8d6017a797bdfe00677f7a4e0ff283 polygon_api_client-1.8.5.tar.gz