summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-01-16 08:40:39 +0000
committeradam <adam@pkgsrc.org>2019-01-16 08:40:39 +0000
commit9f7ca74154b788218c09c7b495e2587787486d65 (patch)
tree3a112f7ef60cfd3982aff5610c1660274fc6c71c /fonts
parent57f3466f149f30ba44a96090febc0f8addcdd2b0 (diff)
downloadpkgsrc-9f7ca74154b788218c09c7b495e2587787486d65.tar.gz
py-fonttools: updated to 3.35.2
3.35.2: - [hmtx/vmtx]: Allow to compile/decompile hmtx and vmtx tables even without the corresponding (required) metrics header tables, hhea and vhea - [varLib] Added support for localized axes' labelname and named instances' stylename. 3.35.1: - [_m_a_x_p] Include maxComponentElements in maxp table's recalculation. 3.35.0: - [psCharStrings] In encodeFloat function, use float's "general format" with 8 digits of precision (i.e. %8g) instead of str(). This works around a macOS rendering issue when real numbers in CFF table are too long, and also makes sure that floats are encoded with the same precision in python 2.7 and 3.x. - [_n_a_m_e/fontBuilder] Make _n_a_m_e_table.addMultilingualName also add Macintosh (platformID=1) names by default. Added options to FontBuilder setupNameTable method to optionally disable Macintosh or Windows names. - [varLib] Make build optionally accept a DesignSpaceDocument object, instead of a designspace file path. The caller can now set the font attribute of designspace's sources to a TTFont object, thus allowing to skip filenames manipulation altogether. - [sfnt] Allow SFNTReader objects to be deep-copied. - Require typing>=3.6.4 on py27 to fix issue with singledispatch. - [designspaceLib/t1Lib/macRes] Fixed some cases where pathlib.Path objects were not accepted. - [varLib] Fixed merging of multiple PairPosFormat2 subtables. - [varLib] The default STAT table version is now set to 1.1, to improve compatibility with legacy applications
Diffstat (limited to 'fonts')
-rw-r--r--fonts/py-fonttools/Makefile11
-rw-r--r--fonts/py-fonttools/distinfo10
2 files changed, 12 insertions, 9 deletions
diff --git a/fonts/py-fonttools/Makefile b/fonts/py-fonttools/Makefile
index 8a8eba370b4..3b57e365f64 100644
--- a/fonts/py-fonttools/Makefile
+++ b/fonts/py-fonttools/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2018/12/22 17:19:35 taca Exp $
+# $NetBSD: Makefile,v 1.52 2019/01/16 08:40:39 adam Exp $
-DISTNAME= fonttools-3.34.2
+DISTNAME= fonttools-3.35.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
EXTRACT_SUFX= .zip
@@ -13,10 +12,14 @@ COMMENT= Library for manipulating fonts
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-fs-[0-9]*../../filesystems/py-fs
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
+PYSETUPTESTTARGET= pytest
+
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
diff --git a/fonts/py-fonttools/distinfo b/fonts/py-fonttools/distinfo
index aa3e1f923dd..126ab5fb5c6 100644
--- a/fonts/py-fonttools/distinfo
+++ b/fonts/py-fonttools/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.31 2018/12/22 09:20:03 adam Exp $
+$NetBSD: distinfo,v 1.32 2019/01/16 08:40:39 adam Exp $
-SHA1 (fonttools-3.34.2.zip) = 6b5d7263842d5f547c3d3cdd181d24c6565ba28f
-RMD160 (fonttools-3.34.2.zip) = 689c3e7fcee375b251917df9cc0c9e575c5b6b2b
-SHA512 (fonttools-3.34.2.zip) = 8142e1774ea278ef29293febb4df003600160f4505023a8e480c77f9aefbbcdf2c736a5f0accfb61487f85ae3e018f0d44082eacb8a10aef1aa40e6c404442ef
-Size (fonttools-3.34.2.zip) = 2815068 bytes
+SHA1 (fonttools-3.35.2.zip) = 25676b2ac5a070f7dfae4a55ed6ff5d8cfea7dc8
+RMD160 (fonttools-3.35.2.zip) = e3a158b8b0f7cc2260a6be65bbe59a67b7606a8d
+SHA512 (fonttools-3.35.2.zip) = b276d84482052b6f9f3bc2c5b9eb7857d25f342450a130811a37659afddb6dd2d131c6b626cf923960a80ca60d415ae2e29f214a95201bdc87a49ab0bf0dd4b1
+Size (fonttools-3.35.2.zip) = 2823826 bytes