diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 07:55:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 07:55:50 +0000 |
commit | 976e7c52be61c6de893b6773abdd78fd41e5f14f (patch) | |
tree | 03ac2f55835785e1da005338b28e940bd9c8759e | |
parent | a35ec989bb7b2f572049a68e6b7450b746de988a (diff) |
automatic import of python-scmdataopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-scmdata.spec | 193 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 195 insertions, 0 deletions
@@ -0,0 +1 @@ +/scmdata-0.15.1.tar.gz diff --git a/python-scmdata.spec b/python-scmdata.spec new file mode 100644 index 0000000..a394997 --- /dev/null +++ b/python-scmdata.spec @@ -0,0 +1,193 @@ +%global _empty_manifest_terminate_build 0 +Name: python-scmdata +Version: 0.15.1 +Release: 1 +Summary: Data handling for simple climate model data +License: 3-Clause BSD License +URL: https://github.com/openscm/scmdata +Source0: https://mirrors.aliyun.com/pypi/web/packages/aa/f5/6c29ef83d3c3b5742b76efc373fb743224b45cc59927c172ad63033df96e/scmdata-0.15.1.tar.gz +BuildArch: noarch + +Requires: python3-cftime +Requires: python3-numpy +Requires: python3-openscm-units +Requires: python3-packaging +Requires: python3-pandas +Requires: python3-pint +Requires: python3-pint-pandas +Requires: python3-dateutil +Requires: python3-tqdm +Requires: python3-six +Requires: python3-xarray +Requires: python3-typing-extensions +Requires: python3-importlib-metadata +Requires: python3-netCDF4 +Requires: python3-openpyxl +Requires: python3-xlrd +Requires: python3-scipy +Requires: python3-matplotlib +Requires: python3-cftime +Requires: python3-nc-time-axis +Requires: python3-seaborn +Requires: python3-codecov +Requires: python3-nbval +Requires: python3-pytest +Requires: python3-pytest-benchmark +Requires: python3-pytest-cov +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinx-autodoc-typehints +Requires: python3-sphinx-autodocgen +Requires: python3-myst-nb +Requires: python3-jupytext +Requires: python3-sphinx-copybutton +Requires: python3-bandit +Requires: python3-black +Requires: python3-flake8 +Requires: python3-isort +Requires: python3-notebook +Requires: python3-ipywidgets +Requires: python3-pydocstyle +Requires: python3-pylint +Requires: python3-twine +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinx-autodoc-typehints +Requires: python3-sphinx-autodocgen +Requires: python3-myst-nb +Requires: python3-jupytext +Requires: python3-sphinx-copybutton +Requires: python3-matplotlib +Requires: python3-cftime +Requires: python3-nc-time-axis +Requires: python3-seaborn +Requires: python3-netCDF4 +Requires: python3-openpyxl +Requires: python3-xlrd +Requires: python3-scipy +Requires: python3-notebook +Requires: python3-jupyter-server +Requires: python3-ipywidgets +Requires: python3-netCDF4 +Requires: python3-openpyxl +Requires: python3-xlrd +Requires: python3-scipy +Requires: python3-matplotlib +Requires: python3-cftime +Requires: python3-nc-time-axis +Requires: python3-seaborn +Requires: python3-codecov +Requires: python3-nbval +Requires: python3-pytest +Requires: python3-pytest-benchmark +Requires: python3-pytest-cov + +%description ++-------------------+----------------+--------------+--------+ +| Repository health | |CI CD| | |Coverage| | |Docs| | ++-------------------+----------------+--------------+--------+ ++------+------------------+----------------+------------------+ +| Pypi | |PyPI Install| | |PyPI| | |PyPI Version| | ++------+------------------+----------------+------------------+ ++-------+-----------------+-------------------+-----------------+ +| Conda | |conda install| | |conda platforms| | |conda version| | ++-------+-----------------+-------------------+-----------------+ ++-----------------+----------------+---------------+-----------+ +| Other info | |Contributors| | |Last Commit| | |License| | ++-----------------+----------------+---------------+-----------+ +Brief summary ++++++++++++++ +**scmdata** provides some useful data handling routines for dealing with data related to simple climate models (SCMs aka reduced complexity climate models, RCMs). +In particular, it provides a high-performance way of handling and serialising (including to netCDF) timeseries data along with attached metadata. +**scmdata** was inspired by `pyam <https://github.com/IAMconsortium/pyam>`_ and was originally part of the `openscm <https://github.com/openscm/openscm>`_ package. + +%package -n python3-scmdata +Summary: Data handling for simple climate model data +Provides: python-scmdata +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-scmdata ++-------------------+----------------+--------------+--------+ +| Repository health | |CI CD| | |Coverage| | |Docs| | ++-------------------+----------------+--------------+--------+ ++------+------------------+----------------+------------------+ +| Pypi | |PyPI Install| | |PyPI| | |PyPI Version| | ++------+------------------+----------------+------------------+ ++-------+-----------------+-------------------+-----------------+ +| Conda | |conda install| | |conda platforms| | |conda version| | ++-------+-----------------+-------------------+-----------------+ ++-----------------+----------------+---------------+-----------+ +| Other info | |Contributors| | |Last Commit| | |License| | ++-----------------+----------------+---------------+-----------+ +Brief summary ++++++++++++++ +**scmdata** provides some useful data handling routines for dealing with data related to simple climate models (SCMs aka reduced complexity climate models, RCMs). +In particular, it provides a high-performance way of handling and serialising (including to netCDF) timeseries data along with attached metadata. +**scmdata** was inspired by `pyam <https://github.com/IAMconsortium/pyam>`_ and was originally part of the `openscm <https://github.com/openscm/openscm>`_ package. + +%package help +Summary: Development documents and examples for scmdata +Provides: python3-scmdata-doc +%description help ++-------------------+----------------+--------------+--------+ +| Repository health | |CI CD| | |Coverage| | |Docs| | ++-------------------+----------------+--------------+--------+ ++------+------------------+----------------+------------------+ +| Pypi | |PyPI Install| | |PyPI| | |PyPI Version| | ++------+------------------+----------------+------------------+ ++-------+-----------------+-------------------+-----------------+ +| Conda | |conda install| | |conda platforms| | |conda version| | ++-------+-----------------+-------------------+-----------------+ ++-----------------+----------------+---------------+-----------+ +| Other info | |Contributors| | |Last Commit| | |License| | ++-----------------+----------------+---------------+-----------+ +Brief summary ++++++++++++++ +**scmdata** provides some useful data handling routines for dealing with data related to simple climate models (SCMs aka reduced complexity climate models, RCMs). +In particular, it provides a high-performance way of handling and serialising (including to netCDF) timeseries data along with attached metadata. +**scmdata** was inspired by `pyam <https://github.com/IAMconsortium/pyam>`_ and was originally part of the `openscm <https://github.com/openscm/openscm>`_ package. + +%prep +%autosetup -n scmdata-0.15.1 + +%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-scmdata -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15.1-1 +- Package Spec generated @@ -0,0 +1 @@ +99d0dedad748ff35d6c2749b895dfe1a scmdata-0.15.1.tar.gz |