From owner-svn-ports-all@freebsd.org Thu Oct 22 15:37:51 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F639A1ADA2; Thu, 22 Oct 2015 15:37:51 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E9C4B1189; Thu, 22 Oct 2015 15:37:50 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9MFboSE035393; Thu, 22 Oct 2015 15:37:50 GMT (envelope-from dvl@FreeBSD.org) Received: (from dvl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9MFbnEf035389; Thu, 22 Oct 2015 15:37:49 GMT (envelope-from dvl@FreeBSD.org) Message-Id: <201510221537.t9MFbnEf035389@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dvl set sender to dvl@FreeBSD.org using -f From: Dan Langille Date: Thu, 22 Oct 2015 15:37:49 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2015 15:37:51 -0000 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 +# $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 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/