Add py-elasticsearch6 6.4.0 (copied from py-elasticsearch)

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-09-02 22:43:18 +00:00
parent 6a017e7d1b
commit 23cb8185c6
4 changed files with 55 additions and 0 deletions

View file

@ -1258,6 +1258,7 @@
SUBDIR += py-elasticsearch-curator
SUBDIR += py-elasticsearch-dsl
SUBDIR += py-elasticsearch5
SUBDIR += py-elasticsearch6
SUBDIR += py-elib.intl
SUBDIR += py-empy
SUBDIR += py-enchant

View file

@ -0,0 +1,34 @@
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= elasticsearch
PORTVERSION= 6.4.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 6
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Official Python low-level client for Elasticsearch
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyaml>=0:textproc/py-pyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= REQUESTS
OPTIONS_DEFAULT=REQUESTS
REQUESTS_DESC= Enable requests support
REQUESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.4.0:www/py-requests@${PY_FLAVOR}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1563013438
SHA256 (elasticsearch-6.4.0.tar.gz) = fb5ab15ee283f104b5a7a5695c7e879cb2927e4eb5aed9c530811590b41259ad
SIZE (elasticsearch-6.4.0.tar.gz) = 83063

View file

@ -0,0 +1,17 @@
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.
For a more high level client library with more limited scope, have a look at
elasticsearch-dsl - a more pythonic library sitting on top of 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 while exposing the whole range of the DSL from Python either directly
using defined classes or a queryset-like expressions.
It also provides an optional persistence layer for working with documents as
Python objects in an ORM-like fashion: defining mappings, retrieving and saving
documents, wrapping the document data in user-defined classes.
WWW: https://github.com/elastic/elasticsearch-py