summaryrefslogtreecommitdiff
path: root/python-tiledb.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-tiledb.spec')
-rw-r--r--python-tiledb.spec207
1 files changed, 207 insertions, 0 deletions
diff --git a/python-tiledb.spec b/python-tiledb.spec
new file mode 100644
index 0000000..6f3bcbd
--- /dev/null
+++ b/python-tiledb.spec
@@ -0,0 +1,207 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tiledb
+Version: 0.21.2
+Release: 1
+Summary: Pythonic interface to the TileDB array storage manager
+License: MIT
+URL: https://github.com/TileDB-Inc/TileDB-Py
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/1f/2e123d8244a4306d368337e093472fa6fb19ae2554de907a922af1d16dfa/tiledb-0.21.2.tar.gz
+
+Requires: python3-packaging
+Requires: python3-numpy
+Requires: python3-numpy
+Requires: python3-contextvars
+Requires: python3-dataclasses
+Requires: python3-numpy
+Requires: python3-numpy
+
+%description
+<a href="https://tiledb.com"><img src="https://github.com/TileDB-Inc/TileDB/raw/dev/doc/source/_static/tiledb-logo_color_no_margin_@4x.png" alt="TileDB logo" width="400"></a>
+
+
+[![Build Status](https://dev.azure.com/TileDB-Inc/CI/_apis/build/status/TileDB-Inc.TileDB-Py?branchName=dev)](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=1&branchName=dev)
+![](https://raw.githubusercontent.com/TileDB-Inc/TileDB/dev/doc/anaconda.svg?sanitize=true)[![Anaconda download count badge](https://anaconda.org/conda-forge/TileDB-Py/badges/downloads.svg)](https://anaconda.org/conda-forge/TileDB-Py)
+
+
+# TileDB-Py
+
+*TileDB-Py* is a [Python](https://python.org) interface to the [TileDB Storage Engine](https://github.com/TileDB-Inc/TileDB).
+
+# Quick Links
+
+* [Installation](https://docs.tiledb.com/developer/installation/quick-install)
+* [Build Instructions](https://docs.tiledb.com/main/how-to/installation/building-from-source/python)
+* [TileDB Documentation](https://docs.tiledb.com/main/)
+* [Python API reference](https://tiledb-inc-tiledb-py.readthedocs-hosted.com/en/stable)
+
+# Quick Installation
+
+TileDB-Py is available from either [PyPI](https://pypi.org/project/tiledb/) with ``pip``:
+
+```
+pip install tiledb
+```
+
+or from [conda-forge](https://anaconda.org/conda-forge/tiledb-py) with
+[conda](https://conda.io/docs/) or [mamba](https://github.com/mamba-org/mamba#installation):
+
+```
+conda install -c conda-forge tiledb-py
+```
+
+Dataframes functionality (`tiledb.from_pandas`, `Array.df[]`) requires [Pandas](https://pandas.pydata.org/) 1.0 or higher, and [PyArrow](https://arrow.apache.org/docs/python/) 1.0 or higher.
+
+# Contributing
+
+We welcome contributions, please see [`CONTRIBUTING.md`](CONTRIBUTING.md) for suggestions and
+development-build instructions. For larger features, please open an issue to discuss goals and
+approach in order to ensure a smooth PR integration and review process.
+
+
+
+
+%package -n python3-tiledb
+Summary: Pythonic interface to the TileDB array storage manager
+Provides: python-tiledb
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-tiledb
+<a href="https://tiledb.com"><img src="https://github.com/TileDB-Inc/TileDB/raw/dev/doc/source/_static/tiledb-logo_color_no_margin_@4x.png" alt="TileDB logo" width="400"></a>
+
+
+[![Build Status](https://dev.azure.com/TileDB-Inc/CI/_apis/build/status/TileDB-Inc.TileDB-Py?branchName=dev)](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=1&branchName=dev)
+![](https://raw.githubusercontent.com/TileDB-Inc/TileDB/dev/doc/anaconda.svg?sanitize=true)[![Anaconda download count badge](https://anaconda.org/conda-forge/TileDB-Py/badges/downloads.svg)](https://anaconda.org/conda-forge/TileDB-Py)
+
+
+# TileDB-Py
+
+*TileDB-Py* is a [Python](https://python.org) interface to the [TileDB Storage Engine](https://github.com/TileDB-Inc/TileDB).
+
+# Quick Links
+
+* [Installation](https://docs.tiledb.com/developer/installation/quick-install)
+* [Build Instructions](https://docs.tiledb.com/main/how-to/installation/building-from-source/python)
+* [TileDB Documentation](https://docs.tiledb.com/main/)
+* [Python API reference](https://tiledb-inc-tiledb-py.readthedocs-hosted.com/en/stable)
+
+# Quick Installation
+
+TileDB-Py is available from either [PyPI](https://pypi.org/project/tiledb/) with ``pip``:
+
+```
+pip install tiledb
+```
+
+or from [conda-forge](https://anaconda.org/conda-forge/tiledb-py) with
+[conda](https://conda.io/docs/) or [mamba](https://github.com/mamba-org/mamba#installation):
+
+```
+conda install -c conda-forge tiledb-py
+```
+
+Dataframes functionality (`tiledb.from_pandas`, `Array.df[]`) requires [Pandas](https://pandas.pydata.org/) 1.0 or higher, and [PyArrow](https://arrow.apache.org/docs/python/) 1.0 or higher.
+
+# Contributing
+
+We welcome contributions, please see [`CONTRIBUTING.md`](CONTRIBUTING.md) for suggestions and
+development-build instructions. For larger features, please open an issue to discuss goals and
+approach in order to ensure a smooth PR integration and review process.
+
+
+
+
+%package help
+Summary: Development documents and examples for tiledb
+Provides: python3-tiledb-doc
+%description help
+<a href="https://tiledb.com"><img src="https://github.com/TileDB-Inc/TileDB/raw/dev/doc/source/_static/tiledb-logo_color_no_margin_@4x.png" alt="TileDB logo" width="400"></a>
+
+
+[![Build Status](https://dev.azure.com/TileDB-Inc/CI/_apis/build/status/TileDB-Inc.TileDB-Py?branchName=dev)](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=1&branchName=dev)
+![](https://raw.githubusercontent.com/TileDB-Inc/TileDB/dev/doc/anaconda.svg?sanitize=true)[![Anaconda download count badge](https://anaconda.org/conda-forge/TileDB-Py/badges/downloads.svg)](https://anaconda.org/conda-forge/TileDB-Py)
+
+
+# TileDB-Py
+
+*TileDB-Py* is a [Python](https://python.org) interface to the [TileDB Storage Engine](https://github.com/TileDB-Inc/TileDB).
+
+# Quick Links
+
+* [Installation](https://docs.tiledb.com/developer/installation/quick-install)
+* [Build Instructions](https://docs.tiledb.com/main/how-to/installation/building-from-source/python)
+* [TileDB Documentation](https://docs.tiledb.com/main/)
+* [Python API reference](https://tiledb-inc-tiledb-py.readthedocs-hosted.com/en/stable)
+
+# Quick Installation
+
+TileDB-Py is available from either [PyPI](https://pypi.org/project/tiledb/) with ``pip``:
+
+```
+pip install tiledb
+```
+
+or from [conda-forge](https://anaconda.org/conda-forge/tiledb-py) with
+[conda](https://conda.io/docs/) or [mamba](https://github.com/mamba-org/mamba#installation):
+
+```
+conda install -c conda-forge tiledb-py
+```
+
+Dataframes functionality (`tiledb.from_pandas`, `Array.df[]`) requires [Pandas](https://pandas.pydata.org/) 1.0 or higher, and [PyArrow](https://arrow.apache.org/docs/python/) 1.0 or higher.
+
+# Contributing
+
+We welcome contributions, please see [`CONTRIBUTING.md`](CONTRIBUTING.md) for suggestions and
+development-build instructions. For larger features, please open an issue to discuss goals and
+approach in order to ensure a smooth PR integration and review process.
+
+
+
+
+%prep
+%autosetup -n tiledb-0.21.2
+
+%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-tiledb -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.21.2-1
+- Package Spec generated