svn commit: r523462 - head/print/py-psautohint
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jan 18 18:26:00 UTC 2020
Author: sunpoet
Date: Sat Jan 18 18:25:59 2020
New Revision: 523462
URL: https://svnweb.freebsd.org/changeset/ports/523462
Log:
Update RUN_DEPENDS for py-fonttools 4.2.4 update
- Bump PORTREVISION for dependency change
Modified:
head/print/py-psautohint/Makefile
Modified: head/print/py-psautohint/Makefile
==============================================================================
--- head/print/py-psautohint/Makefile Sat Jan 18 18:25:54 2020 (r523461)
+++ head/print/py-psautohint/Makefile Sat Jan 18 18:25:59 2020 (r523462)
@@ -2,7 +2,7 @@
PORTNAME= psautohint
PORTVERSION= 1.9.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,6 @@ 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}
USES= python zip
USE_PYTHON= autoplist concurrent distutils
@@ -22,4 +21,12 @@ USE_PYTHON= autoplist concurrent distutils
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psautohint/_psautohint.so
-.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>
More information about the svn-ports-all
mailing list