Index: py-fonttools/Makefile =================================================================== --- py-fonttools/Makefile +++ py-fonttools/Makefile @@ -3,6 +3,7 @@ PORTNAME= fonttools PORTVERSION= 3.41.0 +PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,10 +14,24 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs2>=2.2.0:devel/py-fs2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=4.0:devel/py-lxml@${PY_FLAVOR} \ + ${PY_ENUM34} + USES= python zip USE_PYTHON= autoplist concurrent distutils MAKE_ENV= FONTTOOLS_MANPATH="man" NO_ARCH= yes -.include +.include + +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=3.4.0.3:devel/py-singledispatch@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 3700 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}unicodedata2>=11.0.0:devel/py-unicodedata2@${PY_FLAVOR} +.endif + +.include