diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 08:12:59 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 08:12:59 +0000 |
| commit | 5a4c6996a58c7b390a92439b203fecb94f9e99f8 (patch) | |
| tree | 4f679ed0ce00f443a54d535f434c02e58f5be60b /python-tiledb.spec | |
| parent | 23d291b6425a99b07acaa0b34ea461fa1e3e12d4 (diff) | |
automatic import of python-tiledb
Diffstat (limited to 'python-tiledb.spec')
| -rw-r--r-- | python-tiledb.spec | 207 |
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> + + +[](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=1&branchName=dev) +[](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> + + +[](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=1&branchName=dev) +[](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> + + +[](https://dev.azure.com/TileDB-Inc/CI/_build/latest?definitionId=1&branchName=dev) +[](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 |
