2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2013/03/11 11:44:48 espie Exp $
|
2007-06-24 15:17:14 -04:00
|
|
|
|
2009-03-22 20:49:07 -04:00
|
|
|
COMMENT = tools for using web server gateway interface stack
|
2007-06-24 15:17:14 -04:00
|
|
|
|
2012-04-22 08:13:22 -04:00
|
|
|
MODPY_EGG_VERSION = 1.7.5.1
|
2009-03-22 20:49:07 -04:00
|
|
|
DISTNAME = Paste-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-paste-${MODPY_EGG_VERSION}
|
2007-06-24 15:17:14 -04:00
|
|
|
|
2009-03-22 20:49:07 -04:00
|
|
|
CATEGORIES = www
|
2007-06-24 15:17:14 -04:00
|
|
|
|
2009-03-22 20:49:07 -04:00
|
|
|
HOMEPAGE = http://pythonpaste.org/
|
2007-06-24 15:17:14 -04:00
|
|
|
|
|
|
|
# MIT
|
2009-03-22 20:49:07 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2007-06-24 15:17:14 -04:00
|
|
|
|
2009-03-22 20:49:07 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=P/Paste/}
|
2007-06-24 15:17:14 -04:00
|
|
|
|
2009-03-22 20:49:07 -04:00
|
|
|
MODULES = lang/python
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS = www/py-flup
|
2013-03-11 07:35:43 -04:00
|
|
|
TEST_DEPENDS = ${RUN_DEPENDS} \
|
2012-04-22 08:13:22 -04:00
|
|
|
${BASE_PKGPATH} \
|
|
|
|
devel/py-py \
|
|
|
|
devel/py-test
|
2008-01-13 12:04:07 -05:00
|
|
|
|
2009-03-22 20:49:07 -04:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
2007-06-24 15:17:14 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-paste
|
2009-03-22 20:49:07 -04:00
|
|
|
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-paste/
|
2007-06-24 15:17:14 -04:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
pre-test:
|
2008-01-13 12:04:07 -05:00
|
|
|
perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g' \
|
|
|
|
${WRKSRC}/tests/cgiapp_data/*.cgi
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
do-test:
|
2009-03-22 20:49:07 -04:00
|
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/py.test .
|
2007-06-24 15:17:14 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|