openbsd-ports/www/py-werkzeug/Makefile

35 lines
696 B
Makefile

# $OpenBSD: Makefile,v 1.2 2009/03/26 11:50:09 jasper Exp $
COMMENT= WSGI utility collection
MODPY_EGG_VERSION= 0.4.1
DISTNAME= Werkzeug-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}p0
CATEGORIES= www devel
HOMEPAGE= http://werkzeug.pocoo.org/
MASTER_SITES= http://pypi.python.org/packages/source/W/Werkzeug/
MAINTAINER= Damien Miller <djm@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
PKG_ARCH= *
REGRESS_DEPENDS= ::devel/py-py
post-install:
mv ${PREFIX}/docs ${PREFIX}/share/doc/py-werkzeug
do-regress:
cd ${WRKSRC} && py.test
.include <bsd.port.mk>