openbsd-ports/www/py-paste-deploy/Makefile
2011-09-16 12:00:05 +00:00

39 lines
894 B
Makefile

# $OpenBSD: Makefile,v 1.11 2011/09/16 12:00:08 espie Exp $
COMMENT = load, configure, compose WSGI applications and servers
MODPY_EGG_VERSION = 1.3.3
DISTNAME = PasteDeploy-${MODPY_EGG_VERSION}
PKGNAME = py-paste-deploy-${MODPY_EGG_VERSION}
REVISION = 2
CATEGORIES = www
HOMEPAGE = http://pythonpaste.org/deploy/
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=P/PasteDeploy/}
MODULES = lang/python
RUN_DEPENDS = www/py-paste
REGRESS_DEPENDS = ${RUN_DEPENDS} \
devel/py-py
MODPY_SETUPTOOLS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-paste-deploy
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-paste-deploy/
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/py.test .
.include <bsd.port.mk>