summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 06:05:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 06:05:55 +0000
commit071c8f9b28c7db672727d17d6254d4ca5ac843b0 (patch)
treefb4c7d385105af6c98332baff3daaf0989d36127
parenta5cc938bb718d37b93f7b842cef41aafaf50919c (diff)
automatic import of python-tda-apiopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-tda-api.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..29f4cbc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tda-api-1.6.0.tar.gz
diff --git a/python-tda-api.spec b/python-tda-api.spec
new file mode 100644
index 0000000..cf50a7f
--- /dev/null
+++ b/python-tda-api.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tda-api
+Version: 1.6.0
+Release: 1
+Summary: An unofficial wrapper around the TD Ameritrade HTTP API.
+License: MIT
+URL: https://github.com/alexgolec/tda-api
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a1/55/95532c5e85e6610fb901c94452a392a3cbd8b3044cbaac9f1b501fef6fbd/tda-api-1.6.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-authlib
+Requires: python3-autopep8
+Requires: python3-httpx
+Requires: python3-prompt-toolkit
+Requires: python3-dateutil
+Requires: python3-selenium
+Requires: python3-websockets
+Requires: python3-asynctest
+Requires: python3-colorama
+Requires: python3-coverage
+Requires: python3-tox
+Requires: python3-nose
+Requires: python3-pytest
+Requires: python3-pytz
+Requires: python3-sphinx-rtd-theme
+Requires: python3-twine
+
+%description
+
+
+%package -n python3-tda-api
+Summary: An unofficial wrapper around the TD Ameritrade HTTP API.
+Provides: python-tda-api
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tda-api
+
+
+%package help
+Summary: Development documents and examples for tda-api
+Provides: python3-tda-api-doc
+%description help
+
+
+%prep
+%autosetup -n tda-api-1.6.0
+
+%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-tda-api -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.6.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..dc7345d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+43886589987602f4beae8e4a3d754dbb tda-api-1.6.0.tar.gz