From 1ef143e2273c295159e94818593942d067bdf9d6 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 18 Jan 2020 18:26:27 +0000 Subject: Update RUN_DEPENDS for py-fonttools 4.2.4 update - Bump PORTREVISION for dependency change --- x11-fonts/py-fontMath/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'x11-fonts/py-fontMath/Makefile') diff --git a/x11-fonts/py-fontMath/Makefile b/x11-fonts/py-fontMath/Makefile index 6f3b6e8964c0..f7db5d8682a9 100644 --- a/x11-fonts/py-fontMath/Makefile +++ b/x11-fonts/py-fontMath/Makefile @@ -2,6 +2,7 @@ PORTNAME= fontMath PORTVERSION= 0.4.9 +PORTREVISION= 1 CATEGORIES= x11-fonts python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,11 +13,17 @@ COMMENT= Set of objects for performing math operations on font data LICENSE= MIT LICENSE_FILE= ${WRKSRC}/License.txt -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} - USES= python zip USE_PYTHON= autoplist distutils NO_ARCH= yes -.include +.include + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools3>=3.32.0:print/py-fonttools3@${PY_FLAVOR} +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} +.endif + +.include -- cgit v1.2.3