summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-tqsdk.spec16
-rw-r--r--sources2
3 files changed, 10 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index a62e107..41a12f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tqsdk-3.3.0.tar.gz
+/tqsdk-3.4.0.tar.gz
diff --git a/python-tqsdk.spec b/python-tqsdk.spec
index d001367..9831b95 100644
--- a/python-tqsdk.spec
+++ b/python-tqsdk.spec
@@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-tqsdk
-Version: 3.3.0
+Version: 3.4.0
Release: 1
Summary: TianQin SDK
License: Apache Software License
URL: https://www.shinnytech.com/tqsdk
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/56/f7/422cea722db7f87778f0ed961faf60309e2409af14b1436d7c37bab883e9/tqsdk-3.3.0.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d0/f7/defac9a45b10b43fbaf16e9e8d543986cb864eb1fefa059063c8f9422870/tqsdk-3.4.0.tar.gz
+BuildArch: noarch
Requires: python3-websockets
Requires: python3-requests
@@ -20,6 +21,8 @@ Requires: python3-psutil
Requires: python3-shinny-structlog
Requires: python3-sgqlc
Requires: python3-filelock
+Requires: python3-tqsdk-ctpse
+Requires: python3-tqsdk-sm
%description
TqSdk 是一个由[信易科技](https://www.shinnytech.com)发起并贡献主要代码的开源 python 库.
@@ -53,9 +56,6 @@ Provides: python-tqsdk
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
-BuildRequires: python3-cffi
-BuildRequires: gcc
-BuildRequires: gdb
%description -n python3-tqsdk
TqSdk 是一个由[信易科技](https://www.shinnytech.com)发起并贡献主要代码的开源 python 库.
依托[快期多年积累成熟的交易及行情服务器体系](https://www.shinnytech.com/diff), TqSdk 支持用户使用极少的代码量构建各种类型的量化交易策略程序,
@@ -112,7 +112,7 @@ while True:
要快速了解如何使用TqSdk, 可以访问我们的 [十分钟快速入门指南](https://doc.shinnytech.com/tqsdk/latest/quickstart.html).
%prep
-%autosetup -n tqsdk-3.3.0
+%autosetup -n tqsdk-3.4.0
%build
%py3_build
@@ -146,11 +146,11 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-tqsdk -f filelist.lst
-%dir %{python3_sitearch}/*
+%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
-* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.0-1
+* Sun Apr 23 2023 Python_Bot <Python_Bot@openeuler.org> - 3.4.0-1
- Package Spec generated
diff --git a/sources b/sources
index e4e13fd..526c676 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1299b5bd4591df0d23c7fecd674a3f67 tqsdk-3.3.0.tar.gz
+7ec86fa21c9c1a5a27e918930e658e04 tqsdk-3.4.0.tar.gz