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

Collapse All | Expand All

(-)print/py-fonttools/Makefile (-42 / +7 lines)
Lines 1-15 Link Here
1
# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
1
# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	fonttools
4
PORTNAME=	${FONTTOOLS_NAME}
5
PORTVERSION=	3.43.1
5
PORTVERSION=	${FONTTOOLS_VERSION}
6
CATEGORIES=	print python
6
PORTREVISION=	1
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
8
10
MAINTAINER=	sunpoet@FreeBSD.org
9
COMMENT=	Open source library for manipulating fonts, written in Python
11
COMMENT?=	Open source library for manipulating fonts, written in Python
12
10
11
.include "${.CURDIR}/Makefile.common"
12
13
LICENSE=	MIT
13
LICENSE=	MIT
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
15
Lines 19-57 Link Here
19
MAKE_ENV=	FONTTOOLS_MANPATH="man"
19
MAKE_ENV=	FONTTOOLS_MANPATH="man"
20
NO_ARCH=	yes
20
NO_ARCH=	yes
21
21
22
OPTIONS_DEFINE=	GRAPHITE INTERPOLATABLE LXML PLOT SYMFONT UFO UNICODE WOFF
22
.include <bsd.port.mk>
23
GRAPHITE_DESC=	Process graphite type tables in ttLib/tables
24
INTERPOLATABLE_DESC=	Interpolatability support
25
LXML_DESC=	Read/write XML files via lxml (faster/safer than built-in ElementTree)
26
PLOT_DESC=	Visualize DesignSpaceDocument and resulting VariationModel
27
SYMFONT_DESC=	Symbolic font statistics analysis
28
UFO_DESC=	Read/write UFO fonts
29
UNICODE_DESC=	Use latest Unicode Character Database
30
WOFF_DESC=	Compress/uncompress WOFF webfonts
31
32
GRAPHITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lz4>=1.7.4.2:archivers/py-lz4@${PY_FLAVOR}
33
INTERPOLATABLE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
34
LXML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=4.0<5:devel/py-lxml@${PY_FLAVOR} \
35
			${PY_TYPING}
36
PLOT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR}
37
SYMFONT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sympy>=0:math/py-sympy@${PY_FLAVOR}
38
UFO_RUN_DEPENDS=	${PY_ENUM34} \
39
			${PYTHON_PKGNAMEPREFIX}fs2>=2.2.0<3:devel/py-fs2@${PY_FLAVOR}
40
WOFF_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}brotli>=1.0.1:archivers/py-brotli@${PY_FLAVOR} \
41
			${PYTHON_PKGNAMEPREFIX}zopfli>=0.1.4:archivers/py-zopfli@${PY_FLAVOR}
42
43
.include <bsd.port.pre.mk>
44
45
.if ${PORT_OPTIONS:MLXML}
46
.if ${PYTHON_REL} < 3400
47
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}singledispatch>=3.4.0.3:devel/py-singledispatch@${PY_FLAVOR}
48
.endif
49
.endif
50
51
.if ${PORT_OPTIONS:MUNICODE}
52
.if ${PYTHON_REL} < 3800
53
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}unicodedata2>=12.0.0:devel/py-unicodedata2@${PY_FLAVOR}
54
.endif
55
.endif
56
57
.include <bsd.port.post.mk>
(-)print/py-fonttools/Makefile.common (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
FONTTOOLS_NAME=		fonttools
4
FONTTOOLS_VERSION=	3.43.1
5
PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
6
CATEGORIES=		print python
7
MAINTAINER=		sunpoet@FreeBSD.org
(-)print/py-fonttools/Makefile.features (+38 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
.include "${.CURDIR}/../../print/py-fonttools/Makefile.common"
4
5
graphite_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lz4>=1.7.4.2:archivers/py-lz4@${PY_FLAVOR}
6
interpolatable_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
7
lxml_DEPENDS=		${PYTHON_PKGNAMEPREFIX}lxml>=4.0<5:devel/py-lxml@${PY_FLAVOR} \
8
			${PY_TYPING}
9
plot_DEPENDS=		${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR}
10
symfont_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sympy>=0:math/py-sympy@${PY_FLAVOR}
11
ufo_DEPENDS=		${PYTHON_PKGNAMEPREFIX}fs2>=2.2.0<3:devel/py-fs2@${PY_FLAVOR} \
12
			${PY_ENUM34}
13
woff_DEPENDS=		${PYTHON_PKGNAMEPREFIX}brotli>=1.0.1:archivers/py-brotli@${PY_FLAVOR} \
14
			${PYTHON_PKGNAMEPREFIX}zopfli>=0.1.4:archivers/py-zopfli@${PY_FLAVOR}
15
16
COMMENT=	Enable ${FONTTOOLS_FEATURE} feature for FontTools
17
18
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools==${FONTTOOLS_VERSION}:print/py-fonttools@${PY_FLAVOR} \
19
		${${FONTTOOLS_FEATURE}_DEPENDS}
20
21
USES=		metaport python
22
USE_PYTHON=	flavors
23
24
.include <bsd.port.pre.mk>
25
26
.if ${FONTTOOLS_FEATURE} == "lxml"
27
.if ${PYTHON_REL} < 3400
28
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}singledispatch>=3.4.0.3:devel/py-singledispatch@${PY_FLAVOR}
29
.endif
30
.endif
31
32
.if ${FONTTOOLS_FEATURE} == "unicode"
33
.if ${PYTHON_REL} < 3800
34
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}unicodedata2>=12.0.0:devel/py-unicodedata2@${PY_FLAVOR}
35
.endif
36
.endif
37
38
.include <bsd.port.post.mk>
(-)print/py-fonttools-graphite/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	graphite
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-graphite/pkg-descr (+4 lines)
Line 0 Link Here
1
This port enables FontTools to process graphite type tables in ttLib/tables
2
by pulling in additional dependencies for its "graphite" feature.
3
4
WWW: https://github.com/fonttools/fonttools
(-)print/py-fonttools-interpolatable/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	interpolatable
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-interpolatable/pkg-descr (+4 lines)
Line 0 Link Here
1
This port enables interpolatability support for FontTools by pulling in
2
additional dependencies for its "interpolatable" feature.
3
4
WWW: https://github.com/fonttools/fonttools
(-)print/py-fonttools-lxml/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	lxml
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-lxml/pkg-descr (+5 lines)
Line 0 Link Here
1
This port enables FontTools to read and write XML files via lxml, which is
2
faster and safer than built-in ElementTree, by pulling in additional
3
dependencies for its "lxml" feature.
4
5
WWW: https://github.com/fonttools/fonttools
(-)print/py-fonttools-plot/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	plot
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-plot/pkg-descr (+4 lines)
Line 0 Link Here
1
This port enables FontTools to visualize DesignSpaceDocument and resulting
2
VariationModel by pulling in additional dependencies for its "plot" feature.
3
4
WWW: https://github.com/fonttools/fonttools
(-)print/py-fonttools-symfont/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	symfont
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-symfont/pkg-descr (+4 lines)
Line 0 Link Here
1
This port enables FontTools to do symbolic font statistics analysis by pulling
2
in additional dependencies for its "symfont" feature.
3
4
WWW: https://github.com/fonttools/fonttools
(-)print/py-fonttools-ufo/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	ufo
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-ufo/pkg-descr (+4 lines)
Line 0 Link Here
1
This port enables FontTools to read and write UFO fonts by pulling in
2
additional dependencies for its "ufo" feature.
3
4
WWW: https://github.com/fonttools/fonttools
(-)print/py-fonttools-unicode/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	unicode
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-unicode/pkg-descr (+4 lines)
Line 0 Link Here
1
This port enables FontTools to use the latest Unicode Character Database by
2
pulling in additional dependencies for its "unicode" feature.
3
4
WWW: https://github.com/fonttools/fonttools
(-)print/py-fonttools-woff/Makefile (+7 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	${FONTTOOLS_NAME}-${FONTTOOLS_FEATURE}
4
PORTVERSION=	${FONTTOOLS_VERSION}
5
6
FONTTOOLS_FEATURE=	woff
7
.include "${.CURDIR}/../../print/py-fonttools/Makefile.features"
(-)print/py-fonttools-woff/pkg-descr (+4 lines)
Line 0 Link Here
1
This port enables FontTools to compress and uncompress WOFF webfonts
2
by pulling in additional dependencies for its "woff" feature.
3
4
WWW: https://github.com/fonttools/fonttools
(-)print/py-psautohint/Makefile (-2 / +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-20 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}
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools-ufo>=3.32.0:print/py-fonttools-ufo@${PY_FLAVOR}
18
18
19
USES=		python zip
19
USES=		python zip
20
USE_PYTHON=	autoplist concurrent distutils
20
USE_PYTHON=	autoplist concurrent distutils

Return to bug 231392