svn commit: r523461 - head/math/py-MutatorMath
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jan 18 18:25:55 UTC 2020
Author: sunpoet
Date: Sat Jan 18 18:25:54 2020
New Revision: 523461
URL: https://svnweb.freebsd.org/changeset/ports/523461
Log:
Update RUN_DEPENDS for py-fonttools 4.2.4 update
- Bump PORTREVISION for dependency change
Modified:
head/math/py-MutatorMath/Makefile
Modified: head/math/py-MutatorMath/Makefile
==============================================================================
--- head/math/py-MutatorMath/Makefile Sat Jan 18 18:25:49 2020 (r523460)
+++ head/math/py-MutatorMath/Makefile Sat Jan 18 18:25:54 2020 (r523461)
@@ -2,6 +2,7 @@
PORTNAME= MutatorMath
PORTVERSION= 2.1.2
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,7 @@ COMMENT= Piecewise linear interpolation in multiple di
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}defcon>=0.3.5:x11-fonts/py-defcon@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0.3.5:x11-fonts/py-defcon@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fontMath>=0.4.8:x11-fonts/py-fontMath@${PY_FLAVOR}
USES= python zip
@@ -21,4 +21,12 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
-.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