Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2015 15:37:49 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399988 - in head/textproc: . py-elasticsearch-dsl-py
Message-ID:  <201510221537.t9MFbnEf035389@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	elasticsearch-dsl-py
+PORTVERSION=	0.0.8
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dvl@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510221537.t9MFbnEf035389>