2009-03-22 20:55:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2009/03/23 00:55:32 martynas Exp $
|
2007-06-24 18:00:23 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= pluggable command-line frontend
|
2007-06-24 18:00:23 -04:00
|
|
|
|
2009-03-22 20:55:32 -04:00
|
|
|
MODPY_EGG_VERSION= 1.7.3
|
2008-04-15 05:34:57 -04:00
|
|
|
DISTNAME= PasteScript-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME= py-paste-script-${MODPY_EGG_VERSION}
|
2007-06-24 18:00:23 -04:00
|
|
|
|
2007-12-10 16:07:51 -05:00
|
|
|
CATEGORIES= www
|
2007-06-24 18:00:23 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2009-03-22 20:55:32 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PasteScript/}
|
2007-06-24 18:00:23 -04:00
|
|
|
|
|
|
|
MODULES= lang/python
|
2008-07-10 20:27:26 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2007-06-24 18:00:23 -04:00
|
|
|
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.
|
2009-03-22 20:55:32 -04:00
|
|
|
REGRESS_DEPENDS= ${RUN_DEPENDS} \
|
|
|
|
::devel/py-py
|
2007-06-24 18:00:23 -04:00
|
|
|
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-paste-script
|
2009-03-22 20:55:32 -04:00
|
|
|
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-paste-script/
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/py.test .
|
2007-06-24 18:00:23 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|