d87159ed4f
3.20.1: [unicodedata] Fixed issue with script and script_extension functions returning inconsistent short vs long names. They both return the short four- letter script codes now. Added script_name and script_code functions to look up the long human-readable script name from the script code, and viceversa. 3.20.0: [unicodedata] Addded new module fontTools.unicodedata which exports the same interface as the built-in unicodedata module, with the addition of a few functions that are missing from the latter, such as script, script_extension and block. Added a MetaTools/buildUCD.py script to download and parse data files from the Unicode Character Database and generate python modules containing lists of ranges and property values. [feaLib] Added __str__ method to all ast elements. [feaLib] Parser constructor now accepts a glyphNames iterable instead of glyphMap dict. The latter still works but with a pending deprecation warning. [bezierTools] Added arc length calculation functions originally from pens.perimeterPen module. [varLib] Started generating STAT table (8af4309). Right now it just reflects the axes, and even that with certain limitations: * AxisOrdering is set to the order axes are defined, * Name-table entries are not shared with fvar. [py23] Added backports for redirect_stdout and redirect_stderr context managers. [Graphite] Fixed some round-trip bugs
34 lines
1,009 B
Makefile
34 lines
1,009 B
Makefile
# $NetBSD: Makefile,v 1.33 2017/11/28 08:59:32 adam Exp $
|
|
|
|
DISTNAME= fonttools-3.20.1
|
|
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= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
|
|
SUBST_FILES.man+= setup.py
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_MESSAGE.man= Fixing man page installation path.
|
|
|
|
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"
|