|
|
1bf7920 |
%bcond_with tests
|
|
|
4c398f2 |
|
|
|
d8bae9a |
%global pypi_name xnat
|
|
|
08f8577 |
|
|
|
4c398f2 |
%global desc %{expand: \
|
|
|
4c398f2 |
A new XNAT client that exposes XNAT objects/functions as python objects/functions.
|
|
|
4c398f2 |
The aim is to abstract as much of the REST API away as possible and make xnatpy feel
|
|
|
4c398f2 |
like native Python code. This reduces the need for the user to know the details
|
|
|
4c398f2 |
of the REST API. Low level functionality can still be accessed via the connection object
|
|
|
4c398f2 |
which has get, head, put, post, delete methods for more directly calling the REST API.}
|
|
|
d8bae9a |
|
|
|
d8bae9a |
Name: python-%{pypi_name}
|
|
|
3825960 |
Version: 0.3.22
|
|
|
5dc50a4 |
Release: 2%{?dist}
|
|
|
d8bae9a |
Summary: A new XNAT client that exposes XNAT objects/functions as python objects/functions.
|
|
|
d8bae9a |
License: ASL 2.0
|
|
|
d8bae9a |
URL: http://pypi.python.org/pypi/%{pypi_name}/%{version}
|
|
|
d8bae9a |
Source0: https://pypi.python.org/packages/source/x/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
d8bae9a |
BuildArch: noarch
|
|
|
d8bae9a |
|
|
|
d8bae9a |
%description
|
|
|
4c398f2 |
%{desc}
|
|
|
4c398f2 |
|
|
|
d8bae9a |
%package -n python3-%{pypi_name}
|
|
|
4c398f2 |
Summary: %{summary}
|
|
|
4c398f2 |
|
|
|
4c398f2 |
BuildRequires: python3-devel
|
|
|
4c398f2 |
BuildRequires: python3-setuptools
|
|
|
4c398f2 |
BuildRequires: python3-isodate
|
|
|
4c398f2 |
BuildRequires: python3-requests
|
|
|
4c398f2 |
BuildRequires: python3-utils
|
|
|
f49eee8 |
BuildRequires: python3-progressbar2
|
|
|
4c398f2 |
BuildRequires: python3-sphinx_rtd_theme
|
|
|
4c398f2 |
BuildRequires: python3-six
|
|
|
d8bae9a |
|
|
|
212e1b8 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
d8bae9a |
|
|
|
d8bae9a |
%description -n python3-%{pypi_name}
|
|
|
4c398f2 |
%{desc}
|
|
|
d8bae9a |
|
|
|
d8bae9a |
%prep
|
|
|
6cfc2e2 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
6cfc2e2 |
rm -rf %{pypi_name}.egg-info
|
|
|
d8bae9a |
|
|
|
d8bae9a |
%build
|
|
|
d8bae9a |
%py3_build
|
|
|
d8bae9a |
|
|
|
d8bae9a |
%install
|
|
|
d8bae9a |
%py3_install
|
|
|
4c398f2 |
|
|
|
4c398f2 |
%check
|
|
|
212e1b8 |
%if %{with tests}
|
|
|
4c398f2 |
%{__python3} setup.py test
|
|
|
212e1b8 |
%endif
|
|
|
d8bae9a |
|
|
|
d8bae9a |
%files -n python3-%{pypi_name}
|
|
|
d8bae9a |
%license LICENSE
|
|
|
96684e7 |
%doc README.rst
|
|
|
d8bae9a |
%{_bindir}/xnat_cp_project
|
|
|
d8bae9a |
%{python3_sitelib}/xnat/
|
|
|
d8bae9a |
%{python3_sitelib}/xnat*.egg-info
|
|
|
d8bae9a |
|
|
|
d8bae9a |
%changelog
|
|
|
5dc50a4 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.22-2
|
|
|
5dc50a4 |
- Rebuilt for Python 3.9
|
|
|
5dc50a4 |
|
|
|
3825960 |
* Fri Feb 28 2020 Luis Bazan <lbazan@fedoraproject.org> - 0.3.22-1
|
|
|
3825960 |
- New upstream version
|
|
|
3825960 |
|
|
|
1551450 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.21-2
|
|
|
1551450 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
1551450 |
|
|
|
00c523a |
* Wed Oct 23 2019 Aniket Pradhan <major AT fedoraproject DOT org> - 0.3.21-1
|
|
|
00c523a |
- Upgraded to v0.3.21
|
|
|
00c523a |
|
|
|
00c523a |
* Sun Sep 22 2019 Luis Bazan <lbazan@fedoraproject.org> - 0.3.19-1
|
|
|
875b093 |
- New upstream
|
|
|
875b093 |
|
|
|
e50cc02 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.18-3
|
|
|
e50cc02 |
- Rebuilt for Python 3.8
|
|
|
e50cc02 |
|
|
|
63a82ee |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.18-2
|
|
|
63a82ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
63a82ee |
|
|
|
5eb6d0d |
* Thu Jun 06 2019 Luis Bazan <lbazan@fedoraproject.org> - 0.3.18-1
|
|
|
5eb6d0d |
- New upstream version
|
|
|
5eb6d0d |
|
|
|
feee91a |
* Mon Apr 08 2019 Luis Bazan <lbazan@fedoraproject.org> - 0.3.17-1
|
|
|
96684e7 |
- New upstream version
|
|
|
96684e7 |
|
|
|
a7553bf |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.11-5
|
|
|
a7553bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a7553bf |
|
|
|
e7720eb |
* Wed Dec 19 2018 Luis Bazan <lbazan@fedoraproject.org> - 0.3.11-4
|
|
|
e7720eb |
- enable python-progressbar2
|
|
|
e7720eb |
|
|
|
1c5fc2d |
* Thu Nov 29 2018 Luis Bazan <lbazan@fedoraproject.org> - 0.3.11-3
|
|
|
1c5fc2d |
- Use template of neuro-sig
|
|
|
1c5fc2d |
|
|
|
1c5fc2d |
* Tue Nov 20 2018 Luis Bazan <lbazan@fedoraproject.org> - 0.3.11-2
|
|
|
1c5fc2d |
- Add remove bundled egg info
|
|
|
6cfc2e2 |
|
|
|
d8bae9a |
* Mon Nov 19 2018 Luis Bazan <lbazan@fedoraproject.org> - 0.3.11-1
|
|
|
d8bae9a |
- New upstream
|