diff options
author | antoine <antoine@FreeBSD.org> | 2013-11-24 05:25:56 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-11-24 05:25:56 +0800 |
commit | 3f0dfc59b3e5b56810e8d100a81a1455d78bddf5 (patch) | |
tree | 848d44f599672af1c265298062e70e4e8acea5cf /textproc | |
parent | ef647477019de2f0e4be70742d8911b9dfec475b (diff) | |
download | freebsd-ports-gnome-3f0dfc59b3e5b56810e8d100a81a1455d78bddf5.tar.gz freebsd-ports-gnome-3f0dfc59b3e5b56810e8d100a81a1455d78bddf5.tar.zst freebsd-ports-gnome-3f0dfc59b3e5b56810e8d100a81a1455d78bddf5.zip |
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
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-pyelasticsearch/Makefile | 23 | ||||
-rw-r--r-- | textproc/py-pyelasticsearch/distinfo | 2 | ||||
-rw-r--r-- | textproc/py-pyelasticsearch/pkg-descr | 11 | ||||
-rw-r--r-- | textproc/py-pyelasticsearch/pkg-plist | 37 |
5 files changed, 74 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index d0a5204d3346..42b5be093776 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-pyelasticsearch/Makefile b/textproc/py-pyelasticsearch/Makefile new file mode 100644 index 000000000000..7513311954d4 --- /dev/null +++ b/textproc/py-pyelasticsearch/Makefile @@ -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> diff --git a/textproc/py-pyelasticsearch/distinfo b/textproc/py-pyelasticsearch/distinfo new file mode 100644 index 000000000000..6abd6080f787 --- /dev/null +++ b/textproc/py-pyelasticsearch/distinfo @@ -0,0 +1,2 @@ +SHA256 (pyelasticsearch-0.6.1.tar.gz) = daea4813a78949f9f1941be2c56d5abe2c99a8582350caf059804fb65788aca5 +SIZE (pyelasticsearch-0.6.1.tar.gz) = 41412 diff --git a/textproc/py-pyelasticsearch/pkg-descr b/textproc/py-pyelasticsearch/pkg-descr new file mode 100644 index 000000000000..12a630b8ce18 --- /dev/null +++ b/textproc/py-pyelasticsearch/pkg-descr @@ -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 diff --git a/textproc/py-pyelasticsearch/pkg-plist b/textproc/py-pyelasticsearch/pkg-plist new file mode 100644 index 000000000000..5f7c0c12d29a --- /dev/null +++ b/textproc/py-pyelasticsearch/pkg-plist @@ -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%% |