summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:43:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:43:16 +0000
commita875a5b3a2ebeebea45566bb140b49ddb12a23c4 (patch)
tree25402b1ed37b9212ad3aa00947c416967e70c8e9
parent3c1b72eb70809e6681d4607dcc2f4c84925768f4 (diff)
automatic import of python-esmvalcore
-rw-r--r--.gitignore1
-rw-r--r--python-esmvalcore.spec339
-rw-r--r--sources1
3 files changed, 341 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3556ef8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ESMValCore-2.8.0.tar.gz
diff --git a/python-esmvalcore.spec b/python-esmvalcore.spec
new file mode 100644
index 0000000..f044564
--- /dev/null
+++ b/python-esmvalcore.spec
@@ -0,0 +1,339 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ESMValCore
+Version: 2.8.0
+Release: 1
+Summary: ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts.
+License: Apache License, Version 2.0
+URL: https://www.esmvaltool.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/06/01/57a7be535bc86fbf713fca79feae980d2ed1ac010498a1c3eb77811f9178/ESMValCore-2.8.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-cartopy
+Requires: python3-cf-units
+Requires: python3-dask[array]
+Requires: python3-esgf-pyclient
+Requires: python3-esmf-regrid
+Requires: python3-esmpy
+Requires: python3-filelock
+Requires: python3-fiona
+Requires: python3-fire
+Requires: python3-geopy
+Requires: python3-humanfriendly
+Requires: python3-isodate
+Requires: python3-jinja2
+Requires: python3-nc-time-axis
+Requires: python3-nested-lookup
+Requires: python3-netCDF4
+Requires: python3-numpy
+Requires: python3-packaging
+Requires: python3-pandas
+Requires: python3-pillow
+Requires: python3-prov
+Requires: python3-psutil
+Requires: python3-py-cordex
+Requires: python3-pybtex
+Requires: python3-pyyaml
+Requires: python3-requests
+Requires: python3-scipy
+Requires: python3-scitools-iris
+Requires: python3-shapely[vectorized]
+Requires: python3-stratify
+Requires: python3-yamale
+Requires: python3-importlib-resources
+Requires: python3-codespell
+Requires: python3-docformatter
+Requires: python3-isort
+Requires: python3-pre-commit
+Requires: python3-prospector[with_mypy,with_pyroma]
+Requires: python3-vprof
+Requires: python3-yamllint
+Requires: python3-yapf
+Requires: python3-flake8
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-env
+Requires: python3-pytest-html
+Requires: python3-pytest-metadata
+Requires: python3-pytest-mypy
+Requires: python3-pytest-mock
+Requires: python3-pytest-xdist
+Requires: python3-ESMValTool-sample-data
+Requires: python3-mypy
+Requires: python3-types-requests
+Requires: python3-types-pkg-resources
+Requires: python3-types-PyYAML
+Requires: python3-autodocsumm
+Requires: python3-ipython
+Requires: python3-nbsphinx
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-autodocsumm
+Requires: python3-ipython
+Requires: python3-nbsphinx
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-flake8
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-env
+Requires: python3-pytest-html
+Requires: python3-pytest-metadata
+Requires: python3-pytest-mypy
+Requires: python3-pytest-mock
+Requires: python3-pytest-xdist
+Requires: python3-ESMValTool-sample-data
+Requires: python3-mypy
+Requires: python3-types-requests
+Requires: python3-types-pkg-resources
+Requires: python3-types-PyYAML
+
+%description
+# ESMValCore package
+
+[![Documentation Status](https://readthedocs.org/projects/esmvalcore/badge/?version=latest)](https://esmvaltool.readthedocs.io/en/latest/?badge=latest)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3387139.svg)](https://doi.org/10.5281/zenodo.3387139)
+[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ESMValGroup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![CircleCI](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main.svg?style=svg)](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main)
+[![codecov](https://codecov.io/gh/ESMValGroup/ESMValCore/branch/main/graph/badge.svg?token=wQnDzguwq6)](https://codecov.io/gh/ESMValGroup/ESMValCore)
+[![Codacy Badge](https://app.codacy.com/project/badge/Grade/5d496dea9ef64ec68e448a6df5a65783)](https://www.codacy.com/gh/ESMValGroup/ESMValCore?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=ESMValGroup/ESMValCore&amp;utm_campaign=Badge_Grade)
+[![Docker Build Status](https://img.shields.io/docker/cloud/build/esmvalgroup/esmvalcore)](https://hub.docker.com/r/esmvalgroup/esmvalcore/)
+[![Anaconda-Server Badge](https://anaconda.org/conda-forge/esmvalcore/badges/version.svg)](https://anaconda.org/conda-forge/esmvalcore)
+[![Github Actions Test](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml)
+[![Github Actions Dashboard](https://api.meercode.io/badge/ESMValGroup/ESMValCore?type=ci-success-rate&branch=main&lastDay=14)](https://meercode.io)
+
+![esmvaltoollogo](https://github.com/ESMValGroup/ESMValCore/blob/main/doc/figures/ESMValTool-logo-2.png)
+
+ESMValCore: core functionalities for the ESMValTool, a community diagnostic
+and performance metrics tool for routine evaluation of Earth System Models
+in the Climate Model Intercomparison Project (CMIP).
+
+# Getting started
+
+Please have a look at the
+[documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/quickstart/install.html)
+to get started.
+
+## Using the ESMValCore package to run recipes
+
+The ESMValCore package provides the `esmvaltool` command, which can be used to run
+[recipes](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html)
+for working with CMIP-like data.
+A large collection of ready to use
+[recipes and diagnostics](https://docs.esmvaltool.org/en/latest/recipes/index.html)
+is provided by the
+[ESMValTool](https://github.com/ESMValGroup/ESMValTool)
+package.
+
+## Using ESMValCore as a Python library
+
+The ESMValCore package provides various functions for:
+
+- Finding data in a directory structure typically used for CMIP data.
+
+- Reading CMIP/CMOR tables and using those to check model and observational data.
+
+- ESMValTool preprocessor functions based on
+ [iris](https://scitools-iris.readthedocs.io) for e.g. regridding,
+ vertical interpolation, statistics, correcting (meta)data errors, extracting
+ a time range, etcetera.
+
+read all about it in the
+[API documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/api/esmvalcore.html).
+
+## Getting help
+
+The easiest way to get help if you cannot find the answer in the documentation
+on [readthedocs](https://docs.esmvaltool.org), is to open an
+[issue on GitHub](https://github.com/ESMValGroup/ESMValCore/issues).
+
+## Contributing
+
+Contributions are very welcome, please read our
+[contribution guidelines](https://docs.esmvaltool.org/projects/ESMValCore/en/latest/contributing.html)
+to get started.
+
+
+%package -n python3-ESMValCore
+Summary: ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts.
+Provides: python-ESMValCore
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ESMValCore
+# ESMValCore package
+
+[![Documentation Status](https://readthedocs.org/projects/esmvalcore/badge/?version=latest)](https://esmvaltool.readthedocs.io/en/latest/?badge=latest)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3387139.svg)](https://doi.org/10.5281/zenodo.3387139)
+[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ESMValGroup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![CircleCI](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main.svg?style=svg)](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main)
+[![codecov](https://codecov.io/gh/ESMValGroup/ESMValCore/branch/main/graph/badge.svg?token=wQnDzguwq6)](https://codecov.io/gh/ESMValGroup/ESMValCore)
+[![Codacy Badge](https://app.codacy.com/project/badge/Grade/5d496dea9ef64ec68e448a6df5a65783)](https://www.codacy.com/gh/ESMValGroup/ESMValCore?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=ESMValGroup/ESMValCore&amp;utm_campaign=Badge_Grade)
+[![Docker Build Status](https://img.shields.io/docker/cloud/build/esmvalgroup/esmvalcore)](https://hub.docker.com/r/esmvalgroup/esmvalcore/)
+[![Anaconda-Server Badge](https://anaconda.org/conda-forge/esmvalcore/badges/version.svg)](https://anaconda.org/conda-forge/esmvalcore)
+[![Github Actions Test](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml)
+[![Github Actions Dashboard](https://api.meercode.io/badge/ESMValGroup/ESMValCore?type=ci-success-rate&branch=main&lastDay=14)](https://meercode.io)
+
+![esmvaltoollogo](https://github.com/ESMValGroup/ESMValCore/blob/main/doc/figures/ESMValTool-logo-2.png)
+
+ESMValCore: core functionalities for the ESMValTool, a community diagnostic
+and performance metrics tool for routine evaluation of Earth System Models
+in the Climate Model Intercomparison Project (CMIP).
+
+# Getting started
+
+Please have a look at the
+[documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/quickstart/install.html)
+to get started.
+
+## Using the ESMValCore package to run recipes
+
+The ESMValCore package provides the `esmvaltool` command, which can be used to run
+[recipes](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html)
+for working with CMIP-like data.
+A large collection of ready to use
+[recipes and diagnostics](https://docs.esmvaltool.org/en/latest/recipes/index.html)
+is provided by the
+[ESMValTool](https://github.com/ESMValGroup/ESMValTool)
+package.
+
+## Using ESMValCore as a Python library
+
+The ESMValCore package provides various functions for:
+
+- Finding data in a directory structure typically used for CMIP data.
+
+- Reading CMIP/CMOR tables and using those to check model and observational data.
+
+- ESMValTool preprocessor functions based on
+ [iris](https://scitools-iris.readthedocs.io) for e.g. regridding,
+ vertical interpolation, statistics, correcting (meta)data errors, extracting
+ a time range, etcetera.
+
+read all about it in the
+[API documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/api/esmvalcore.html).
+
+## Getting help
+
+The easiest way to get help if you cannot find the answer in the documentation
+on [readthedocs](https://docs.esmvaltool.org), is to open an
+[issue on GitHub](https://github.com/ESMValGroup/ESMValCore/issues).
+
+## Contributing
+
+Contributions are very welcome, please read our
+[contribution guidelines](https://docs.esmvaltool.org/projects/ESMValCore/en/latest/contributing.html)
+to get started.
+
+
+%package help
+Summary: Development documents and examples for ESMValCore
+Provides: python3-ESMValCore-doc
+%description help
+# ESMValCore package
+
+[![Documentation Status](https://readthedocs.org/projects/esmvalcore/badge/?version=latest)](https://esmvaltool.readthedocs.io/en/latest/?badge=latest)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3387139.svg)](https://doi.org/10.5281/zenodo.3387139)
+[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ESMValGroup?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![CircleCI](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main.svg?style=svg)](https://circleci.com/gh/ESMValGroup/ESMValCore/tree/main)
+[![codecov](https://codecov.io/gh/ESMValGroup/ESMValCore/branch/main/graph/badge.svg?token=wQnDzguwq6)](https://codecov.io/gh/ESMValGroup/ESMValCore)
+[![Codacy Badge](https://app.codacy.com/project/badge/Grade/5d496dea9ef64ec68e448a6df5a65783)](https://www.codacy.com/gh/ESMValGroup/ESMValCore?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=ESMValGroup/ESMValCore&amp;utm_campaign=Badge_Grade)
+[![Docker Build Status](https://img.shields.io/docker/cloud/build/esmvalgroup/esmvalcore)](https://hub.docker.com/r/esmvalgroup/esmvalcore/)
+[![Anaconda-Server Badge](https://anaconda.org/conda-forge/esmvalcore/badges/version.svg)](https://anaconda.org/conda-forge/esmvalcore)
+[![Github Actions Test](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ESMValGroup/ESMValCore/actions/workflows/run-tests.yml)
+[![Github Actions Dashboard](https://api.meercode.io/badge/ESMValGroup/ESMValCore?type=ci-success-rate&branch=main&lastDay=14)](https://meercode.io)
+
+![esmvaltoollogo](https://github.com/ESMValGroup/ESMValCore/blob/main/doc/figures/ESMValTool-logo-2.png)
+
+ESMValCore: core functionalities for the ESMValTool, a community diagnostic
+and performance metrics tool for routine evaluation of Earth System Models
+in the Climate Model Intercomparison Project (CMIP).
+
+# Getting started
+
+Please have a look at the
+[documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/quickstart/install.html)
+to get started.
+
+## Using the ESMValCore package to run recipes
+
+The ESMValCore package provides the `esmvaltool` command, which can be used to run
+[recipes](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/recipe/overview.html)
+for working with CMIP-like data.
+A large collection of ready to use
+[recipes and diagnostics](https://docs.esmvaltool.org/en/latest/recipes/index.html)
+is provided by the
+[ESMValTool](https://github.com/ESMValGroup/ESMValTool)
+package.
+
+## Using ESMValCore as a Python library
+
+The ESMValCore package provides various functions for:
+
+- Finding data in a directory structure typically used for CMIP data.
+
+- Reading CMIP/CMOR tables and using those to check model and observational data.
+
+- ESMValTool preprocessor functions based on
+ [iris](https://scitools-iris.readthedocs.io) for e.g. regridding,
+ vertical interpolation, statistics, correcting (meta)data errors, extracting
+ a time range, etcetera.
+
+read all about it in the
+[API documentation](https://docs.esmvaltool.org/projects/esmvalcore/en/latest/api/esmvalcore.html).
+
+## Getting help
+
+The easiest way to get help if you cannot find the answer in the documentation
+on [readthedocs](https://docs.esmvaltool.org), is to open an
+[issue on GitHub](https://github.com/ESMValGroup/ESMValCore/issues).
+
+## Contributing
+
+Contributions are very welcome, please read our
+[contribution guidelines](https://docs.esmvaltool.org/projects/ESMValCore/en/latest/contributing.html)
+to get started.
+
+
+%prep
+%autosetup -n ESMValCore-2.8.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-ESMValCore -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.8.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c19052b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0826d63196bf70c3e98aad69465805fc ESMValCore-2.8.0.tar.gz