New port devel/py-delfick_error:

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.

Reviewed by:	koobs (previous version)
Sponsored by:	Farsight Security, Inc.
Differential Revision:	https://reviews.freebsd.org/D5234
This commit is contained in:
Don Lewis 2016-02-09 22:05:19 +00:00
parent 983e642b7c
commit 46592b9af9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408600
4 changed files with 52 additions and 0 deletions

View file

@ -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

View file

@ -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 <bsd.port.mk>

View file

@ -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

View file

@ -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