openbsd-ports/www/py-paste-deploy/Makefile
2011-06-08 18:15:28 +00:00

39 lines
897 B
Makefile

# $OpenBSD: Makefile,v 1.10 2011/06/08 18:15:29 rpointel 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 = 1
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>