svn commit: r399988 - in head/textproc: . py-elasticsearch-dsl-py
Dan Langille
dvl at FreeBSD.org
Thu Oct 22 15:37:51 UTC 2015
Author: dvl
Date: Thu Oct 22 15:37:49 2015
New Revision: 399988
URL: https://svnweb.freebsd.org/changeset/ports/399988
Log:
Add py-elasticsearch-dsl-py, a high level Python client for Elasticsearch.
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D3978
Added:
head/textproc/py-elasticsearch-dsl-py/
head/textproc/py-elasticsearch-dsl-py/Makefile (contents, props changed)
head/textproc/py-elasticsearch-dsl-py/distinfo (contents, props changed)
head/textproc/py-elasticsearch-dsl-py/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Thu Oct 22 15:26:34 2015 (r399987)
+++ head/textproc/Makefile Thu Oct 22 15:37:49 2015 (r399988)
@@ -1206,6 +1206,7 @@
SUBDIR += py-docutils
SUBDIR += py-dsv
SUBDIR += py-elasticsearch-py
+ SUBDIR += py-elasticsearch-dsl-py
SUBDIR += py-elib.intl
SUBDIR += py-empy
SUBDIR += py-enchant
Added: head/textproc/py-elasticsearch-dsl-py/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-elasticsearch-dsl-py/Makefile Thu Oct 22 15:37:49 2015 (r399988)
@@ -0,0 +1,23 @@
+# Created by: Dan Langille <dvl at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= elasticsearch-dsl-py
+PORTVERSION= 0.0.8
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dvl at FreeBSD.org
+COMMENT= High level Python client for Elasticsearch
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch-py>=1.3.0:${PORTSDIR}/textproc/py-elasticsearch-py
+
+USE_GITHUB= yes
+GH_ACCOUNT= elastic
+
+USES= python:2
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Added: head/textproc/py-elasticsearch-dsl-py/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-elasticsearch-dsl-py/distinfo Thu Oct 22 15:37:49 2015 (r399988)
@@ -0,0 +1,2 @@
+SHA256 (elastic-elasticsearch-dsl-py-0.0.8_GH0.tar.gz) = b410fb6bc4372b9aa7b379bd441a4aaf61b338fbaba8cebbb1ce6e0251b21b37
+SIZE (elastic-elasticsearch-dsl-py-0.0.8_GH0.tar.gz) = 70117
Added: head/textproc/py-elasticsearch-dsl-py/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-elasticsearch-dsl-py/pkg-descr Thu Oct 22 15:37:49 2015 (r399988)
@@ -0,0 +1,17 @@
+Elasticsearch DSL is a high-level library whose aim is to help with writing
+and running queries against Elasticsearch. It is built on top of the official
+low-level client (elasticsearch-py).
+
+It provides a more convenient and idiomatic way to write and manipulate
+queries. It stays close to the Elasticsearch JSON DSL, mirroring its terminology
+and structure. It exposes the whole range of the DSL from Python either directly
+using defined classes or a queryset-like expressions.
+
+It also provides an optional wrapper for working with documents as Python
+objects: defining mappings, retrieving and saving documents, wrapping the
+document data in user-defined classes.
+
+To use the other Elasticsearch APIs (eg. cluster health) just use the underlying
+client.
+
+WWW: http://elasticsearch-dsl.readthedocs.org/en/latest/
More information about the svn-ports-head
mailing list