openbsd-ports/www/py-webtest/Makefile

40 lines
826 B
Makefile
Raw Normal View History

2010-11-22 03:36:47 -05:00
# $OpenBSD: Makefile,v 1.4 2010/11/22 08:36:53 espie Exp $
COMMENT = helper to test wsgi applications
2010-01-10 07:36:35 -05:00
MODPY_EGG_VERSION = 1.2
DISTNAME = WebTest-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
2010-08-30 18:02:33 -04:00
REVISION = 0
CATEGORIES = www devel
HOMEPAGE = http://pythonpaste.org/webtest/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=W/WebTest/}
MODULES = lang/python
2010-11-22 03:36:47 -05:00
RUN_DEPENDS = www/py-webob
REGRESS_DEPENDS = ${RUN_DEPENDS} \
2010-11-22 03:36:47 -05:00
devel/py-dtopt \
devel/py-nose
MODPY_SETUPTOOLS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-webtest
${INSTALL_DATA} ${WRKSRC}/docs/index.txt \
${PREFIX}/share/doc/py-webtest
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests lib tests
.include <bsd.port.mk>