diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:01:36 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:01:36 +0000 |
| commit | dc98b84840848122c8bdc296108fa4f9ccb0e087 (patch) | |
| tree | 034b2b562ce1ef0ab012dd279ac6799934a7fdae /python-pytorch-lightning-bolts.spec | |
| parent | b39cc9783c886eaaa70f680c56192266e8045253 (diff) | |
automatic import of python-pytorch-lightning-bolts
Diffstat (limited to 'python-pytorch-lightning-bolts.spec')
| -rw-r--r-- | python-pytorch-lightning-bolts.spec | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/python-pytorch-lightning-bolts.spec b/python-pytorch-lightning-bolts.spec new file mode 100644 index 0000000..b1902d6 --- /dev/null +++ b/python-pytorch-lightning-bolts.spec @@ -0,0 +1,185 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytorch-lightning-bolts +Version: 0.3.2.post1 +Release: 1 +Summary: Deprecated in favor of Lightning Bolts - https://pypi.org/project/lightning-bolts +License: Apache-2.0 +URL: https://github.com/PyTorchLightning/lightning-bolts +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4f/9d/9795a011d21635dd3dfad39220072cf64ed00acc1a95c65a95f007ec44f4/pytorch-lightning-bolts-0.3.2.post1.tar.gz +BuildArch: noarch + +Requires: python3-pytorch-lightning +Requires: python3-torch +Requires: python3-torchmetrics +Requires: python3-Pillow +Requires: python3-atari-py +Requires: python3-check-manifest +Requires: python3-codecov +Requires: python3-flake8 +Requires: python3-gym +Requires: python3-isort +Requires: python3-matplotlib +Requires: python3-mypy +Requires: python3-opencv-python-headless +Requires: python3-pre-commit +Requires: python3-pytest-cov +Requires: python3-pytest +Requires: python3-scikit-learn +Requires: python3-scipy +Requires: python3-torchvision +Requires: python3-twine +Requires: python3-wandb +Requires: python3-yapf +Requires: python3-Pillow +Requires: python3-gym +Requires: python3-matplotlib +Requires: python3-opencv-python-headless +Requires: python3-scikit-learn +Requires: python3-scipy +Requires: python3-torchvision +Requires: python3-wandb +Requires: python3-matplotlib +Requires: python3-scipy +Requires: python3-wandb +Requires: python3-Pillow +Requires: python3-gym +Requires: python3-opencv-python-headless +Requires: python3-scikit-learn +Requires: python3-torchvision +Requires: python3-atari-py +Requires: python3-check-manifest +Requires: python3-codecov +Requires: python3-flake8 +Requires: python3-isort +Requires: python3-mypy +Requires: python3-pre-commit +Requires: python3-pytest-cov +Requires: python3-pytest +Requires: python3-scikit-learn +Requires: python3-twine +Requires: python3-yapf + +%description +<p align="center"> + <a href="https://www.pytorchlightning.ai/">Website</a> • + <a href="#install">Installation</a> • + <a href="#main-Goals-of-Bolts">Main goals</a> • + <a href="https://pytorch-lightning-bolts.readthedocs.io/en/latest/">latest Docs</a> • + <a href="https://pytorch-lightning-bolts.readthedocs.io/en/0.3.2">stable Docs</a> • + <a href="#team">Community</a> • + <a href="https://www.grid.ai/">Grid AI</a> • + <a href="#licence">Licence</a> +</p> +[](https://badge.fury.io/py/pytorch-lightning-bolts) +[](https://pepy.tech/project/pytorch-lightning-bolts) +[](https://dev.azure.com/PytorchLightning/lightning%20Bolts/_build/latest?definitionId=5&branchName=master) +[](https://codecov.io/gh/PyTorchLightning/lightning-bolts) +[](https://www.codefactor.io/repository/github/pytorchlightning/lightning-bolts) +[](https://lightning-bolts.readthedocs.io/en/latest/) +[](https://join.slack.com/t/pytorch-lightning/shared_invite/zt-f6bl2l0l-JYMK3tbAgAmGRrlNr00f1A) +[](https://forums.pytorchlightning.ai/) +[](https://github.com/PytorchLightning/lightning-bolts/blob/master/LICENSE) +<!-- +[](https://shields.io/) +--> + +%package -n python3-pytorch-lightning-bolts +Summary: Deprecated in favor of Lightning Bolts - https://pypi.org/project/lightning-bolts +Provides: python-pytorch-lightning-bolts +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pytorch-lightning-bolts +<p align="center"> + <a href="https://www.pytorchlightning.ai/">Website</a> • + <a href="#install">Installation</a> • + <a href="#main-Goals-of-Bolts">Main goals</a> • + <a href="https://pytorch-lightning-bolts.readthedocs.io/en/latest/">latest Docs</a> • + <a href="https://pytorch-lightning-bolts.readthedocs.io/en/0.3.2">stable Docs</a> • + <a href="#team">Community</a> • + <a href="https://www.grid.ai/">Grid AI</a> • + <a href="#licence">Licence</a> +</p> +[](https://badge.fury.io/py/pytorch-lightning-bolts) +[](https://pepy.tech/project/pytorch-lightning-bolts) +[](https://dev.azure.com/PytorchLightning/lightning%20Bolts/_build/latest?definitionId=5&branchName=master) +[](https://codecov.io/gh/PyTorchLightning/lightning-bolts) +[](https://www.codefactor.io/repository/github/pytorchlightning/lightning-bolts) +[](https://lightning-bolts.readthedocs.io/en/latest/) +[](https://join.slack.com/t/pytorch-lightning/shared_invite/zt-f6bl2l0l-JYMK3tbAgAmGRrlNr00f1A) +[](https://forums.pytorchlightning.ai/) +[](https://github.com/PytorchLightning/lightning-bolts/blob/master/LICENSE) +<!-- +[](https://shields.io/) +--> + +%package help +Summary: Development documents and examples for pytorch-lightning-bolts +Provides: python3-pytorch-lightning-bolts-doc +%description help +<p align="center"> + <a href="https://www.pytorchlightning.ai/">Website</a> • + <a href="#install">Installation</a> • + <a href="#main-Goals-of-Bolts">Main goals</a> • + <a href="https://pytorch-lightning-bolts.readthedocs.io/en/latest/">latest Docs</a> • + <a href="https://pytorch-lightning-bolts.readthedocs.io/en/0.3.2">stable Docs</a> • + <a href="#team">Community</a> • + <a href="https://www.grid.ai/">Grid AI</a> • + <a href="#licence">Licence</a> +</p> +[](https://badge.fury.io/py/pytorch-lightning-bolts) +[](https://pepy.tech/project/pytorch-lightning-bolts) +[](https://dev.azure.com/PytorchLightning/lightning%20Bolts/_build/latest?definitionId=5&branchName=master) +[](https://codecov.io/gh/PyTorchLightning/lightning-bolts) +[](https://www.codefactor.io/repository/github/pytorchlightning/lightning-bolts) +[](https://lightning-bolts.readthedocs.io/en/latest/) +[](https://join.slack.com/t/pytorch-lightning/shared_invite/zt-f6bl2l0l-JYMK3tbAgAmGRrlNr00f1A) +[](https://forums.pytorchlightning.ai/) +[](https://github.com/PytorchLightning/lightning-bolts/blob/master/LICENSE) +<!-- +[](https://shields.io/) +--> + +%prep +%autosetup -n pytorch-lightning-bolts-0.3.2.post1 + +%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-pytorch-lightning-bolts -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.2.post1-1 +- Package Spec generated |
