summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-redivis.spec137
-rw-r--r--sources1
3 files changed, 139 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..22986a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/redivis-0.10.0.tar.gz
diff --git a/python-redivis.spec b/python-redivis.spec
new file mode 100644
index 0000000..cd8225d
--- /dev/null
+++ b/python-redivis.spec
@@ -0,0 +1,137 @@
+%global _empty_manifest_terminate_build 0
+Name: python-redivis
+Version: 0.10.0
+Release: 1
+Summary: Redivis python client library
+License: MIT
+URL: https://github.com/redivis/redivis-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e5/b8/821216ee1a471e0a6afd179fb0fea8c1b11c6d78f1f5ff4eb563de6a9e73/redivis-0.10.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-pandas
+Requires: python3-tqdm
+Requires: python3-pyarrow
+Requires: python3-geopandas
+
+%description
+
+![Redivis Logo](https://github.com/redivis/redivis-python/raw/main/assets/logo_small.png)
+# redivis-python
+[Redivis](https://redivis.com) client library for python!
+
+Connect data on Redivis to the Python scientific stack, and script your data management tasks.
+
+## Beta disclaimer
+This library is currently in beta testing. Many of the interfaces are nearing stability, but there may still be backwards-incompatible changes in the future.
+
+Please report any issues or feature requests in the [issue tracker](https://github.com/redivis/redivis-python/issues).
+
+## Documentation
+Comprehensive documentation for this package is available at https://apidocs.redivis.com/client-libraries/redivis-python
+
+## Contributing
+Please report any issues or feature requests in the [issue tracker](https://github.com/redivis/redivis-python/issues)
+ — your feedback is much appreciated!
+
+
+
+
+%package -n python3-redivis
+Summary: Redivis python client library
+Provides: python-redivis
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-redivis
+
+![Redivis Logo](https://github.com/redivis/redivis-python/raw/main/assets/logo_small.png)
+# redivis-python
+[Redivis](https://redivis.com) client library for python!
+
+Connect data on Redivis to the Python scientific stack, and script your data management tasks.
+
+## Beta disclaimer
+This library is currently in beta testing. Many of the interfaces are nearing stability, but there may still be backwards-incompatible changes in the future.
+
+Please report any issues or feature requests in the [issue tracker](https://github.com/redivis/redivis-python/issues).
+
+## Documentation
+Comprehensive documentation for this package is available at https://apidocs.redivis.com/client-libraries/redivis-python
+
+## Contributing
+Please report any issues or feature requests in the [issue tracker](https://github.com/redivis/redivis-python/issues)
+ — your feedback is much appreciated!
+
+
+
+
+%package help
+Summary: Development documents and examples for redivis
+Provides: python3-redivis-doc
+%description help
+
+![Redivis Logo](https://github.com/redivis/redivis-python/raw/main/assets/logo_small.png)
+# redivis-python
+[Redivis](https://redivis.com) client library for python!
+
+Connect data on Redivis to the Python scientific stack, and script your data management tasks.
+
+## Beta disclaimer
+This library is currently in beta testing. Many of the interfaces are nearing stability, but there may still be backwards-incompatible changes in the future.
+
+Please report any issues or feature requests in the [issue tracker](https://github.com/redivis/redivis-python/issues).
+
+## Documentation
+Comprehensive documentation for this package is available at https://apidocs.redivis.com/client-libraries/redivis-python
+
+## Contributing
+Please report any issues or feature requests in the [issue tracker](https://github.com/redivis/redivis-python/issues)
+ — your feedback is much appreciated!
+
+
+
+
+%prep
+%autosetup -n redivis-0.10.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-redivis -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f6e189b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+696f5b8ce54eb664b1e06154409cfed2 redivis-0.10.0.tar.gz