cd25421f7f
- enable regression tests - use MASTER_SITE_PYPI requested, feedback, ok fgs@
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2009/03/23 00:55:32 martynas Exp $
|
|
|
|
COMMENT= pluggable command-line frontend
|
|
|
|
MODPY_EGG_VERSION= 1.7.3
|
|
DISTNAME= PasteScript-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-paste-script-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://pythonpaste.org/script/
|
|
|
|
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/PasteScript/}
|
|
|
|
MODULES= lang/python
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= ::devel/py-cheetah \
|
|
::devel/py-wsgiutils \
|
|
::www/py-flup \
|
|
::www/py-paste \
|
|
::www/py-paste-deploy
|
|
# NOTE: regression tests won't pass, because they need ZPTKit (which
|
|
# has shitloads of dependencies) and FakePlugin. There isn't much
|
|
# point in porting them.
|
|
REGRESS_DEPENDS= ${RUN_DEPENDS} \
|
|
::devel/py-py
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-paste-script
|
|
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-paste-script/
|
|
|
|
do-regress:
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/py.test .
|
|
|
|
.include <bsd.port.mk>
|