openbsd-ports/www/py-weberror/Makefile
2011-12-31 15:09:49 +00:00

39 lines
768 B
Makefile

# $OpenBSD: Makefile,v 1.7 2011/12/31 15:09:49 fgsch Exp $
COMMENT = web error handling and exception catching
MODPY_EGG_VERSION = 0.10.3
DISTNAME = WebError-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
CATEGORIES = www devel
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=W/WebError/}
MODULES = lang/python
RUN_DEPENDS = textproc/py-pygments \
www/py-paste \
www/py-tempita \
www/py-webob \
${MODPY_JSON}
REGRESS_DEPENDS = ${RUN_DEPENDS} \
devel/py-nose \
www/py-webtest
MODPY_SETUPTOOLS = Yes
pre-build:
chmod 644 ${WRKSRC}/WebError.egg-info/*
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests lib tests
.include <bsd.port.mk>