summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-18 18:26:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-01-18 18:26:18 +0000
commitf7aa01ab7aa5bc073d6e2aeb3a330cb3d691d795 (patch)
treee3bb8a7e901c40dbd0b0b289b13d6ee04b9181a1 /x11-fonts
parentUpdate RUN_DEPENDS for py-fonttools 4.2.4 update (diff)
Update RUN_DEPENDS for py-fonttools 4.2.4 update
- Bump PORTREVISION for dependency change
Notes
Notes: svn path=/head/; revision=523466
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/py-cu2qu/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/x11-fonts/py-cu2qu/Makefile b/x11-fonts/py-cu2qu/Makefile
index dd82a9523fcd..6ef0bc6d5de7 100644
--- a/x11-fonts/py-cu2qu/Makefile
+++ b/x11-fonts/py-cu2qu/Makefile
@@ -2,7 +2,7 @@
PORTNAME= cu2qu
PORTVERSION= 1.6.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-fonts python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +14,17 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVOR}
USES= python zip
USE_PYTHON= autoplist concurrent distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>