aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-11-23 21:25:56 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-11-23 21:25:56 +0000
commit89e87d4771ee91b75945e1715054165dd837d17e (patch)
tree848d44f599672af1c265298062e70e4e8acea5cf /textproc
parenta268657341ecf6cfa8ef072615d421393c41f496 (diff)
downloadports-89e87d4771ee91b75945e1715054165dd837d17e.tar.gz
ports-89e87d4771ee91b75945e1715054165dd837d17e.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-pyelasticsearch/Makefile23
-rw-r--r--textproc/py-pyelasticsearch/distinfo2
-rw-r--r--textproc/py-pyelasticsearch/pkg-descr11
-rw-r--r--textproc/py-pyelasticsearch/pkg-plist37
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%%