1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Mark the port with IGNORE when PYTHON_VERSION != 2.4,

because the distribution egg-file is only available for Python 2.4

PR:		ports/130787
Submitted by:	nivit
Pointed out by:	pavbot
This commit is contained in:
Nicola Vitale 2009-01-20 17:34:18 +00:00
parent a6942d3d9e
commit 6cbde64c65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226542

View File

@ -23,8 +23,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=${PORTVERSION} \
@ -43,4 +42,10 @@ do-extract:
do-install:
@${EASY_INSTALL_CMD} ${EASY_INSTALL_ARGS} ${DISTDIR}/${PYTURBOSETUP_EGG}
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 240 || ${PYTHON_REL} >= 250
IGNORE= the distribution file is only available for Python 2.4
.endif
.include <bsd.port.post.mk>