View | Details | Raw Unified | Return to bug 231392 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/Uses/fonttools.mk (+55 lines)
Line 0 Link Here
1
.if !defined(_INCLUDE_USES_FONTTOOLS_MK)
2
3
_INCLUDE_USES_FONTTOOLS_MK=	yes
4
5
_FONTTOOLS_VALID_ARGS=		graphite interpolatable lxml plot symfont ufo \
6
				unicode woff
7
8
.undef _FONTTOOLS_UNKNOWN_ARGS
9
.for arg in ${fonttools_ARGS}
10
.if empty(_FONTTOOLS_VALID_ARGS:M${arg})
11
_FONTTOOLS_UNKNOWN_ARGS+=	${arg}
12
.endif
13
.endfor
14
15
.if !empty(_FONTTOOLS_UNKNOWN_ARGS)
16
IGNORE=	has unknown USES=fonttools arguments: ${_FONTTOOLS_UNKNOWN_ARGS}
17
.endif
18
19
.include "${USESDIR}/python.mk"
20
21
fonttools_graphite_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}lz4>=1.7.4.2:archivers/py-lz4@${PY_FLAVOR}
22
23
fonttools_interpolatable_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
24
25
fonttools_lxml_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}lxml>=4.0<5:devel/py-lxml@${PY_FLAVOR} \
26
					${PY_TYPING}
27
28
fonttools_plot_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR}
29
30
fonttools_symfont_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}sympy>=0:math/py-sympy@${PY_FLAVOR}
31
32
fonttools_ufo_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}fs2>=2.2.0<3:devel/py-fs2@${PY_FLAVOR} \
33
					${PY_ENUM34}
34
35
fonttools_woff_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}brotli>=1.0.1:archivers/py-brotli@${PY_FLAVOR} \
36
					${PYTHON_PKGNAMEPREFIX}zopfli>=0.1.4:archivers/py-zopfli@${PY_FLAVOR}
37
38
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}fonttools:print/py-fonttools@${PY_FLAVOR}
39
.for arg in ${fonttools_ARGS}
40
RUN_DEPENDS+=	${fonttools_${arg}_RUN_DEPENDS}
41
.endfor
42
43
.if ${fonttools_ARGS:Mlxml}
44
.if ${PYTHON_REL} < 3400
45
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}singledispatch>=3.4.0.3:devel/py-singledispatch@${PY_FLAVOR}
46
.endif
47
.endif
48
49
.if ${fonttools_ARGS:Municode}
50
.if ${PYTHON_REL} < 3800
51
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}unicodedata2>=12.0.0:devel/py-unicodedata2@${PY_FLAVOR}
52
.endif
53
.endif
54
55
.endif
(-)print/py-psautohint/Makefile (-3 / +2 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	psautohint
3
PORTNAME=	psautohint
4
PORTVERSION=	1.9.1
4
PORTVERSION=	1.9.1
5
PORTREVISION=	1
5
PORTREVISION=	2
6
CATEGORIES=	print python
6
CATEGORIES=	print python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 14-22 Link Here
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
15
16
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
16
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR}
18
17
19
USES=		python zip
18
USES=		fonttools:ufo python zip
20
USE_PYTHON=	autoplist concurrent distutils
19
USE_PYTHON=	autoplist concurrent distutils
21
20
22
post-install:
21
post-install:

Return to bug 231392