openbsd-ports/www/py-werkzeug/Makefile

35 lines
695 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.1.1.1 2009/01/18 20:10:31 djm Exp $
COMMENT= WSGI utility collection
MODPY_EGG_VERSION= 0.4.1
DISTNAME= Werkzeug-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME:L}
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>