7ffb58a
%global srcname http-client
7ffb58a
%global desc Quickly and easily access any RESTful or RESTful-like API.
7ffb58a
7ffb58a
Name:           python-%{srcname}
d6f56e8
Version:        3.3.2
d6f56e8
Release:        1%{?dist}
7ffb58a
Summary:        HTTP REST client, simplified for Python
7ffb58a
License:        MIT
7ffb58a
URL:            https://github.com/sendgrid/%{name}
eea0dc5
Source0:        %{url}/archive/%{version}.tar.gz
7ffb58a
7ffb58a
BuildArch:      noarch
7ffb58a
7ffb58a
7ffb58a
%description
7ffb58a
%{desc}
7ffb58a
7ffb58a
7ffb58a
%package -n python3-%{srcname}
7ffb58a
Summary:        %{summary}
7ffb58a
BuildRequires:  python3-devel
7ffb58a
BuildRequires:  python3-pytest
7ffb58a
BuildRequires:  python3-setuptools
7ffb58a
%{?python_provide:%python_provide python3-%{srcname}}
7ffb58a
7ffb58a
%description -n python3-%{srcname}
7ffb58a
%{desc}
7ffb58a
This is a Python 3 version of the package.
7ffb58a
7ffb58a
7ffb58a
%prep
7ffb58a
%autosetup
7ffb58a
7ffb58a
7ffb58a
%build
7ffb58a
%py3_build
7ffb58a
7ffb58a
7ffb58a
%install
7ffb58a
%py3_install
7ffb58a
7ffb58a
7ffb58a
%check
90e0f9b
# test_daterange.py tests the presence of the current year
90e0f9b
# in the license file and breaks every January
90e0f9b
%pytest --ignore=tests/test_daterange.py
7ffb58a
7ffb58a
7ffb58a
%files -n python3-%{srcname}
d6f56e8
%license LICENSE
6bbb325
%doc README.rst CHANGELOG.md USAGE.md
7ffb58a
%{python3_sitelib}/python_http_client/
7ffb58a
%{python3_sitelib}/python_http_client-%{version}-py%{python3_version}.egg-info/
6bbb325
%exclude %{python3_sitelib}/tests
7ffb58a
7ffb58a
7ffb58a
%changelog
d6f56e8
* Thu Feb 11 2021 Lumír Balhar <lbalhar@redhat.com> - 3.3.2-1
d6f56e8
- Update to 3.3.2
d6f56e8
Resolves: rhbz#1927544
d6f56e8
f549efa
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-3
f549efa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f549efa
90e0f9b
* Tue Jan 12 2021 Lumír Balhar <lbalhar@redhat.com> - 3.3.1-2
90e0f9b
- Fix FTBFS by ignoring test of the year in the license file
90e0f9b
c893b24
* Thu Aug 27 2020 Lumír Balhar <lbalhar@redhat.com> - 3.3.1-1
c893b24
- Update to 3.3.1 (#1870393)
c893b24
206c970
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-3
206c970
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
206c970
badcb86
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.7-2
badcb86
- Rebuilt for Python 3.9
badcb86
82f7718
* Thu Apr 02 2020 Lumír Balhar <lbalhar@redhat.com> - 3.2.7-1
82f7718
- Update to 3.2.7 (#1819947)
82f7718
2e61a96
* Thu Mar 05 2020 Lumír Balhar <lbalhar@redhat.com> - 3.2.6-1
2e61a96
- Update to 3.2.6 (#1805003)
2e61a96
26fc6d9
* Thu Feb 20 2020 Lumír Balhar <lbalhar@redhat.com> - 3.2.5-1
26fc6d9
- Update to 3.2.5 (#1805003)
26fc6d9
2408be2
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-2
2408be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2408be2
dbf519d
* Mon Jan 27 2020 Lumír Balhar <lbalhar@redhat.com> - 3.2.4-1
dbf519d
- New upstream version 3.2.4 (bz#1794624)
dbf519d
eea0dc5
* Thu Jan 23 2020 Lumír Balhar <lbalhar@redhat.com> - 3.2.3-1
eea0dc5
- New upstream version 3.2.3 (bz#1794323)
eea0dc5
285f2c5
* Fri Sep 13 2019 Lumír Balhar <lbalhar@redhat.com> - 3.2.1-1
285f2c5
- New upstream version 3.2.1 (bz#1751784)
285f2c5
6bbb325
* Thu Sep 12 2019 Lumír Balhar <lbalhar@redhat.com> - 3.2.0-1
6bbb325
- New upstream version 3.2.0 (bz#1751451)
6bbb325
5ebe915
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-8
5ebe915
- Rebuilt for Python 3.8
5ebe915
13522be
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-7
13522be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
13522be
f8fe102
* Wed Feb 06 2019 Lumír Balhar <lbalhar@redhat.com> - 3.1.0-6
f8fe102
- Skip useles failing test
f8fe102
57d99a1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-5
57d99a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
57d99a1
08b7f9d
* Mon Oct 15 2018 Lumír Balhar <lbalhar@redhat.com> - 3.1.0-4
08b7f9d
- Get rid of Python 2 subpackage
08b7f9d
- Resolves: rhbz#1639322
08b7f9d
4a96a7f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
4a96a7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4a96a7f
67349cf
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-2
67349cf
- Rebuilt for Python 3.7
67349cf
825f570
* Tue Jun 05 2018 Lumír Balhar <lbalhar@redhat.com> - 3.1.0-1
825f570
- New usptream version
825f570
41b5f8a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
41b5f8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
41b5f8a
7d8efe1
* Mon Oct 16 2017 Lumír Balhar <lbalhar@redhat.com> 3.0.0-1
7d8efe1
- New upstream version
7d8efe1
0a156ec
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-4
0a156ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0a156ec
4ed5e9e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
4ed5e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4ed5e9e
44ad6d1
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-2
44ad6d1
- Rebuild for Python 3.6
44ad6d1
ea74e09
* Thu Aug 11 2016 Dominika Krejci <dkrejci@redhat.com> - 2.2.1-1
ea74e09
- Update to 2.2.1
ea74e09
7ffb58a
* Mon Jul 18 2016 Dominika Krejci <dkrejci@redhat.com> - 2.1.1-1
7ffb58a
- Initial release
7ffb58a