New port: textproc/py-pyelasticsearch
pyelasticsearch is a clean, future-proof, high-scale API to elasticsearch. It provides features like... * Transparent conversion of Python data types to and from JSON * Translating HTTP status codes representing failure into exceptions * Connection pooling * Load-balancing of requests across nodes in a cluster * Failed-node marking to avoid downed nodes for a period * Optional automatic retrying of failed requests WWW: https://github.com/rhec/pyelasticsearch
This commit is contained in:
parent
a268657341
commit
89e87d4771
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334695
5 changed files with 74 additions and 0 deletions
|
@ -1177,6 +1177,7 @@
|
|||
SUBDIR += py-paragrep
|
||||
SUBDIR += py-pss
|
||||
SUBDIR += py-pyctpp2
|
||||
SUBDIR += py-pyelasticsearch
|
||||
SUBDIR += py-pygments
|
||||
SUBDIR += py-pysrt
|
||||
SUBDIR += py-pystache
|
||||
|
|
23
textproc/py-pyelasticsearch/Makefile
Normal file
23
textproc/py-pyelasticsearch/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pyelasticsearch
|
||||
PORTVERSION= 0.6.1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= antoine@FreeBSD.org
|
||||
COMMENT= Flexible, high-scale API to elasticsearch
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson \
|
||||
${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=easy_install
|
||||
PYTHON_PY3K_PLIST_HACK=yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/py-pyelasticsearch/distinfo
Normal file
2
textproc/py-pyelasticsearch/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (pyelasticsearch-0.6.1.tar.gz) = daea4813a78949f9f1941be2c56d5abe2c99a8582350caf059804fb65788aca5
|
||||
SIZE (pyelasticsearch-0.6.1.tar.gz) = 41412
|
11
textproc/py-pyelasticsearch/pkg-descr
Normal file
11
textproc/py-pyelasticsearch/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
|||
pyelasticsearch is a clean, future-proof, high-scale API to elasticsearch. It
|
||||
provides features like...
|
||||
|
||||
* Transparent conversion of Python data types to and from JSON
|
||||
* Translating HTTP status codes representing failure into exceptions
|
||||
* Connection pooling
|
||||
* Load-balancing of requests across nodes in a cluster
|
||||
* Failed-node marking to avoid downed nodes for a period
|
||||
* Optional automatic retrying of failed requests
|
||||
|
||||
WWW: https://github.com/rhec/pyelasticsearch
|
37
textproc/py-pyelasticsearch/pkg-plist
Normal file
37
textproc/py-pyelasticsearch/pkg-plist
Normal file
|
@ -0,0 +1,37 @@
|
|||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/client.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/client.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/client.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/downtime.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/downtime.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/downtime.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/client_tests.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/client_tests.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/client_tests.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/downtime_pooling_tests.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/downtime_pooling_tests.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/downtime_pooling_tests.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/es_kwargs_tests.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/es_kwargs_tests.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/es_kwargs_tests.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/json_tests.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/json_tests.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests/json_tests.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch/tests
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyelasticsearch
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
Loading…
Reference in a new issue