pkgsrc/fonts/py-fonttools/Makefile
adam ce4822f58a py-fonttools: updated to 3.26.0
3.26.0:
- [designspace] Added a new optional layer attribute to the source element,
  and a corresponding layerName attribute to the SourceDescriptor
  object.
  Added conditionset element to the rule element to the spec, but not
  implemented in designspace reader/writer yet.
- [varLib.models] Refine modeling one last time.
- [otBase] Fixed sharing of tables referred to by different offset sizes
- [subset] Don't drop a GDEF that only has VarStore. Set to None
  empty Coverage tables in MarkGlyphSets.
- [varLib]: Added --master-finder command-line option.
- [varLib.mutator] Prune fvar nameIDs from instance's name table.
- [otTables] Allow decompiling bad ClassDef tables with invalid format, with
  warning.
- [varLib] Make STAT v1.2 and reuse nameIDs from fvar table.
- [varLib.plot] Show master locations. Set axis limits to -1, +1.
- [subset] Handle HVAR direct mapping. Passthrough 'cvar'.
  Added --font-number command-line option for collections.
- [t1Lib] Allow a text encoding to be specified when parsing a Type 1 font
  Added kind argument to T1Font constructor.
- [ttLib] Added context manager API to TTFont class, so it can be used in
  with statements to auto-close the file when exiting the context
2018-05-11 14:38:24 +00:00

34 lines
1,000 B
Makefile

# $NetBSD: Makefile,v 1.42 2018/05/11 14:38:24 adam Exp $
DISTNAME= fonttools-3.26.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"