From 6aada1e9278b2babb21351f8fa1a29141ba84da2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 19:55:22 +0000 Subject: automatic import of python-torchio --- python-torchio.spec | 359 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 359 insertions(+) create mode 100644 python-torchio.spec (limited to 'python-torchio.spec') diff --git a/python-torchio.spec b/python-torchio.spec new file mode 100644 index 0000000..4ae0043 --- /dev/null +++ b/python-torchio.spec @@ -0,0 +1,359 @@ +%global _empty_manifest_terminate_build 0 +Name: python-torchio +Version: 0.18.90 +Release: 1 +Summary: Tools for medical image processing with PyTorch +License: Apache-2.0 +URL: http://torchio.rtfd.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/71/40/0eed20e121c2ca32b98d7f2a84b618f6b033fc571a5244c7a89dc8c9d09e/torchio-0.18.90.tar.gz +BuildArch: noarch + +Requires: python3-Deprecated +Requires: python3-SimpleITK +Requires: python3-humanize +Requires: python3-nibabel +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-torch +Requires: python3-tqdm +Requires: python3-typer[all] +Requires: python3-pandas +Requires: python3-bump2version +Requires: python3-codecov +Requires: python3-coverage +Requires: python3-flake8 +Requires: python3-matplotlib +Requires: python3-mypy +Requires: python3-pandas-stubs +Requires: python3-parameterized +Requires: python3-pre-commit +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-tox +Requires: python3-types-Deprecated +Requires: python3-einops +Requires: python3-furo +Requires: python3-sphinx +Requires: python3-sphinx-autobuild +Requires: python3-sphinx-copybutton +Requires: python3-sphinx-gallery +Requires: python3-sphinxext-opengraph +Requires: python3-pandas +Requires: python3-bump2version +Requires: python3-codecov +Requires: python3-coverage +Requires: python3-flake8 +Requires: python3-matplotlib +Requires: python3-mypy +Requires: python3-pandas-stubs +Requires: python3-parameterized +Requires: python3-pre-commit +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-tox +Requires: python3-types-Deprecated +Requires: python3-einops +Requires: python3-furo +Requires: python3-matplotlib +Requires: python3-sphinx +Requires: python3-sphinx-autobuild +Requires: python3-sphinx-copybutton +Requires: python3-sphinx-gallery +Requires: python3-sphinxext-opengraph +Requires: python3-matplotlib + +%description + + + + + + + + + + + + + + + + + + + + + + + +%package -n python3-torchio +Summary: Tools for medical image processing with PyTorch +Provides: python-torchio +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-torchio + +
+ Package + + + PyPI downloads + + + PyPI version + + + Conda version + +
+ CI + + + Tests status + + + Documentation status + + + Coverage status + +
+ Code + + + Code quality + + + Code maintainability + + + pre-commit + +
+ Tutorials + + + Google Colab + +
+ Community + + + Slack + + + Twitter + + + Twitter + + + YouTube + +
+ + + + + + + + + + + + + + + + + + + + + +%package help +Summary: Development documents and examples for torchio +Provides: python3-torchio-doc +%description help + +
+ Package + + + PyPI downloads + + + PyPI version + + + Conda version + +
+ CI + + + Tests status + + + Documentation status + + + Coverage status + +
+ Code + + + Code quality + + + Code maintainability + + + pre-commit + +
+ Tutorials + + + Google Colab + +
+ Community + + + Slack + + + Twitter + + + Twitter + + + YouTube + +
+ + + + + + + + + + + + + + + + + + + + + +%prep +%autosetup -n torchio-0.18.90 + +%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-torchio -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.18.90-1 +- Package Spec generated -- cgit v1.2.3
+ Package + + + PyPI downloads + + + PyPI version + + + Conda version + +
+ CI + + + Tests status + + + Documentation status + + + Coverage status + +
+ Code + + + Code quality + + + Code maintainability + + + pre-commit + +
+ Tutorials + + + Google Colab + +
+ Community + + + Slack + + + Twitter + + + Twitter + + + YouTube + +