openbsd-ports/www/py-webhelpers/Makefile
fgsch 9e8d835a14 Import WebHelpers 0.6.4.
Web Helpers is a library of helper functions intended to make writing
templates in web applications easier. It's the standard function
library for Pylons and TurboGears 2.  It also contains a large
number of functions not specific to the web, including text processing,
number formatting, date calculations, container objects, etc.

martynas@ ok.
2009-03-29 23:56:25 +00:00

37 lines
833 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/03/29 23:56:25 fgsch Exp $
COMMENT = helper functions focused on web applications
MODPY_EGG_VERSION = 0.6.4
DISTNAME = WebHelpers-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
CATEGORIES = www devel
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=W/WebHelpers/}
MODULES = lang/python
RUN_DEPENDS = ::www/py-routes
REGRESS_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-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests \
-v --with-doctest --exclude webhelpers.feedgenerator lib
.include <bsd.port.mk>