diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:29:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:29:26 +0000 |
commit | c1f9483ea9b8e9e1fc67cd6a43514dddc0891baa (patch) | |
tree | 5272df5144904aa45c980711921c986d275d62db | |
parent | 5127e186e11b3f4b46cc0670d11f3c7698610d01 (diff) |
automatic import of python-smriprep
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-smriprep.spec | 187 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 189 insertions, 0 deletions
@@ -0,0 +1 @@ +/smriprep-0.11.1.tar.gz diff --git a/python-smriprep.spec b/python-smriprep.spec new file mode 100644 index 0000000..9c73e42 --- /dev/null +++ b/python-smriprep.spec @@ -0,0 +1,187 @@ +%global _empty_manifest_terminate_build 0 +Name: python-smriprep +Version: 0.11.1 +Release: 1 +Summary: sMRIPrep (Structural MRI PREProcessing) pipeline +License: 3-clause BSD +URL: https://github.com/nipreps/smriprep +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9e/86/0e5ef7159a9e785e57ba47a06dbf8e82e0efd5584d491075400783aa15f8/smriprep-0.11.1.tar.gz +BuildArch: noarch + +Requires: python3-indexed-gzip +Requires: python3-lockfile +Requires: python3-looseversion +Requires: python3-matplotlib +Requires: python3-nibabel +Requires: python3-nipype +Requires: python3-niworkflows +Requires: python3-numpy +Requires: python3-packaging +Requires: python3-pybids +Requires: python3-pyyaml +Requires: python3-templateflow +Requires: python3-datalad +Requires: python3-nbsphinx +Requires: python3-packaging +Requires: python3-pydot +Requires: python3-sphinx +Requires: python3-sphinx-argparse +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinxcontrib-apidoc +Requires: python3-sphinxcontrib-napoleon +Requires: python3-sphinxcontrib-versioning +Requires: python3-duecredit +Requires: python3-psutil +Requires: python3-coverage +Requires: python3-codecov +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-env +Requires: python3-datalad +Requires: python3-nbsphinx +Requires: python3-packaging +Requires: python3-pydot +Requires: python3-sphinx +Requires: python3-sphinx-argparse +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinxcontrib-apidoc +Requires: python3-sphinxcontrib-napoleon +Requires: python3-sphinxcontrib-versioning +Requires: python3-nbsphinx +Requires: python3-packaging +Requires: python3-pydot +Requires: python3-sphinx +Requires: python3-sphinx-argparse +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinxcontrib-apidoc +Requires: python3-sphinxcontrib-napoleon +Requires: python3-sphinxcontrib-versioning +Requires: python3-duecredit +Requires: python3-psutil +Requires: python3-flake8 +Requires: python3-coverage +Requires: python3-codecov +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-env +Requires: python3-coverage +Requires: python3-codecov +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-env + +%description +*sMRIPrep* is a structural magnetic resonance imaging (sMRI) data +preprocessing pipeline that is designed to provide an easily accessible, +state-of-the-art interface that is robust to variations in scan acquisition +protocols and that requires minimal user input, while providing easily +interpretable and comprehensive error and output reporting. +It performs basic processing steps (subject-wise averaging, B1 field correction, +spatial normalization, segmentation, skullstripping etc.) providing +outputs that can be easily connected to subsequent tools such as +`fMRIPrep <https://github.com/nipreps/fmriprep>`__ or +`dMRIPrep <https://github.com/nipreps/dmriprep>`__. +The workflow is based on `Nipype <https://nipype.readthedocs.io>`__ and encompases +a combination of tools from well-known software packages, including +`FSL <https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/>`__, +`ANTs <https://stnava.github.io/ANTs/>`__, +`FreeSurfer <https://surfer.nmr.mgh.harvard.edu/>`__, +and `AFNI <https://afni.nimh.nih.gov/>`__. +More information and documentation can be found at +https://www.nipreps.org/smriprep/. +Support is provided on `neurostars.org <https://neurostars.org/tags/smriprep>`_. + +%package -n python3-smriprep +Summary: sMRIPrep (Structural MRI PREProcessing) pipeline +Provides: python-smriprep +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-smriprep +*sMRIPrep* is a structural magnetic resonance imaging (sMRI) data +preprocessing pipeline that is designed to provide an easily accessible, +state-of-the-art interface that is robust to variations in scan acquisition +protocols and that requires minimal user input, while providing easily +interpretable and comprehensive error and output reporting. +It performs basic processing steps (subject-wise averaging, B1 field correction, +spatial normalization, segmentation, skullstripping etc.) providing +outputs that can be easily connected to subsequent tools such as +`fMRIPrep <https://github.com/nipreps/fmriprep>`__ or +`dMRIPrep <https://github.com/nipreps/dmriprep>`__. +The workflow is based on `Nipype <https://nipype.readthedocs.io>`__ and encompases +a combination of tools from well-known software packages, including +`FSL <https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/>`__, +`ANTs <https://stnava.github.io/ANTs/>`__, +`FreeSurfer <https://surfer.nmr.mgh.harvard.edu/>`__, +and `AFNI <https://afni.nimh.nih.gov/>`__. +More information and documentation can be found at +https://www.nipreps.org/smriprep/. +Support is provided on `neurostars.org <https://neurostars.org/tags/smriprep>`_. + +%package help +Summary: Development documents and examples for smriprep +Provides: python3-smriprep-doc +%description help +*sMRIPrep* is a structural magnetic resonance imaging (sMRI) data +preprocessing pipeline that is designed to provide an easily accessible, +state-of-the-art interface that is robust to variations in scan acquisition +protocols and that requires minimal user input, while providing easily +interpretable and comprehensive error and output reporting. +It performs basic processing steps (subject-wise averaging, B1 field correction, +spatial normalization, segmentation, skullstripping etc.) providing +outputs that can be easily connected to subsequent tools such as +`fMRIPrep <https://github.com/nipreps/fmriprep>`__ or +`dMRIPrep <https://github.com/nipreps/dmriprep>`__. +The workflow is based on `Nipype <https://nipype.readthedocs.io>`__ and encompases +a combination of tools from well-known software packages, including +`FSL <https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/>`__, +`ANTs <https://stnava.github.io/ANTs/>`__, +`FreeSurfer <https://surfer.nmr.mgh.harvard.edu/>`__, +and `AFNI <https://afni.nimh.nih.gov/>`__. +More information and documentation can be found at +https://www.nipreps.org/smriprep/. +Support is provided on `neurostars.org <https://neurostars.org/tags/smriprep>`_. + +%prep +%autosetup -n smriprep-0.11.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-smriprep -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.1-1 +- Package Spec generated @@ -0,0 +1 @@ +ef593297a611128d38b747496cbbcfc8 smriprep-0.11.1.tar.gz |