python-elasticsearch/python-elasticsearch.spec
Thomas Bechtold b890756a7a - update to 6.3.1:
* Removed deprecated option ``update_all_types``.
  * Pass retry object instead of False in urllib3
  * Add support for `allow_partial_search_results`
  * Deprecate `update_all_types`
  * Add an exponential wait on delays
  * Fix issues with dependencies
  * Adding X-pack Docs
  * Adding forecast to x-pack ML client
  * cleanup for SSL Context
  * Add X-Pack clients to -py
  * Adding Gzip support for capacity constrained networks
  * ``_routing`` in bulk action has been deprecated in ES. Introduces a breaking change
    if you use ``routing`` as a field in your documents.
  * Updates to SSLContext logic to make it easier to use and have saner defaults.
  * Doc updates
  * bad release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elasticsearch?expand=0&rev=13
2019-01-10 13:21:16 +00:00

73 lines
2.2 KiB
RPMSpec

#
# spec file for package python-elasticsearch
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Test files not included in source archive
%bcond_with test
Name: python-elasticsearch
Version: 6.3.1
Release: 0
Summary: Python client for Elasticsearch
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/elastic/elasticsearch-py
Source: https://files.pythonhosted.org/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nosexcover}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pyaml}
BuildRequires: %{python_module requests >= 2.0.0}
BuildRequires: %{python_module urllib3 >= 1.21.1}
%endif
Requires: python-urllib3 >= 1.21.1
BuildArch: noarch
%python_subpackages
%description
Official low-level client for Elasticsearch. Its goal is to provide common
ground for all Elasticsearch-related code in Python; because of this it tries
to be opinion-free and very extendable.
%prep
%setup -q -n elasticsearch-%{version}
rm README.rst
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%license LICENSE
%doc AUTHORS Changelog.rst README
%{python_sitelib}/*
%changelog