From ce243101a8cb0ec57a1128f31e876e9d3f33c26b Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 18 Jan 2020 18:26:13 +0000 Subject: [PATCH] Update RUN_DEPENDS for py-fonttools 4.2.4 update - Bump PORTREVISION for dependency change --- x11-fonts/py-compreffor/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/x11-fonts/py-compreffor/Makefile b/x11-fonts/py-compreffor/Makefile index f0fc9707da39..e294a596088c 100644 --- a/x11-fonts/py-compreffor/Makefile +++ b/x11-fonts/py-compreffor/Makefile @@ -2,7 +2,7 @@ PORTNAME= compreffor PORTVERSION= 0.4.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-fonts python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,9 +13,15 @@ COMMENT= CFF subroutinizer for fontTools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.1:print/py-fonttools@${PY_FLAVOR} - USES= compiler:c++11-lang python zip USE_PYTHON= autoplist concurrent distutils -.include +.include + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools3>=3.1:print/py-fonttools3@${PY_FLAVOR} +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.1:print/py-fonttools@${PY_FLAVOR} +.endif + +.include