Accepting request 535242 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/535242 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elasticsearch?expand=0&rev=2
This commit is contained in:
commit
384275f1a9
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:45d9f8fbe0878a1b7493afeb20f4f6677a43982776ed1a77d9373e9c5b9de966
|
|
||||||
size 63593
|
|
3
elasticsearch-5.4.0.tar.gz
Normal file
3
elasticsearch-5.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e754c688e20fe73160fb6f7f5b63f2a71c78788dc9e6908950681d3a39b56e85
|
||||||
|
size 64429
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 00:43:55 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version
|
||||||
|
- Update to version 5.4.0
|
||||||
|
* see changelog at https://github.com/elastic/elasticsearch-py/blob/5.4.0/Changelog.rst
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 14 20:34:21 UTC 2017 - jengelh@inai.de
|
Tue Feb 14 20:34:21 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -16,38 +16,56 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
# Test files not included in source archive
|
||||||
|
%bcond_with test
|
||||||
Name: python-elasticsearch
|
Name: python-elasticsearch
|
||||||
Version: 5.2.0
|
Version: 5.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python client for Elasticsearch
|
Summary: Python client for Elasticsearch
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/elasticsearch/elasticsearch-py
|
Url: https://github.com/elastic/elasticsearch-py
|
||||||
Source: https://pypi.io/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
Requires: python-urllib3
|
BuildRequires: fdupes
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if %{with test}
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
BuildRequires: %{python_module coverage}
|
||||||
%else
|
BuildRequires: %{python_module mock}
|
||||||
BuildArch: noarch
|
BuildRequires: %{python_module nosexcover}
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module pyaml}
|
||||||
|
BuildRequires: %{python_module requests >= 2.0.0}
|
||||||
|
BuildRequires: %{python_module urllib3 >= 1.8}
|
||||||
%endif
|
%endif
|
||||||
|
Requires: python-urllib3 >= 1.8
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Official low-level client for Elasticsearch. It provides common
|
Official low-level client for Elasticsearch. Its goal is to provide common
|
||||||
code for all further Elasticsearch-related code in Python.
|
ground for all Elasticsearch-related code in Python; because of this it tries
|
||||||
|
to be opinion-free and very extendable.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n elasticsearch-%{version}
|
%setup -q -n elasticsearch-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files
|
%if %{with test}
|
||||||
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS Changelog.rst LICENSE README README.rst
|
%doc AUTHORS Changelog.rst LICENSE README README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user