summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-11-19 09:51:35 +0000
committeradam <adam@pkgsrc.org>2021-11-19 09:51:35 +0000
commit64d2677c9c802e95ae6cc5e6c3560ba8ceed1e76 (patch)
tree41a3c3a8b966d6a20d66d134e1ea0f09eb858197
parent9d57836da45a10b55c870d553d4df16eb9b22360 (diff)
downloadpkgsrc-64d2677c9c802e95ae6cc5e6c3560ba8ceed1e76.tar.gz
py-fonttools: updated to 4.28.1
4.28.1 (released 2021-11-08) ---------------------------- - [subset] Fixed AttributeError while traversing a color glyph's Paint graph when there is no LayerList, which is optional 4.28.0 (released 2021-11-05) ---------------------------- - Dropped support for EOL Python 3.6, require Python 3.7 - [ufoLib/glifLib] Make filename-clash checks faster by using a set instead of a list - [subset] Don't crash if optional ClipList and LayerList are ``None`` (empty) - [OT-SVG] Removed support for old deprecated version 1 and embedded color palettes, which were never officially part of the OpenType SVG spec. Upon compile, reuse offsets to SVG documents that are identical - [feaLib] Added support for Variable Feature File syntax. This is experimental and subject to change until it is finalized in the Adobe FEA spec - [unicodedata] Update Scripts/ScriptExtensions/Blocks to UnicodeData 14.0 4.27.1 (released 2021-09-23) ---------------------------- - [otlLib] Fixed error when chained contextual lookup builder overflows - [bezierTools] Fixed two floating-point bugs: one when computing `t` for a point lying on an almost horizontal/vertical line; another when computing the intersection point between a curve and a line 4.27.0 (released 2021-09-14) ---------------------------- - [ttLib/otTables] Cleaned up virtual GID handling: allow virtual GIDs in ``Coverage`` and ``ClassDef`` readers; removed unused ``allowVID`` argument from ``TTFont`` constructor, and ``requireReal`` argument in ``TTFont.getGlyphID`` method. Make ``TTFont.setGlyphOrder`` clear reverse glyphOrder map, and assume ``glyphOrder`` internal attribute is never modified outside setGlyphOrder; added ``TTFont.getGlyphNameMany`` and ``getGlyphIDMany`` - [py23] Dropped internal use of ``fontTools.py23`` module to fix deprecation warnings in client code that imports from fontTools - [subset] Fix subsetting COLRv1 clip boxes when font is loaded lazily 4.26.2 (released 2021-08-09) ---------------------------- - [otTables] Added missing ``CompositeMode.PLUS`` operator 4.26.1 (released 2021-08-03) ---------------------------- - [transform] Added ``transformVector`` and ``transformVectors`` methods to the ``Transform`` class. Similar to ``transformPoint`` but ignore the translation part 4.26.0 (released 2021-08-03) ---------------------------- - [xmlWriter] Default to ``"\n"`` for ``newlinestr`` instead of platform-specific ``os.linesep`` - [otData] Define COLRv1 ClipList and ClipBox - [removeOverlaps/instancer] Added --ignore-overlap-errors option to work around Skia PathOps.Simplify bug - NOTE: This will be the last version to support Python 3.6. FontTools will require Python 3.7 or above from the next release
-rw-r--r--fonts/py-fonttools/Makefile12
-rw-r--r--fonts/py-fonttools/PLIST5
-rw-r--r--fonts/py-fonttools/distinfo8
3 files changed, 16 insertions, 9 deletions
diff --git a/fonts/py-fonttools/Makefile b/fonts/py-fonttools/Makefile
index 73026f205e0..c1137bd577b 100644
--- a/fonts/py-fonttools/Makefile
+++ b/fonts/py-fonttools/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.71 2021/07/30 12:55:42 adam Exp $
+# $NetBSD: Makefile,v 1.72 2021/11/19 09:51:35 adam Exp $
-DISTNAME= fonttools-4.25.2
+DISTNAME= fonttools-4.28.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
@@ -13,7 +13,11 @@ LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
-TEST_DEPENDS+= ${PYPKGPREFIX}-fs-[0-9]*:../../filesystems/py-fs
+# ufo
+DEPENDS+= ${PYPKGPREFIX}-fs>=2.2.0:../../filesystems/py-fs
+# woff
+DEPENDS+= ${PYPKGPREFIX}-brotli>=1.0.1:../../archivers/py-brotli
+DEPENDS+= ${PYPKGPREFIX}-zopfli>=0.1.4:../../archivers/py-zopfli
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
@@ -21,7 +25,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
# 3 failed, 3456 passed, 143 skipped, 2 xfailed, 23 warnings, 6 errors
PYSETUPTESTTARGET= pytest
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 4.0.0
+PYTHON_VERSIONS_INCOMPATIBLE= 27 36
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
diff --git a/fonts/py-fonttools/PLIST b/fonts/py-fonttools/PLIST
index c2d197ff701..1d4751ceba5 100644
--- a/fonts/py-fonttools/PLIST
+++ b/fonts/py-fonttools/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.36 2021/07/30 12:55:42 adam Exp $
+@comment $NetBSD: PLIST,v 1.37 2021/11/19 09:51:35 adam Exp $
bin/fonttools-${PYVERSSUFFIX}
bin/pyftmerge-${PYVERSSUFFIX}
bin/pyftsubset-${PYVERSSUFFIX}
@@ -110,6 +110,9 @@ ${PYSITELIB}/fontTools/feaLib/lookupDebugInfo.pyo
${PYSITELIB}/fontTools/feaLib/parser.py
${PYSITELIB}/fontTools/feaLib/parser.pyc
${PYSITELIB}/fontTools/feaLib/parser.pyo
+${PYSITELIB}/fontTools/feaLib/variableScalar.py
+${PYSITELIB}/fontTools/feaLib/variableScalar.pyc
+${PYSITELIB}/fontTools/feaLib/variableScalar.pyo
${PYSITELIB}/fontTools/fontBuilder.py
${PYSITELIB}/fontTools/fontBuilder.pyc
${PYSITELIB}/fontTools/fontBuilder.pyo
diff --git a/fonts/py-fonttools/distinfo b/fonts/py-fonttools/distinfo
index 583fc925a25..2bc9f6c3ccd 100644
--- a/fonts/py-fonttools/distinfo
+++ b/fonts/py-fonttools/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.52 2021/10/26 10:27:22 nia Exp $
+$NetBSD: distinfo,v 1.53 2021/11/19 09:51:35 adam Exp $
-BLAKE2s (fonttools-4.25.2.zip) = 6de9d3c792d5fd1ca69bfa69fe740f7601fbed7abf156c463bede1d5dfde0789
-SHA512 (fonttools-4.25.2.zip) = 17abea04ccd7b54a730fca01a5266db679baa9225a3c0b9e75199e27cdc042873cd0bc9870ca71b2384cdc25b5007085618851b95e5f58fb9eab45bd06bed11c
-Size (fonttools-4.25.2.zip) = 4457054 bytes
+BLAKE2s (fonttools-4.28.1.zip) = 04bf6ecebe452471a67acb7b56716ecb29471f6c913363fb8e45656f6bd38905
+SHA512 (fonttools-4.28.1.zip) = 3e4c4e2fe0e9684c3aa154b0862dc78a2f0b1b80aaf3b814c918b188fd25b6db1516d36de37ec5df403e16f149a29c4c36fa034b57f1174d2a928009aff9e69d
+Size (fonttools-4.28.1.zip) = 4532250 bytes