summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-zarr.spec436
-rw-r--r--sources1
3 files changed, 438 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..652be43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zarr-2.14.2.tar.gz
diff --git a/python-zarr.spec b/python-zarr.spec
new file mode 100644
index 0000000..081b6c0
--- /dev/null
+++ b/python-zarr.spec
@@ -0,0 +1,436 @@
+%global _empty_manifest_terminate_build 0
+Name: python-zarr
+Version: 2.14.2
+Release: 1
+Summary: An implementation of chunked, compressed, N-dimensional arrays for Python
+License: MIT
+URL: https://github.com/zarr-developers/zarr-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bd/12/cf2edf7da7a9bcd3c204d2723ec615dc3dc7ef1533bd4c84a165d20f0980/zarr-2.14.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-asciitree
+Requires: python3-numpy
+Requires: python3-fasteners
+Requires: python3-numcodecs
+Requires: python3-notebook
+Requires: python3-ipytree
+Requires: python3-ipywidgets
+
+%description
+<div align="center">
+ <img src="https://raw.githubusercontent.com/zarr-developers/community/main/logos/logo2.png"><br>
+</div>
+
+# Zarr
+
+<table>
+<tr>
+ <td>Latest Release</td>
+ <td>
+ <a href="https://pypi.org/project/zarr/">
+ <img src="https://badge.fury.io/py/zarr.svg" alt="latest release" />
+ </a>
+ </td>
+</tr>
+ <td></td>
+ <td>
+ <a href="https://anaconda.org/anaconda/zarr/">
+ <img src="https://anaconda.org/conda-forge/zarr/badges/version.svg" alt="latest release" />
+ </a>
+</td>
+</tr>
+<tr>
+ <td>Package Status</td>
+ <td>
+ <a href="https://pypi.org/project/zarr/">
+ <img src="https://img.shields.io/pypi/status/zarr.svg" alt="status" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>License</td>
+ <td>
+ <a href="https://github.com/zarr-developers/zarr-python/blob/main/LICENSE.txt">
+ <img src="https://img.shields.io/pypi/l/zarr.svg" alt="license" />
+ </a>
+</td>
+</tr>
+<tr>
+ <td>Build Status</td>
+ <td>
+ <a href="https://github.com/zarr-developers/zarr-python/blob/main/.github/workflows/python-package.yml">
+ <img src="https://github.com/zarr-developers/zarr-python/actions/workflows/python-package.yml/badge.svg" alt="build status" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Pre-commit Status</td>
+ <td>
+ <a href=""https://github.com/zarr-developers/zarr-python/blob/main/.pre-commit-config.yaml">
+ <img src="https://results.pre-commit.ci/badge/github/zarr-developers/zarr-python/main.svg" alt="pre-commit status" />
+ </a>
+ </td>
+</tr>
+
+<tr>
+ <td>Coverage</td>
+ <td>
+ <a href="https://codecov.io/gh/zarr-developers/zarr-python">
+ <img src="https://codecov.io/gh/zarr-developers/zarr-python/branch/main/graph/badge.svg"/ alt="coverage">
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Downloads</td>
+ <td>
+ <a href="https://zarr.readthedocs.io">
+ <img src="https://pepy.tech/badge/zarr" alt="pypi downloads" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Gitter</td>
+ <td>
+ <a href="https://gitter.im/zarr-developers/community">
+ <img src="https://badges.gitter.im/zarr-developers/community.svg" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Citation</td>
+ <td>
+ <a href="https://doi.org/10.5281/zenodo.3773450">
+ <img src="https://zenodo.org/badge/DOI/10.5281/zenodo.3773450.svg" alt="DOI">
+ </a>
+ </td>
+</tr>
+
+</table>
+
+## What is it?
+
+Zarr is a Python package providing an implementation of compressed, chunked, N-dimensional arrays, designed for use in parallel computing. See the [documentation](https://zarr.readthedocs.io) for more information.
+
+## Main Features
+
+- [**Create**](https://zarr.readthedocs.io/en/stable/tutorial.html#creating-an-array) N-dimensional arrays with any NumPy `dtype`.
+- [**Chunk arrays**](https://zarr.readthedocs.io/en/stable/tutorial.html#chunk-optimizations) along any dimension.
+- [**Compress**](https://zarr.readthedocs.io/en/stable/tutorial.html#compressors) and/or filter chunks using any NumCodecs codec.
+- [**Store arrays**](https://zarr.readthedocs.io/en/stable/tutorial.html#tutorial-storage) in memory, on disk, inside a zip file, on S3, etc...
+- [**Read**](https://zarr.readthedocs.io/en/stable/tutorial.html#reading-and-writing-data) an array [**concurrently**](https://zarr.readthedocs.io/en/stable/tutorial.html#parallel-computing-and-synchronization) from multiple threads or processes.
+- Write to an array concurrently from multiple threads or processes.
+- Organize arrays into hierarchies via [**groups**](https://zarr.readthedocs.io/en/stable/tutorial.html#groups).
+
+## Where to get it
+
+Zarr can be installed from PyPI using `pip`:
+
+```bash
+pip install zarr
+```
+
+or via `conda`:
+
+```bash
+conda install -c conda-forge zarr
+```
+
+For more details, including how to install from source, see the [installation documentation](https://zarr.readthedocs.io/en/stable/index.html#installation).
+
+
+%package -n python3-zarr
+Summary: An implementation of chunked, compressed, N-dimensional arrays for Python
+Provides: python-zarr
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-zarr
+<div align="center">
+ <img src="https://raw.githubusercontent.com/zarr-developers/community/main/logos/logo2.png"><br>
+</div>
+
+# Zarr
+
+<table>
+<tr>
+ <td>Latest Release</td>
+ <td>
+ <a href="https://pypi.org/project/zarr/">
+ <img src="https://badge.fury.io/py/zarr.svg" alt="latest release" />
+ </a>
+ </td>
+</tr>
+ <td></td>
+ <td>
+ <a href="https://anaconda.org/anaconda/zarr/">
+ <img src="https://anaconda.org/conda-forge/zarr/badges/version.svg" alt="latest release" />
+ </a>
+</td>
+</tr>
+<tr>
+ <td>Package Status</td>
+ <td>
+ <a href="https://pypi.org/project/zarr/">
+ <img src="https://img.shields.io/pypi/status/zarr.svg" alt="status" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>License</td>
+ <td>
+ <a href="https://github.com/zarr-developers/zarr-python/blob/main/LICENSE.txt">
+ <img src="https://img.shields.io/pypi/l/zarr.svg" alt="license" />
+ </a>
+</td>
+</tr>
+<tr>
+ <td>Build Status</td>
+ <td>
+ <a href="https://github.com/zarr-developers/zarr-python/blob/main/.github/workflows/python-package.yml">
+ <img src="https://github.com/zarr-developers/zarr-python/actions/workflows/python-package.yml/badge.svg" alt="build status" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Pre-commit Status</td>
+ <td>
+ <a href=""https://github.com/zarr-developers/zarr-python/blob/main/.pre-commit-config.yaml">
+ <img src="https://results.pre-commit.ci/badge/github/zarr-developers/zarr-python/main.svg" alt="pre-commit status" />
+ </a>
+ </td>
+</tr>
+
+<tr>
+ <td>Coverage</td>
+ <td>
+ <a href="https://codecov.io/gh/zarr-developers/zarr-python">
+ <img src="https://codecov.io/gh/zarr-developers/zarr-python/branch/main/graph/badge.svg"/ alt="coverage">
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Downloads</td>
+ <td>
+ <a href="https://zarr.readthedocs.io">
+ <img src="https://pepy.tech/badge/zarr" alt="pypi downloads" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Gitter</td>
+ <td>
+ <a href="https://gitter.im/zarr-developers/community">
+ <img src="https://badges.gitter.im/zarr-developers/community.svg" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Citation</td>
+ <td>
+ <a href="https://doi.org/10.5281/zenodo.3773450">
+ <img src="https://zenodo.org/badge/DOI/10.5281/zenodo.3773450.svg" alt="DOI">
+ </a>
+ </td>
+</tr>
+
+</table>
+
+## What is it?
+
+Zarr is a Python package providing an implementation of compressed, chunked, N-dimensional arrays, designed for use in parallel computing. See the [documentation](https://zarr.readthedocs.io) for more information.
+
+## Main Features
+
+- [**Create**](https://zarr.readthedocs.io/en/stable/tutorial.html#creating-an-array) N-dimensional arrays with any NumPy `dtype`.
+- [**Chunk arrays**](https://zarr.readthedocs.io/en/stable/tutorial.html#chunk-optimizations) along any dimension.
+- [**Compress**](https://zarr.readthedocs.io/en/stable/tutorial.html#compressors) and/or filter chunks using any NumCodecs codec.
+- [**Store arrays**](https://zarr.readthedocs.io/en/stable/tutorial.html#tutorial-storage) in memory, on disk, inside a zip file, on S3, etc...
+- [**Read**](https://zarr.readthedocs.io/en/stable/tutorial.html#reading-and-writing-data) an array [**concurrently**](https://zarr.readthedocs.io/en/stable/tutorial.html#parallel-computing-and-synchronization) from multiple threads or processes.
+- Write to an array concurrently from multiple threads or processes.
+- Organize arrays into hierarchies via [**groups**](https://zarr.readthedocs.io/en/stable/tutorial.html#groups).
+
+## Where to get it
+
+Zarr can be installed from PyPI using `pip`:
+
+```bash
+pip install zarr
+```
+
+or via `conda`:
+
+```bash
+conda install -c conda-forge zarr
+```
+
+For more details, including how to install from source, see the [installation documentation](https://zarr.readthedocs.io/en/stable/index.html#installation).
+
+
+%package help
+Summary: Development documents and examples for zarr
+Provides: python3-zarr-doc
+%description help
+<div align="center">
+ <img src="https://raw.githubusercontent.com/zarr-developers/community/main/logos/logo2.png"><br>
+</div>
+
+# Zarr
+
+<table>
+<tr>
+ <td>Latest Release</td>
+ <td>
+ <a href="https://pypi.org/project/zarr/">
+ <img src="https://badge.fury.io/py/zarr.svg" alt="latest release" />
+ </a>
+ </td>
+</tr>
+ <td></td>
+ <td>
+ <a href="https://anaconda.org/anaconda/zarr/">
+ <img src="https://anaconda.org/conda-forge/zarr/badges/version.svg" alt="latest release" />
+ </a>
+</td>
+</tr>
+<tr>
+ <td>Package Status</td>
+ <td>
+ <a href="https://pypi.org/project/zarr/">
+ <img src="https://img.shields.io/pypi/status/zarr.svg" alt="status" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>License</td>
+ <td>
+ <a href="https://github.com/zarr-developers/zarr-python/blob/main/LICENSE.txt">
+ <img src="https://img.shields.io/pypi/l/zarr.svg" alt="license" />
+ </a>
+</td>
+</tr>
+<tr>
+ <td>Build Status</td>
+ <td>
+ <a href="https://github.com/zarr-developers/zarr-python/blob/main/.github/workflows/python-package.yml">
+ <img src="https://github.com/zarr-developers/zarr-python/actions/workflows/python-package.yml/badge.svg" alt="build status" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Pre-commit Status</td>
+ <td>
+ <a href=""https://github.com/zarr-developers/zarr-python/blob/main/.pre-commit-config.yaml">
+ <img src="https://results.pre-commit.ci/badge/github/zarr-developers/zarr-python/main.svg" alt="pre-commit status" />
+ </a>
+ </td>
+</tr>
+
+<tr>
+ <td>Coverage</td>
+ <td>
+ <a href="https://codecov.io/gh/zarr-developers/zarr-python">
+ <img src="https://codecov.io/gh/zarr-developers/zarr-python/branch/main/graph/badge.svg"/ alt="coverage">
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Downloads</td>
+ <td>
+ <a href="https://zarr.readthedocs.io">
+ <img src="https://pepy.tech/badge/zarr" alt="pypi downloads" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Gitter</td>
+ <td>
+ <a href="https://gitter.im/zarr-developers/community">
+ <img src="https://badges.gitter.im/zarr-developers/community.svg" />
+ </a>
+ </td>
+</tr>
+<tr>
+ <td>Citation</td>
+ <td>
+ <a href="https://doi.org/10.5281/zenodo.3773450">
+ <img src="https://zenodo.org/badge/DOI/10.5281/zenodo.3773450.svg" alt="DOI">
+ </a>
+ </td>
+</tr>
+
+</table>
+
+## What is it?
+
+Zarr is a Python package providing an implementation of compressed, chunked, N-dimensional arrays, designed for use in parallel computing. See the [documentation](https://zarr.readthedocs.io) for more information.
+
+## Main Features
+
+- [**Create**](https://zarr.readthedocs.io/en/stable/tutorial.html#creating-an-array) N-dimensional arrays with any NumPy `dtype`.
+- [**Chunk arrays**](https://zarr.readthedocs.io/en/stable/tutorial.html#chunk-optimizations) along any dimension.
+- [**Compress**](https://zarr.readthedocs.io/en/stable/tutorial.html#compressors) and/or filter chunks using any NumCodecs codec.
+- [**Store arrays**](https://zarr.readthedocs.io/en/stable/tutorial.html#tutorial-storage) in memory, on disk, inside a zip file, on S3, etc...
+- [**Read**](https://zarr.readthedocs.io/en/stable/tutorial.html#reading-and-writing-data) an array [**concurrently**](https://zarr.readthedocs.io/en/stable/tutorial.html#parallel-computing-and-synchronization) from multiple threads or processes.
+- Write to an array concurrently from multiple threads or processes.
+- Organize arrays into hierarchies via [**groups**](https://zarr.readthedocs.io/en/stable/tutorial.html#groups).
+
+## Where to get it
+
+Zarr can be installed from PyPI using `pip`:
+
+```bash
+pip install zarr
+```
+
+or via `conda`:
+
+```bash
+conda install -c conda-forge zarr
+```
+
+For more details, including how to install from source, see the [installation documentation](https://zarr.readthedocs.io/en/stable/index.html#installation).
+
+
+%prep
+%autosetup -n zarr-2.14.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-zarr -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.14.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..cc0bba0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+57cafb5b6201b3a5865d2fdc0069a878 zarr-2.14.2.tar.gz