%global _empty_manifest_terminate_build 0
Name:		python-kinetick
Version:	1.0.15
Release:	1
Summary:	Simplifying Trading
License:	LGPL
URL:		https://github.com/imvinaypatil/kinetick
Source0:	https://mirrors.aliyun.com/pypi/web/packages/55/4a/271bf5f4b891fdc6e65ddfc14413d4fccd3ecd066d3f76ae2ab8e84dbbfc/kinetick-1.0.15.tar.gz
BuildArch:	noarch

Requires:	python3-dateutil
Requires:	python3-numpy
Requires:	python3-pandas
Requires:	python3-pytz
Requires:	python3-requests
Requires:	python3-pyzmq
Requires:	python3-mongoengine
Requires:	python3-telegram-bot
Requires:	python3-paho-mqtt
Requires:	python3-TA-Lib
Requires:	python3-webull-12

%description
\
\
    Kinetick is a framework for creating and running trading strategies without worrying
    about integration with broker and data streams (currently integrates with zerodha [*]_).
    Kinetick is aimed to make systematic trading available for everyone.
Leave the heavy lifting to kinetick and you focus on building strategies.
WARNING
This project is still in its early stages, please be cautious when dealing with real money.
`Changelog » <./CHANGELOG.rst>`_

%package -n python3-kinetick
Summary:	Simplifying Trading
Provides:	python-kinetick
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
%description -n python3-kinetick
\
\
    Kinetick is a framework for creating and running trading strategies without worrying
    about integration with broker and data streams (currently integrates with zerodha [*]_).
    Kinetick is aimed to make systematic trading available for everyone.
Leave the heavy lifting to kinetick and you focus on building strategies.
WARNING
This project is still in its early stages, please be cautious when dealing with real money.
`Changelog » <./CHANGELOG.rst>`_

%package help
Summary:	Development documents and examples for kinetick
Provides:	python3-kinetick-doc
%description help
\
\
    Kinetick is a framework for creating and running trading strategies without worrying
    about integration with broker and data streams (currently integrates with zerodha [*]_).
    Kinetick is aimed to make systematic trading available for everyone.
Leave the heavy lifting to kinetick and you focus on building strategies.
WARNING
This project is still in its early stages, please be cautious when dealing with real money.
`Changelog » <./CHANGELOG.rst>`_

%prep
%autosetup -n kinetick-1.0.15

%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-kinetick -f filelist.lst
%dir %{python3_sitelib}/*

%files help -f doclist.lst
%{_docdir}/*

%changelog
* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.15-1
- Package Spec generated