Ignore on the package builders when the default version of python is different

from the requested one
This commit is contained in:
Antoine Brodin 2014-11-18 10:33:34 +00:00
parent 91a1caa242
commit ac9f791f7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372710

View File

@ -15,10 +15,16 @@ COMMENT= XML-based extensible HTML generator
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.4:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}pillow>2.6:${PORTSDIR}/graphics/py-pillow \
${PYTHON_PKGNAMEPREFIX}pillow>=2.6:${PORTSDIR}/graphics/py-pillow \
${PYTHON_PKGNAMEPREFIX}cssutils>=1.0:${PORTSDIR}/www/py-cssutils
USES= python:3 tar:bzip2
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
.endif
.include <bsd.port.post.mk>