Seems to require python-ufolib2 in deps too:
>>> import ufo2ft
/usr/lib/python3.13/site-packages/fs/__init__.py:4: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__("pkg_resources").declare_namespace(__name__) # type: ignore
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import ufo2ft
File "/usr/lib/python3.13/site-packages/ufo2ft/__init__.py", line 1, in <module>
from ufo2ft._compilers.interpolatableOTFCompiler import InterpolatableOTFCompiler
File "/usr/lib/python3.13/site-packages/ufo2ft/_compilers/interpolatableOTFCompiler.py", line 11, in <module>
from .baseCompiler import BaseInterpolatableCompiler
File "/usr/lib/python3.13/site-packages/ufo2ft/_compilers/baseCompiler.py", line 19, in <module>
from ufo2ft.instantiator import Instantiator
File "/usr/lib/python3.13/site-packages/ufo2ft/instantiator.py", line 57, in <module>
from ufoLib2.objects.info import NameRecord as ufoNameRecord
ModuleNotFoundError: No module named 'ufoLib2'
Pinned Comments
alerque commented on 2021-08-03 10:41 (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
pacmanwithout messing around with building from the AUR. Issues or contributions are welcome either in comments below or via this GitHub repository.