dev-python/ufo2ft: version bump 2.19.1

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-12-18 20:26:33 +01:00
parent ad6c85809e
commit 4bcba0aa5e
4 changed files with 11 additions and 46 deletions

View File

@@ -1 +1 @@
DIST ufo2ft-2.13.0.zip 243638 BLAKE2B dba3c08ede255fc62e1d69308d7bdcad907ab3de2a8de1462d7cf3733e05e6c457a334f556a754ca9e646ff70ad9f7bd5423896cb0f963f60cd01d3ac43d9e06 SHA512 a236d68073e42471cf9f5794b19cd12dfe885c91e2236216f7112b7a2264bce95313699f19482c4ac2dc65d75ee9bd83a0a773e9ea87f6ed6c9e30929960b7e4
DIST ufo2ft-2.19.1.zip 313131 BLAKE2B a0972beb5a94ee3f1cb3dcf5cb6ecf210543afe752aed6bf008d5674d10077a4bdc93cc4c3d5bea33ca140584b1ac7400f4bdb19ce721512ccd92f915800840b SHA512 6a26bfb1a1598770e2c40855d8ed2de16f9f1b678df6d673cc205f7c03212ce894e475c77d92f3602eead6c5f8789000d5d51ded711be91d75a5a74954f31f84

View File

@@ -1,20 +0,0 @@
--- a/Lib/ufo2ft/filters/__init__.py
+++ b/Lib/ufo2ft/filters/__init__.py
@@ -9,6 +9,7 @@ import importlib
from fontTools.misc.loggingTools import Timer
from ufo2ft.util import _LazyFontName, _GlyphSet
from ufo2ft.constants import FILTERS_KEY as UFO2FT_FILTERS_KEY # keep previous name
+from glyphsLib.builder.constants import GLYPHLIB_PREFIX
logger = logging.getLogger(__name__)
@@ -205,7 +206,8 @@ class BaseFilter(object):
if glyphName in modified:
continue
glyph = glyphSet[glyphName]
- if include(glyph) and filter_(glyph):
+ if glyph.lib.get(GLYPHLIB_PREFIX+'Export', True) and \
+ include(glyph) and filter_(glyph):
modified.add(glyphName)
num = len(modified)

View File

@@ -1,11 +0,0 @@
--- a/Lib/ufo2ft/fontInfoData.py
+++ b/Lib/ufo2ft/fontInfoData.py
@@ -251,6 +251,8 @@ staticFallbackData = dict(
copyright=None,
trademark=None,
italicAngle=0,
+ xHeight=0,
+ capHeight=0,
# not needed
year=None,
note=None,

View File

@@ -3,23 +3,21 @@
EAPI="7"
PYTHON_COMPAT=( python3_7 )
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
#26 failed tests
RESTRICT="test"
KEYWORDS="~amd64"
DESCRIPTION="A bridge from UFOs to FontTool objects"
HOMEPAGE="https://github.com/googlefonts/ufo2ft"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip"
#26 failed tests
RESTRICT="test"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
PATCHES=( "${FILESDIR}/${PN}-exportedglyphs.diff" )
RDEPEND="
>=dev-python/booleanOperations-0.9.0[${PYTHON_USEDEP}]
>=dev-python/compreffor-0.4.6[${PYTHON_USEDEP}]
@@ -29,15 +27,13 @@ RDEPEND="
>=dev-python/skia-pathops-0.2.0[${PYTHON_USEDEP}]
>=dev-python/ufoLib2-0.5.1[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
BDEPEND="
app-arch/unzip
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/glyphsLib[${PYTHON_USEDEP}]
)
"
BDEPEND="
app-arch/unzip
dev-python/setuptools_scm[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest