openbsd-ports/www/py-webhelpers/Makefile
2013-03-11 11:35:43 +00:00

35 lines
763 B
Makefile

# $OpenBSD: Makefile,v 1.7 2013/03/11 11:44:48 espie Exp $
COMMENT = helper functions focused on web applications
MODPY_EGG_VERSION = 1.3
DISTNAME = WebHelpers-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
CATEGORIES = www devel
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=W/WebHelpers/}
MODULES = lang/python
RUN_DEPENDS = www/py-routes \
textproc/py-MarkupSafe
TEST_DEPENDS = ${RUN_DEPENDS} \
devel/py-nose
MODPY_SETUPTOOLS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-webhelpers
${INSTALL_DATA} ${WRKSRC}/README.txt \
${PREFIX}/share/doc/py-webhelpers
do-test:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests \
-v --with-doctest --exclude webhelpers.feedgenerator lib
.include <bsd.port.mk>