PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman
without messing around with building from the AUR. Issues or contributions are welcome either in comments below or via this GitHub repository.
Search Criteria
Package Details: python-fontmake 3.10.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-fontmake.git (read-only, click to copy) |
---|---|
Package Base: | python-fontmake |
Description: | Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType) |
Upstream URL: | https://github.com/googlefonts/fontmake |
Licenses: | Apache-2.0 |
Submitter: | thrasibule |
Maintainer: | alerque (thrasibule) |
Last Packager: | alerque |
Votes: | 2 |
Popularity: | 0.000002 |
First Submitted: | 2019-08-19 18:40 (UTC) |
Last Updated: | 2024-10-22 14:35 (UTC) |
Dependencies (22)
- python (python37AUR, python311AUR, python310AUR)
- python-attrs
- python-fontmath (python-fontmath-gitAUR)
- python-fonttools (python-fonttools-gitAUR)
- python-fs
- python-glyphslibAUR (python-glyphslib-gitAUR)
- python-lxml
- python-ttfautohint-pyAUR (python-ttfautohint-py-gitAUR)
- python-ufo2ftAUR (python-ufo2ft-gitAUR)
- python-ufolib2
- python-unicodedata2
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools-scm (make)
- python-wheel (make)
- python-comprefforAUR (python-compreffor-gitAUR) (check)
- python-defcon (python-defcon-gitAUR) (check)
- python-mutatormath (python-mutatormath-gitAUR) (check)
- python-pytest (check)
- python-skia-pathopsAUR (python-skia-pathops-gitAUR) (check)
- python-mutatormath (python-mutatormath-gitAUR) (optional)
- python-skia-pathopsAUR (python-skia-pathops-gitAUR) (optional)
Required by (13)
- fontship
- fontship-git
- gftools
- gftools-git
- otf-fira-code-git (make)
- otf-hanken-grotesk (make)
- otf-smiley-sans (make)
- otf-smiley-sans-git (make)
- ttf-fraunces-variable-git (make)
- ttf-smiley-sans (make)
- ttf-smiley-sans-git (make)
- woff2-smiley-sans (make)
- woff2-smiley-sans-git (make)
Sources (1)
Latest Comments
alerque commented on 2021-08-03 12:39 (UTC)
alerque commented on 2021-07-19 21:58 (UTC) (edited on 2021-07-19 22:38 (UTC) by alerque)
After specifically saying "I'm happy to apply patches that fix specific issues" I see you just updated a package I sent patches for with your own commits, so I'm not sending patches again unless you actually want them.
This package is broken as well, it does not build cleanly using makechrootpkg
. At the very least python-compreffor
is missing from checkdepends.
thrasibule commented on 2021-01-11 19:24 (UTC)
@txtsd you need to reinstall python-fontmake.
txtsd commented on 2021-01-10 11:07 (UTC)
==> Starting check()...
===================================================================================== test session starts =====================================================================================
platform linux -- Python 3.9.1, pytest-6.2.1, py-1.10.0, pluggy-0.13.1
rootdir: /home/txtsd/.cache/yay/python-fontmake/src/fontmake-2.3.0, configfile: setup.cfg
plugins: requests-mock-1.8.0, cython-0.1.0
collected 0 items / 2 errors
=========================================================================================== ERRORS ============================================================================================
_________________________________________________________________________ ERROR collecting tests/test_instantiator.py _________________________________________________________________________
ImportError while importing test module '/home/txtsd/.cache/yay/python-fontmake/src/fontmake-2.3.0/tests/test_instantiator.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_instantiator.py:9: in <module>
import fontmake.instantiator
Lib/fontmake/instantiator.py:40: in <module>
import fontMath
E ModuleNotFoundError: No module named 'fontMath'
_____________________________________________________________________________ ERROR collecting tests/test_main.py _____________________________________________________________________________
ImportError while importing test module '/home/txtsd/.cache/yay/python-fontmake/src/fontmake-2.3.0/tests/test_main.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_main.py:8: in <module>
import fontmake.__main__
Lib/fontmake/__main__.py:25: in <module>
from fontmake.font_project import INTERPOLATABLE_OUTPUTS, FontProject
Lib/fontmake/font_project.py:40: in <module>
from fontmake import instantiator
Lib/fontmake/instantiator.py:40: in <module>
import fontMath
E ModuleNotFoundError: No module named 'fontMath'
====================================================================================== warnings summary =======================================================================================
../../../../../../../usr/lib/python3.9/site-packages/fontTools/misc/py23.py:11
/usr/lib/python3.9/site-packages/fontTools/misc/py23.py:11: DeprecationWarning: The py23 module has been deprecated and will be removed in the next release. Please update your code.
warnings.warn(
../../../../../../../usr/lib/python3.9/site-packages/packaging/version.py:127: 2546 warnings
/usr/lib/python3.9/site-packages/packaging/version.py:127: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=================================================================================== short test summary info ===================================================================================
ERROR tests/test_instantiator.py
ERROR tests/test_main.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================================== 2547 warnings, 2 errors in 0.98s ===============================================================================
==> ERROR: A failure occurred in check().
Aborting...
error making: python-fontmake
λ yay -Ss python-fontmath
aur/python-fontmath 0.6.0-1 (+2 0.16) (Installed)
A set of objects for performing math operations on font data.
alerque commented on 2020-12-18 15:46 (UTC)
This version of fontmake
should explicitly require python-ufo2ft>=2.19.1
. For roughly 2/3 of the font projects I've tried it works okay with the lower version currently in AUR, but for some projects (specifically ones with CFF outlines with some specific feature?) it makes API calls that are new. Because the current AUR package is held back due to needing newer python-fonttools
(that Arch is being really slow to update in [community], I've added a python-ufo2ft-git
package that can satisfy the dependency until the stable package is updated.
alerque commented on 2020-12-10 15:18 (UTC)
I realize this is kind of blocked because the Arch [community] package for ptyhon-fonttools is out of date (flagged for over a month). I've been blocked by this so I've actually posted a python-fonttools-git
package to the AUR which provides python-fonttools
and can substitute for it. I would suggest updating this package with the dependency minimum version set explicitly. That way people won't accidentally update before the system package updates, but they can get this (and a lot of other things) freshened up if they want to install that AUR package.
reMiND commented on 2019-11-03 10:41 (UTC)
Build fontmake without https://aur.archlinux.org/packages/python-ufo2ft/ (got build error, see comment)
Pinned Comments
alerque commented on 2021-08-03 12:39 (UTC)
PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using
pacman
without messing around with building from the AUR. Issues or contributions are welcome either in comments below or via this GitHub repository.