diff options
Diffstat (limited to 'python-anaml-client.spec')
| -rw-r--r-- | python-anaml-client.spec | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/python-anaml-client.spec b/python-anaml-client.spec new file mode 100644 index 0000000..53721d8 --- /dev/null +++ b/python-anaml-client.spec @@ -0,0 +1,115 @@ +%global _empty_manifest_terminate_build 0 +Name: python-anaml-client +Version: 0.26.0 +Release: 1 +Summary: Python SDK for Anaml +License: Copyright 2020 Simple Machines Pty Ltd. All Rights Reserved +URL: https://anaml.com +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/00/f77d5fdb90ec8c8ac82c560899c8b721b66feccd2bdfa23fe7ce410b2447/anaml-client-0.26.0.tar.gz +BuildArch: noarch + +Requires: python3-isodate +Requires: python3-jsonschema +Requires: python3-requests +Requires: python3-s3fs +Requires: python3-gcsfs +Requires: python3-google-cloud-bigquery[bqstorage,pandas] +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-scipy +Requires: python3-matplotlib +Requires: python3-pandas +Requires: python3-seaborn +Requires: python3-pyspark +Requires: python3-flake8 +Requires: python3-flake8-copyright +Requires: python3-flake8-docstrings +Requires: python3-hypothesis[zoneinfo] +Requires: python3-parameterized +Requires: python3-pyarrow +Requires: python3-pytest +Requires: python3-pyspark +Requires: python3-pandas + +%description + +The Anaml Python SDK makes it easy to interact with the [Anaml][1] feature +engineering platform from Python. The SDK provides datatypes and methods to +interact with the Anaml REST API and to load Anaml feature data into Pandas +and/or Spark data frames. + +[1]: https://www.anaml.com/ + + +%package -n python3-anaml-client +Summary: Python SDK for Anaml +Provides: python-anaml-client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-anaml-client + +The Anaml Python SDK makes it easy to interact with the [Anaml][1] feature +engineering platform from Python. The SDK provides datatypes and methods to +interact with the Anaml REST API and to load Anaml feature data into Pandas +and/or Spark data frames. + +[1]: https://www.anaml.com/ + + +%package help +Summary: Development documents and examples for anaml-client +Provides: python3-anaml-client-doc +%description help + +The Anaml Python SDK makes it easy to interact with the [Anaml][1] feature +engineering platform from Python. The SDK provides datatypes and methods to +interact with the Anaml REST API and to load Anaml feature data into Pandas +and/or Spark data frames. + +[1]: https://www.anaml.com/ + + +%prep +%autosetup -n anaml-client-0.26.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-anaml-client -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.26.0-1 +- Package Spec generated |
