[packages/python-elasticsearch: 1/2] new, version 1.0.0

glen glen at pld-linux.org
Thu May 5 21:51:25 CEST 2016


commit 6ba1dd79b424055b2d10c724503c426d49c1bf9e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 5 22:50:19 2016 +0300

    new, version 1.0.0
    
    based on fedora package, 17cfe8d

 python-elasticsearch.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/python-elasticsearch.spec b/python-elasticsearch.spec
new file mode 100644
index 0000000..55a460b
--- /dev/null
+++ b/python-elasticsearch.spec
@@ -0,0 +1,54 @@
+%define 	module	elasticsearch
+Summary:	Client for Elasticsearch
+Name:		python-%{module}
+Version:	1.0.0
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+Source0:	https://pypi.python.org/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz
+# Source0-md5:	ac087d3f7a704b2c45079e7e25b56b9f
+URL:		https://github.com/elasticsearch/elasticsearch-py
+BuildRequires:	python-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python-thrift
+Requires:	python-urllib3
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Low level client for Elasticsearch. It's goal is to provide common
+ground for all Elasticsearch-related code in Python. The client's
+features include:
+
+- Translating basic Python data types to and from json
+- Configurable automatic discovery of cluster nodes
+- Persistent connections
+- Load balancing (with pluggable selection strategy) across all
+  available nodes
+- Failed connection penalization (time based - failed connections
+  won't be retried until a timeout is reached)
+- Thread safety
+- Pluggable architecture
+
+%prep
+%setup -qn %{module}-%{version}
+
+rm -r %{module}.egg-info
+
+%build
+%py_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%py_install
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README LICENSE
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-elasticsearch.git/commitdiff/671c93cdfdf156e9dd03b472f01dd21eea580f7d



More information about the pld-cvs-commit mailing list