summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2022-02-17 22:06:57 +0100
committerGitHub <noreply@github.com>2022-02-17 15:06:57 -0600
commite6142e8183ffcb045abc64bb11b5e5d2e941394f (patch)
treeada24bf1fbe607c418ba40e37ab60c722052793d
parent98fa2c6f10c97fa867a837750b18a9e887318891 (diff)
downloadspack-e6142e8183ffcb045abc64bb11b5e5d2e941394f.tar.gz
spack-e6142e8183ffcb045abc64bb11b5e5d2e941394f.tar.bz2
spack-e6142e8183ffcb045abc64bb11b5e5d2e941394f.tar.xz
spack-e6142e8183ffcb045abc64bb11b5e5d2e941394f.zip
py-fonttools: add 4.29.1 and fix tests (#29032)
-rw-r--r--var/spack/repos/builtin/packages/py-fonttools/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fonttools/package.py b/var/spack/repos/builtin/packages/py-fonttools/package.py
index ac5f7d7cfc..811eb98a99 100644
--- a/var/spack/repos/builtin/packages/py-fonttools/package.py
+++ b/var/spack/repos/builtin/packages/py-fonttools/package.py
@@ -16,7 +16,17 @@ class PyFonttools(PythonPackage):
homepage = "https://github.com/fonttools/fonttools"
pypi = "fonttools/fonttools-4.28.1.zip"
+ version('4.29.1', sha256='2b18a172120e32128a80efee04cff487d5d140fe7d817deb648b2eee023a40e4')
version('4.28.1', sha256='8c8f84131bf04f3b1dcf99b9763cec35c347164ab6ad006e18d2f99fcab05529')
depends_on('python@3.7:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
+
+ @property
+ def import_modules(self):
+ modules = super(__class__, self).import_modules
+
+ ignored_imports = ["fontTools.ufoLib"]
+
+ return [i for i in modules
+ if not any(map(i.startswith, ignored_imports))]