Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -3994,6 +3994,7 @@ SUBDIR += py-decorator SUBDIR += py-decoratortools SUBDIR += py-defusedxml + SUBDIR += py-delfick_error SUBDIR += py-deliciousapi SUBDIR += py-demjson SUBDIR += py-dexml Index: head/devel/py-delfick_error/Makefile =================================================================== --- head/devel/py-delfick_error/Makefile +++ head/devel/py-delfick_error/Makefile @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= delfick_error +PORTVERSION= 1.7.2 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= truckman@FreeBSD.org +COMMENT= Customized exception class + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}total-ordering>0:${PORTSDIR}/devel/py-total-ordering +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ + ${PYTHON_PKGNAMEPREFIX}noseofyeti>=1.4.9:${PORTSDIR}/devel/py-noseofyeti \ + ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= \ + ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx \ + ${PYTHON_PKGNAMEPREFIX}cloud_sptheme>0:${PORTSDIR}/textproc/py-cloud_sptheme + +NO_ARCH= yes +USES= python +USE_GITHUB= yes +GH_ACCOUNT= delfick +GH_TAGNAME= 6761e6c +USE_PYTHON= distutils autoplist + +PORTDOCS= * + +post-build-DOCS-on: + cd ${WRKSRC}/docs && ${SH} build.sh + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs/_build/html ; \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "-not -name .buildinfo") + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m nose --with-noy + +.include Index: head/devel/py-delfick_error/distinfo =================================================================== --- head/devel/py-delfick_error/distinfo +++ head/devel/py-delfick_error/distinfo @@ -0,0 +1,2 @@ +SHA256 (delfick-delfick_error-1.7.2-6761e6c_GH0.tar.gz) = 33201335a69fb5da1a7a3f16dd21ca2b70ca43d7f55086e85377e03a40b4b00a +SIZE (delfick-delfick_error-1.7.2-6761e6c_GH0.tar.gz) = 9655 Index: head/devel/py-delfick_error/pkg-descr =================================================================== --- head/devel/py-delfick_error/pkg-descr +++ head/devel/py-delfick_error/pkg-descr @@ -0,0 +1,5 @@ +The point of this exception class is to be able to create an error +class that automatically combines keyword arguments given to the +exception instance + +WWW: http://github.com/delfick/delfick_error