piotrp pushed to python-elasticsearch (el6). "First commit to python-elasticsearch"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu May 14 18:46:30 UTC 2015
From b1297e040a1b1280a53e58ee6af40dbd154ba6e3 Mon Sep 17 00:00:00 2001
From: Daniel Bruno <danielbrunos at gmail.com>
Date: Fri, 13 Dec 2013 09:25:12 -0400
Subject: First commit to python-elasticsearch
diff --git a/.gitignore b/.gitignore
index e69de29..98ba866 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/elasticsearch-0.4.3.tar.gz
diff --git a/python-elasticsearch.spec b/python-elasticsearch.spec
new file mode 100644
index 0000000..2def26f
--- /dev/null
+++ b/python-elasticsearch.spec
@@ -0,0 +1,56 @@
+%global tarball_name elasticsearch
+
+Name: python-elasticsearch
+Version: 0.4.3
+Release: 3%{?dist}
+Summary: Client for Elasticsearch
+
+Group: Development/Languages
+License: ASL 2.0
+URL: https://github.com/elasticsearch/elasticsearch-py
+Source0: https://pypi.python.org/packages/source/e/%{tarball_name}/%{tarball_name}-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: python2-devel python-setuptools
+Requires: python-thrift
+Requires: python-urllib => 3
+
+%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 %{tarball_name}-%{version}
+rm -fr %{tarball_name}.egg-info
+rm README
+cp README.rst README
+
+%build
+%{__python2} setup.py build
+
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+
+%files
+%{python2_sitelib}/*
+%doc README LICENSE
+
+%changelog
+* Wed Dec 11 2013 Daniel Bruno <dbruno at fedoraproject.org> - 0.4.3-3
+- Standarizing the spec
+
+* Wed Dec 11 2013 Daniel Bruno <dbruno at fedoraproject.org> - 0.4.3-2
+- Fixing lib require
+
+* Tue Nov 26 2013 Daniel Bruno <dbruno at fedoraproject.org> - 0.4.3-1
+- First RPM release
+
diff --git a/sources b/sources
index e69de29..54d9ce3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b6ec207c268e4d71374d7427065a623c elasticsearch-0.4.3.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-elasticsearch.git/commit/?h=el6&id=b1297e040a1b1280a53e58ee6af40dbd154ba6e3
More information about the scm-commits
mailing list