summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-eventlib/Makefile26
-rw-r--r--devel/py-eventlib/distinfo3
-rw-r--r--devel/py-eventlib/pkg-descr10
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 38567a6f5471..49b6cf309e89 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4405,6 +4405,7 @@
SUBDIR += py-epdb
SUBDIR += py-epsilon
SUBDIR += py-evdev
+ SUBDIR += py-eventlib
SUBDIR += py-exam
SUBDIR += py-extras
SUBDIR += py-extremes
diff --git a/devel/py-eventlib/Makefile b/devel/py-eventlib/Makefile
new file mode 100644
index 000000000000..1391995d454e
--- /dev/null
+++ b/devel/py-eventlib/Makefile
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= eventlib
+PORTVERSION= 0.1.5
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Library to make it easy to track events in python/django apps
+
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}celery>=3.0.0:devel/py-celery@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ejson>=0:devel/py-ejson@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}logan>=0.5.0:devel/py-logan@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}redis>=2.7.1:databases/py-redis@${FLAVOR}
+
+NO_ARCH= yes
+USE_PYTHON= autoplist concurrent distutils
+USES= python
+
+.include <bsd.port.mk>
diff --git a/devel/py-eventlib/distinfo b/devel/py-eventlib/distinfo
new file mode 100644
index 000000000000..01a609a455a6
--- /dev/null
+++ b/devel/py-eventlib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503510887
+SHA256 (eventlib-0.1.5.tar.gz) = 0e33fdc2ab85c055902f0c0ef0bbb354ff2bf1335be7acd9eeb982e8facc5be9
+SIZE (eventlib-0.1.5.tar.gz) = 11278
diff --git a/devel/py-eventlib/pkg-descr b/devel/py-eventlib/pkg-descr
new file mode 100644
index 000000000000..2b1a1f3e49c4
--- /dev/null
+++ b/devel/py-eventlib/pkg-descr
@@ -0,0 +1,10 @@
+eventlib is an asynchronous event tracking app for Django. This library was
+built upon the following values:
+- It must be deadly simple to log an event
+- It must be possible to track each event in different ways
+- Each different "event handler" must be completely separate and fail gracefully
+- The event system must be asynchronous, so let's use celery
+- The library must be extensible
+- 100% of test coverage is enough
+
+WWW: https://pypi.python.org/pypi/eventlib