## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name nipype Name: python-%{pypi_name} Version: 1.9.1 Release: %{autorelease} Summary: Neuroimaging in Python: Pipelines and Interfaces %global forgeurl https://github.com/nipy/nipype %global tag %{version} %forgemeta License: Apache-2.0 URL: %forgeurl Source: %forgesource BuildArch: noarch BuildRequires: python3-devel # Test requirements listed in `nipype/info.py` under `TEST-REQUIRES` # together with linters, which we don't want. BuildRequires: python3dist(pandas) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-env) BuildRequires: python3dist(pytest-timeout) %global _description %{expand: Current neuroimaging software offer users an incredible opportunity to analyze data using a variety of different algorithms. However, this has resulted in a heterogeneous collection of specialized applications without transparent interoperability or a uniform operating interface. Nipype, an open-source, community-developed initiative under the umbrella of NiPy, is a Python project that provides a uniform interface to existing neuroimaging software and facilitates interaction between these packages within a single workflow. Nipype provides an environment that encourages interactive exploration of algorithms from different packages (e.g., AFNI, ANTS, BRAINS, BrainSuite, Camino, FreeSurfer, FSL, MNE, MRtrix, MNE, Nipy, Slicer, SPM), eases the design of workflows within and between packages, and reduces the learning curve necessary to use different packages. Nipype is creating a collaborative platform for neuroimaging software development in a high-level language and addressing limitations of existing pipeline systems. Nipype allows you to: - easily interact with tools from different software packages - combine processing steps from different software packages - develop new workflows faster by reusing common steps from old ones - process data faster by running it in parallel on many cores/machines - make your research easily reproducible - share your processing workflows with the community} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %pyproject_extras_subpkg -n python3-%{pypi_name} data duecredit nipy pybids ssh %prep %forgeautosetup -p1 # Exclude data files (used for testing) from installation sed -r -i 's/package_data/exclude_package_data/' setup.py # Remove shebangs find nipype/ -name \*.py -exec sed -i '/env python/d' '{}' \; %generate_buildrequires %pyproject_buildrequires -x data,duecredit,nipy,pybids,ssh %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check # With `-c /dev/null` we circumvent `pyproject.toml`, which has settings # for running doctests and coverage. %pytest -v -c /dev/null %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst THANKS.rst %{_bindir}/nipypecli %changelog ## START: Generated by rpmautospec * Sat Nov 23 2024 Sandro - 1.9.1-3 - Uncommitted changes * Sat Nov 23 2024 Sandro - 1.9.1-2 - Add extras subpackages * Sat Nov 23 2024 Sandro - 1.9.1-1 - Update to 1.9.1 * Thu Oct 31 2024 Sandro - 1.9.0-2 - Disable some failing tests * Thu Oct 31 2024 Sandro - 1.9.0-1 - Update to 1.9.0 * Tue Jul 23 2024 Sandro - 1.8.6-1 - Initial package ## END: Generated by rpmautospec