[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/36: gnu: Add python-elasticsearch.
From: |
julien lepiller |
Subject: |
12/36: gnu: Add python-elasticsearch. |
Date: |
Thu, 11 May 2017 16:01:27 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit afdfbb1dca302bbf958f039871da566aaf5947ac
Author: Julien Lepiller <address@hidden>
Date: Sat Apr 22 14:33:57 2017 +0200
gnu: Add python-elasticsearch.
* gnu/packages/python.scm (python-elasticsearch, python2-elasticsearch):
New variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2f2da39..b30fd1a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14354,3 +14354,35 @@ especially -cover-package.")
(define-public python2-nosexcover
(package-with-python2 python-nosexcover))
+
+(define-public python-elasticsearch
+ (package
+ (name "python-elasticsearch")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "elasticsearch" version))
+ (sha256
+ (base32
+ "1sdw1r05cw7ihnmng8ra9v968fj7bq6sji8i1dikymsnkcpgc69g"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-nosexcover" ,python-nosexcover)
+ ("python-pyaml" ,python-pyaml)
+ ("python-requests" ,python-requests)))
+ (propagated-inputs
+ `(("urllib3" ,python-urllib3)))
+ (arguments
+ ;; tests require the test_elasticsearch module but it is not distributed.
+ `(#:tests? #f))
+ (home-page "https://github.com/elastic/elasticsearch-py")
+ (synopsis "Low-level client for Elasticsearch")
+ (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.")
+ (license license:expat)))
+
+(define-public python2-elasticsearch
+ (package-with-python2 python-elasticsearch))
- 04/36: gnu: Add python-utils., (continued)
- 04/36: gnu: Add python-utils., julien lepiller, 2017/05/11
- 10/36: gnu: Add python-dirsync., julien lepiller, 2017/05/11
- 03/36: gnu: Add python-pytest-catchlog., julien lepiller, 2017/05/11
- 08/36: gnu: Add python-cssmin., julien lepiller, 2017/05/11
- 07/36: gnu: python-rq: Update to 0.7.1., julien lepiller, 2017/05/11
- 06/36: gnu: Add python-sphinx-me., julien lepiller, 2017/05/11
- 16/36: gnu: Add python2-stemming., julien lepiller, 2017/05/11
- 05/36: gnu: Add python-webassets., julien lepiller, 2017/05/11
- 09/36: gnu: Add python-diff-match-patch., julien lepiller, 2017/05/11
- 13/36: gnu: python-dateutil: Update to 2.6.0., julien lepiller, 2017/05/11
- 12/36: gnu: Add python-elasticsearch.,
julien lepiller <=
- 14/36: gnu: Add python-levenshtein., julien lepiller, 2017/05/11
- 15/36: gnu: Add python-scandir., julien lepiller, 2017/05/11
- 17/36: gnu: Add python-factory-boy., julien lepiller, 2017/05/11
- 18/36: gnu: Add python-translate-toolkit., julien lepiller, 2017/05/11
- 22/36: gnu: Add python-dj-database-url., julien lepiller, 2017/05/11
- 27/36: gnu: Add python-hiredis., julien lepiller, 2017/05/11
- 31/36: gnu: Add python-django-sortedm2m., julien lepiller, 2017/05/11
- 33/36: gnu: Add python-django-statici18n., julien lepiller, 2017/05/11
- 34/36: gnu: python-pytest-django: Update to 3.1.2., julien lepiller, 2017/05/11
- 21/36: gnu: Add python-django-jsonfield., julien lepiller, 2017/05/11