From e7e65734072bb77538c1a034b35e19e9cd78c933 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Tue, 20 Jan 2009 17:22:11 +0000 Subject: - Mark the port with IGNORE when PYTHON_VERSION != 2.4, because the distribution egg-file is only available for Python 2.4. PR: ports/130785 Submitted by: nivit --- www/py-turbodjango/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'www/py-turbodjango') diff --git a/www/py-turbodjango/Makefile b/www/py-turbodjango/Makefile index dcb94aa7b360..4d8b111bd068 100644 --- a/www/py-turbodjango/Makefile +++ b/www/py-turbodjango/Makefile @@ -24,8 +24,7 @@ RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ NO_BUILD= yes -# Use the same version of www/py-turbogears -USE_PYTHON= 2.4 +USE_PYTHON= yes PLIST_SUB= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ PORTNAME=${PORTNAME} PORTVERSION=${PYTURBODJANGO_VER} \ @@ -45,4 +44,10 @@ do-extract: do-install: @${EASY_INSTALL_CMD} ${EASY_INSTALL_ARGS} ${DISTDIR}/${PYTURBODJANGO_EGG} -.include +.include + +.if ${PYTHON_REL} < 240 || ${PYTHON_REL} >= 250 +IGNORE= the distribution file is available only for Python 2.4 +.endif + +.include -- cgit v1.2.3