53532e8042
3.24.0: [ttGlyphPen] Decompose composite glyphs if any components' transform is too large to fit a F2Dot14 value, or clamp transform values that are (almost) equal to +2.0 to make them fit and avoid decomposing. [ttx] Added new -g option to dump glyphs from the glyf table splitted as individual ttx files. Copied ufoLib.filenames module to fontTools.misc.filenames, used for the ttx split-glyphs option . [feaLib] Added support for cvParameters blocks in Character Variant feautures cv01-cv99. [Snippets] Added checksum.py script to generate/check SHA1 hash of ttx files. [varLib.mutator] Fixed issue while instantiating some variable fonts whereby the horizontal advance width computed from gvar phantom points could turn up to be negative. [varLib/subset] Fixed issue with subsetting GPOS variation data not picking up ValueRecord Device objects (54fd71f). [feaLib/voltLib] In all AST elements, the location is no longer a required positional argument, but an optional kewyord argument (defaults to None). This will make it easier to construct feature AST from code
34 lines
1,000 B
Makefile
34 lines
1,000 B
Makefile
# $NetBSD: Makefile,v 1.39 2018/03/02 11:37:05 adam Exp $
|
|
|
|
DISTNAME= fonttools-3.24.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= fonts python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/fonttools/fonttools
|
|
COMMENT= Library for manipulating fonts
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_MESSAGE.man= Fixing man page installation path.
|
|
SUBST_FILES.man+= setup.py
|
|
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
for i in fonttools pyftinspect pyftmerge pyftsubset ttx; do \
|
|
${MV} $${i} $${i}${PYVERSSUFFIX}; \
|
|
done
|
|
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
|
|
${MV} ttx.1 ttx${PYVERSSUFFIX}.1 || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|