|
|
29ca06b |
%global pypi_name neurosynth
|
|
|
29ca06b |
|
|
|
5d77eb4 |
# The test require internet to download data and so cannot be run in koji
|
|
|
5d77eb4 |
# Test disable
|
|
|
5d77eb4 |
%bcond_with tests
|
|
|
5d77eb4 |
|
|
|
29ca06b |
Name: python-%{pypi_name}
|
|
|
af3fcc0 |
Version: 0.3.8
|
|
|
00d0883 |
Release: 13%{?dist}
|
|
|
29ca06b |
Summary: Large-scale synthesis of functional neuroimaging data
|
|
|
29ca06b |
|
|
|
29ca06b |
License: MIT
|
|
|
29ca06b |
URL: https://github.com/neurosynth/neurosynth
|
|
|
29ca06b |
Source0: %{pypi_source}
|
|
|
29ca06b |
BuildArch: noarch
|
|
|
29ca06b |
|
|
|
29ca06b |
BuildRequires: python3-devel
|
|
|
29ca06b |
BuildRequires: python3dist(biopython)
|
|
|
29ca06b |
BuildRequires: python3dist(nibabel)
|
|
|
29ca06b |
BuildRequires: python3dist(nose)
|
|
|
29ca06b |
BuildRequires: python3dist(nose) >= 0.10.1
|
|
|
29ca06b |
BuildRequires: python3dist(numpy)
|
|
|
29ca06b |
BuildRequires: python3dist(pandas)
|
|
|
29ca06b |
BuildRequires: python3dist(ply)
|
|
|
29ca06b |
BuildRequires: python3dist(scikit-learn)
|
|
|
29ca06b |
BuildRequires: python3dist(scipy)
|
|
|
29ca06b |
BuildRequires: python3dist(setuptools)
|
|
|
29ca06b |
BuildRequires: python3dist(six)
|
|
|
29ca06b |
|
|
|
29ca06b |
%description
|
|
|
29ca06b |
Neurosynth is a Python package for large-scale synthesis of
|
|
|
29ca06b |
functional neuroimaging data.
|
|
|
29ca06b |
|
|
|
29ca06b |
%package -n python3-%{pypi_name}
|
|
|
29ca06b |
Summary: %{summary}
|
|
|
29ca06b |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
29ca06b |
|
|
|
29ca06b |
Requires: python3dist(biopython)
|
|
|
29ca06b |
Requires: python3dist(nibabel)
|
|
|
29ca06b |
Requires: python3dist(nose) >= 0.10.1
|
|
|
29ca06b |
Requires: python3dist(numpy)
|
|
|
29ca06b |
Requires: python3dist(pandas)
|
|
|
29ca06b |
Requires: python3dist(ply)
|
|
|
29ca06b |
Requires: python3dist(scikit-learn)
|
|
|
29ca06b |
Requires: python3dist(scipy)
|
|
|
29ca06b |
Requires: python3dist(six)
|
|
|
29ca06b |
|
|
|
29ca06b |
%description -n python3-%{pypi_name}
|
|
|
29ca06b |
Neurosynth is a Python package for large-scale synthesis of
|
|
|
29ca06b |
functional neuroimaging data.
|
|
|
29ca06b |
|
|
|
29ca06b |
%prep
|
|
|
29ca06b |
%autosetup -n %{pypi_name}-%{version}
|
|
|
29ca06b |
# Remove bundled egg-info
|
|
|
29ca06b |
rm -rf %{pypi_name}.egg-info
|
|
|
29ca06b |
|
|
|
29ca06b |
for lib in $(find . -type f -name "*.py"); do
|
|
|
29ca06b |
sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new &&
|
|
|
29ca06b |
touch -r $lib $lib.new &&
|
|
|
29ca06b |
mv $lib.new $lib
|
|
|
29ca06b |
done
|
|
|
29ca06b |
|
|
|
29ca06b |
chmod 0644 neurosynth/tests/data/sgacc_mask.nii.gz
|
|
|
29ca06b |
|
|
|
29ca06b |
%build
|
|
|
29ca06b |
%py3_build
|
|
|
29ca06b |
|
|
|
29ca06b |
%install
|
|
|
29ca06b |
%py3_install
|
|
|
29ca06b |
|
|
|
29ca06b |
%check
|
|
|
5d77eb4 |
%if %{with tests}
|
|
|
29ca06b |
%{__python3} setup.py test
|
|
|
5d77eb4 |
%endif
|
|
|
29ca06b |
|
|
|
29ca06b |
%files -n python3-%{pypi_name}
|
|
|
29ca06b |
%license LICENSE
|
|
|
29ca06b |
%doc README.md
|
|
|
29ca06b |
%{python3_sitelib}/%{pypi_name}
|
|
|
6209c14 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
29ca06b |
|
|
|
29ca06b |
%changelog
|
|
|
00d0883 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-13
|
|
|
00d0883 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
00d0883 |
|
|
|
9ddc6b6 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-12
|
|
|
9ddc6b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
9ddc6b6 |
|
|
|
b2b989d |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-11
|
|
|
b2b989d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
b2b989d |
|
|
|
9c936f2 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-10
|
|
|
9c936f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
9c936f2 |
|
|
|
daa5021 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-9
|
|
|
daa5021 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
daa5021 |
|
|
|
b72e961 |
* Mon Jul 04 2022 Python Maint <python-maint@redhat.com> - 0.3.8-8
|
|
|
b72e961 |
- Rebuilt for Python 3.11
|
|
|
b72e961 |
|
|
|
0924d18 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-7
|
|
|
0924d18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
0924d18 |
|
|
|
071cb32 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-6
|
|
|
071cb32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
071cb32 |
|
|
|
c124c88 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.3.8-5
|
|
|
c124c88 |
- Rebuilt for Python 3.10
|
|
|
c124c88 |
|
|
|
3023856 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-4
|
|
|
3023856 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3023856 |
|
|
|
392cb1c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-3
|
|
|
392cb1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
392cb1c |
|
|
|
e5d71b1 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.8-2
|
|
|
e5d71b1 |
- Rebuilt for Python 3.9
|
|
|
e5d71b1 |
|
|
|
af3fcc0 |
* Sun Feb 16 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.8-1
|
|
|
af3fcc0 |
- Update to 0.3.8
|
|
|
af3fcc0 |
|
|
|
ba54727 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-5
|
|
|
ba54727 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ba54727 |
|
|
|
ac99504 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.7-4
|
|
|
ac99504 |
- Rebuilt for Python 3.8
|
|
|
ac99504 |
|
|
|
b7dbb3a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-3
|
|
|
b7dbb3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b7dbb3a |
|
|
|
5d77eb4 |
* Thu Jun 20 2019 Luis Bazan <lbazan@fedoraproject.org> - 0.3.7-2
|
|
|
5d77eb4 |
- Test need download data
|
|
|
5d77eb4 |
|
|
|
29ca06b |
* Fri Jun 14 2019 Luis Bazan <lbazan@fedoraproject.org> - 0.3.7-1
|
|
|
29ca06b |
- Initial package.
|