diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:44:04 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:44:04 +0000 |
commit | 0350d0959e474e635ee9ab7602d7b5466df4927f (patch) | |
tree | ef45fc73132578218ee670044498e6a46b2c957a | |
parent | a45b85938d946a352d28051380d2e8a9a740294f (diff) |
automatic import of python-coffea-casaopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-coffea-casa.spec | 151 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 153 insertions, 0 deletions
@@ -0,0 +1 @@ +/coffea_casa-2023.4.5.tar.gz diff --git a/python-coffea-casa.spec b/python-coffea-casa.spec new file mode 100644 index 0000000..dfe6faf --- /dev/null +++ b/python-coffea-casa.spec @@ -0,0 +1,151 @@ +%global _empty_manifest_terminate_build 0 +Name: python-coffea-casa +Version: 2023.4.5 +Release: 1 +Summary: A Prototype U.S. CMS analysis facility +License: BSD-3-Clause License +URL: http://github.com/CoffeaTeam/coffea-casa.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/f0/d0bdb15c02dcca4b3194e49ff983c3cde356b8bb3e521c62987acaea3d5c/coffea_casa-2023.4.5.tar.gz +BuildArch: noarch + +Requires: python3-dask-jobqueue +Requires: python3-docutils +Requires: python3-ipython +Requires: python3-mkdocs +Requires: python3-nbsphinx +Requires: python3-nbstripout +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-rerunfailures +Requires: python3-pytest-timeout +Requires: python3-sphinx +Requires: python3-sphinx-gallery +Requires: python3-sphinx-rtd-theme +Requires: python3-ipython +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinx-gallery +Requires: python3-nbsphinx +Requires: python3-nbstripout +Requires: python3-docutils +Requires: python3-mkdocs +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-timeout +Requires: python3-pytest-rerunfailures + +%description +[![Actions Status][actions-badge]][actions-link] +[![Documentation Status][rtd-badge]][rtd-link] +[![Code style: black][black-badge]][black-link] +[![PyPI version][pypi-version]][pypi-link] +[![PyPI platforms][pypi-platforms]][pypi-link] +[![GitHub Discussion][github-discussions-badge]][github-discussions-link] + + +[actions-badge]: https://github.com/CoffeaTeam/coffea-casa/workflows/CI/CD/badge.svg +[actions-link]: https://github.com/CoffeaTeam/coffea-casa/actions +[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg +[black-link]: https://github.com/psf/black +[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github +[github-discussions-link]: https://github.com/CoffeaTeam/coffea-casa/discussions +[pypi-link]: https://pypi.org/project/coffea-casa/ +[pypi-platforms]: https://img.shields.io/pypi/pyversions/coffea-casa +[pypi-version]: https://badge.fury.io/py/coffea-casa.svg +[rtd-badge]: https://readthedocs.org/projects/coffea-casa/badge/?version=latest +[rtd-link]: https://coffea-casa.readthedocs.io/en/latest/?badge=latest + +%package -n python3-coffea-casa +Summary: A Prototype U.S. CMS analysis facility +Provides: python-coffea-casa +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-coffea-casa +[![Actions Status][actions-badge]][actions-link] +[![Documentation Status][rtd-badge]][rtd-link] +[![Code style: black][black-badge]][black-link] +[![PyPI version][pypi-version]][pypi-link] +[![PyPI platforms][pypi-platforms]][pypi-link] +[![GitHub Discussion][github-discussions-badge]][github-discussions-link] + + +[actions-badge]: https://github.com/CoffeaTeam/coffea-casa/workflows/CI/CD/badge.svg +[actions-link]: https://github.com/CoffeaTeam/coffea-casa/actions +[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg +[black-link]: https://github.com/psf/black +[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github +[github-discussions-link]: https://github.com/CoffeaTeam/coffea-casa/discussions +[pypi-link]: https://pypi.org/project/coffea-casa/ +[pypi-platforms]: https://img.shields.io/pypi/pyversions/coffea-casa +[pypi-version]: https://badge.fury.io/py/coffea-casa.svg +[rtd-badge]: https://readthedocs.org/projects/coffea-casa/badge/?version=latest +[rtd-link]: https://coffea-casa.readthedocs.io/en/latest/?badge=latest + +%package help +Summary: Development documents and examples for coffea-casa +Provides: python3-coffea-casa-doc +%description help +[![Actions Status][actions-badge]][actions-link] +[![Documentation Status][rtd-badge]][rtd-link] +[![Code style: black][black-badge]][black-link] +[![PyPI version][pypi-version]][pypi-link] +[![PyPI platforms][pypi-platforms]][pypi-link] +[![GitHub Discussion][github-discussions-badge]][github-discussions-link] + + +[actions-badge]: https://github.com/CoffeaTeam/coffea-casa/workflows/CI/CD/badge.svg +[actions-link]: https://github.com/CoffeaTeam/coffea-casa/actions +[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg +[black-link]: https://github.com/psf/black +[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github +[github-discussions-link]: https://github.com/CoffeaTeam/coffea-casa/discussions +[pypi-link]: https://pypi.org/project/coffea-casa/ +[pypi-platforms]: https://img.shields.io/pypi/pyversions/coffea-casa +[pypi-version]: https://badge.fury.io/py/coffea-casa.svg +[rtd-badge]: https://readthedocs.org/projects/coffea-casa/badge/?version=latest +[rtd-link]: https://coffea-casa.readthedocs.io/en/latest/?badge=latest + +%prep +%autosetup -n coffea-casa-2023.4.5 + +%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-coffea-casa -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.4.5-1 +- Package Spec generated @@ -0,0 +1 @@ +47706fc265fbe47f441a87cc0e9cc10d coffea_casa-2023.4.5.tar.gz |