Package Details: python-fontmake 3.9.0-2

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.000007
First Submitted: 2019-08-19 18:40 (UTC)
Last Updated: 2024-04-29 09:22 (UTC)

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.

Latest 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.

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)