Index: www/annotator-store/Makefile =================================================================== --- www/annotator-store/Makefile +++ www/annotator-store/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= annotator-store +PORTVERSION= 0.11.1 +CATEGORIES= www python +MAINTAINER= wblock@FreeBSD.org +COMMENT= Storage server for annotator.js + +# security/py-itsdangerous has a JSON option, default off. +# this may need it to be enabled + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.4:${PORTSDIR}/devel/py-iso8601 \ + ${PYTHON_PKGNAMEPREFIX}PyJWT>=0.1.4:${PORTSDIR}/www/py-pyjwt \ + ${PYTHON_PKGNAMEPREFIX}Flask>=0.9:${PORTSDIR}/www/py-flask \ + elasticsearch>=0.90.9:${PORTSDIR}/textproc/elasticsearch \ + ${PYTHON_PKGNAMEPREFIX}elasticsearch-py>=0:${PORTSDIR}/textproc/py-elasticsearch-py + +USE_GITHUB= yes +GH_ACCOUNT= openannotation +GH_PROJECT= annotator-store +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 36b647c + +USE_PYTHON= 2.7 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + +.include Index: www/annotator-store/distinfo =================================================================== --- www/annotator-store/distinfo +++ www/annotator-store/distinfo @@ -0,0 +1,2 @@ +SHA256 (annotator-store-0.11.1.tar.gz) = d92a0414f9e9e88d3df5cee9251e7869c325d1096642b1c9bb638d48c335470c +SIZE (annotator-store-0.11.1.tar.gz) = 25509 Index: www/annotator-store/pkg-descr =================================================================== --- www/annotator-store/pkg-descr +++ www/annotator-store/pkg-descr @@ -0,0 +1,3 @@ +Database backend for Annotator (http://annotatorjs.org) + +WWW: https://github.com/openannotation/annotator-store/