1dce51a
%global tarball_name elasticsearch
b1297e0
b1297e0
Name:           python-elasticsearch
1128380
Version:        7.5.1
70ff3f2
Release:        1%{?dist}
1dce51a
Summary:        Client for Elasticsearch
b1297e0
b1297e0
License:        ASL 2.0
b1297e0
URL:            https://github.com/elasticsearch/elasticsearch-py
f3c4197
Source0:        https://pypi.io/packages/source/e/%{tarball_name}/%{tarball_name}-%{version}.tar.gz
b1297e0
BuildArch:      noarch
1dce51a
1dce51a
BuildRequires:  python3-devel
1dce51a
BuildRequires:  python3-setuptools
b1297e0
58fef6d
%global _description\
58fef6d
Low level client for Elasticsearch. It's goal is to provide common ground\
58fef6d
for all Elasticsearch-related code in Python. The client's features include:\
58fef6d
\
58fef6d
- Translating basic Python data types to and from json\
58fef6d
- Configurable automatic discovery of cluster nodes\
58fef6d
- Persistent connections\
58fef6d
- Load balancing (with pluggable selection strategy) across all available nodes\
58fef6d
- Failed connection penalization (time based - failed connections won't be\
58fef6d
  retried until a timeout is reached)\
58fef6d
- Thread safety\
b1297e0
- Pluggable architecture
b1297e0
58fef6d
%description %_description
58fef6d
58fef6d
1dce51a
%package -n python3-%{tarball_name}
1dce51a
Summary:        Python 3 Client for Elasticsearch
1dce51a
License:        ASL 2.0
3d0ab6b
Requires:       python3-urllib3
1dce51a
1dce51a
%description -n python3-%{tarball_name}
1dce51a
Low level client for Elasticsearch. It's goal is to provide common ground
1dce51a
for all Elasticsearch-related code in Python. The client's features include:
1dce51a
1dce51a
- Translating basic Python data types to and from json
1dce51a
- Configurable automatic discovery of cluster nodes
1dce51a
- Persistent connections
1dce51a
- Load balancing (with pluggable selection strategy) across all available nodes
1dce51a
- Failed connection penalization (time based - failed connections won't be
1dce51a
  retried until a timeout is reached)
1dce51a
- Thread safety
1dce51a
- Pluggable architecture
1dce51a
b1297e0
%prep
b1297e0
%setup -qn %{tarball_name}-%{version}
b1297e0
rm -fr %{tarball_name}.egg-info
b1297e0
b1297e0
%build
Orion Poplawski 874f520
%py3_build
b1297e0
b1297e0
%install
Orion Poplawski 874f520
%py3_install
b1297e0
f3c4197
%check
e293070
# * missing requirements for tests: python-pyaml
f3c4197
# * tests are not included in the tarball, we would have to add an extra
f3c4197
# source for them
f3c4197
# * https://github.com/elastic/elasticsearch-py/tree/master/test_elasticsearch
f3c4197
# also notes that "The tests also rely on a checkout of elasticsearch
f3c4197
# repository existing on the same level", and it looks like they also
f3c4197
# require a running elasticsearch server
f3c4197
1dce51a
%files -n python3-elasticsearch
1dce51a
%{python3_sitelib}/%{tarball_name}
1dce51a
%{python3_sitelib}/%{tarball_name}-%{version}-py3.?.egg-info
1dce51a
%doc README
1dce51a
%license LICENSE
b1297e0
b1297e0
%changelog
1128380
* Mon Jan 20 2020 Steve Traylen <steve.traylen@cern.ch> - 7.5.1-1
1128380
- Latest upstream 7.5.1.
1128380
70ff3f2
* Wed Nov 13 2019 Steve Traylen <steve.traylen@cern.ch> - 7.0.5-1
70ff3f2
- Latest upstream 7.0.5.
70ff3f2
f05ca53
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0.0-4
f05ca53
- Rebuilt for Python 3.8.0rc1 (#1748018)
f05ca53
56f2ede
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0.0-3
56f2ede
- Rebuilt for Python 3.8
56f2ede
3730370
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-2
3730370
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3730370
ef36132
* Mon May 06 2019 Steve Traylen <steve.traylen@cern.ch> - 7.0.0-1
ef36132
- Latest upstream 7.0.0.
ef36132
93275e9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.1-2
93275e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
93275e9
808ef60
* Tue Nov 20 2018 Steve Traylen <steve.traylen@cern.ch> - 6.3.1-1
808ef60
- Latest upstream 6.3.1.
808ef60
5b0f2cc
* Thu Sep 27 2018 Piotr Popieluch <piotr1212@gmail.com> - 2.4.0-9
5b0f2cc
- Remove Python2 supbackage
5b0f2cc
1dd6be5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-8
1dd6be5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1dd6be5
08bbed4
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-7
08bbed4
- Rebuilt for Python 3.7
08bbed4
16e1178
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-6
16e1178
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
16e1178
58fef6d
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.0-5
58fef6d
- Python 2 binary package renamed to python2-elasticsearch
58fef6d
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
58fef6d
27e19f7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
27e19f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
27e19f7
bcc989e
* Sun Mar 12 2017 Piotr Popieluch <piotr1212@gmail.com> - 2.4.0-3
bcc989e
- Update python thrift requires
bcc989e
a792661
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-2
a792661
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a792661
f3c4197
* Wed Dec 28 2016 Adam Williamson <awilliam@redhat.com> - 2.4.0-1
f3c4197
- Update to 2.4.0 (needed for latest elastic-curator)
f3c4197
- Document missing tests
f3c4197
560f8bf
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.3.0-4
560f8bf
- Rebuild for Python 3.6
560f8bf
bdca2b0
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-3
bdca2b0
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
bdca2b0
Orion Poplawski bce135a
* Wed Jun 15 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.0-2
Orion Poplawski 874f520
- Drop %%py3dir and use new macros
Orion Poplawski 874f520
Orion Poplawski 874f520
* Wed Jun 08 2016 Piotr Popieluch <piotr1212@gmail.com> - 2.3.0-1
75cbaa6
- Update to 2.3.0
75cbaa6
Orion Poplawski 874f520
* Wed Jun 08 2016 Piotr Popieluch <piotr1212@gmail.com> - 2.0.0-4
3d0ab6b
- Readd python-rullib dependency, rpmlint Error needs to be ignored #1344121
3d0ab6b
da0d30c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
da0d30c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
da0d30c
Robert Kuska d3b795f
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.0.0-2
Robert Kuska d3b795f
- Rebuilt for Python3.5 rebuild
Robert Kuska d3b795f
1dd032a
* Wed Oct 14 2015 Daniel Bruno <dbruno@fedoraproject.org> - 2.0.0-1
1dd032a
- Elasticsearch 2.0.0 version release
1dd032a
895c642
* Tue Sep 22 2015 Daniel Bruno <dbruno@fedoraproject.org> - 1.7.0-1
895c642
- Upgrade to 1.7.0
895c642
93a40f2
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
93a40f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
93a40f2
1dce51a
* Thu May 14 2015 Piotr Popieluch <piotr1212@gmail.com> - 1.4.0-2
1dce51a
- Add python3 module
1dce51a
- Remove trailing whitespace
1dce51a
- Remove deprecated group tag
1dce51a
- Move license from %%doc to %%license
1dce51a
- Remove deprecated rm -rf buildroot
1dce51a
- fix rpmlint Error: explicit-lib-dependency python-urllib3
1dce51a
Alan Pevec 55216d4
* Tue Apr 07 2015 Alan Pevec <apevec@fedoraproject.org> - 1.4.0-1
Alan Pevec 55216d4
- Upgrade to 1.4.0 version
Alan Pevec 55216d4
17cfe8d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
17cfe8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
17cfe8d
221831d
* Mon Apr 14 2014 Daniel Bruno <dbruno@fedoraproject.org> - 1.0.0-1
221831d
- Upgrade to 1.0.0 version
b1297e0
b1297e0
* Tue Nov 26 2013 Daniel Bruno <dbruno@fedoraproject.org> - 0.4.3-1
b1297e0
- First RPM release