Package Details: python-fontparts 0.9.11-2

Git Clone URL: https://aur.archlinux.org/python-fontparts.git (read-only, click to copy)
Package Base: python-fontparts
Description: The replacement for RoboFab
Upstream URL: https://github.com/robotools/fontParts
Licenses: MIT
Submitter: thrasibule
Maintainer: alerque (thrasibule)
Last Packager: alerque
Votes: 2
Popularity: 0.000239
First Submitted: 2019-08-18 01:35
Last Updated: 2021-08-31 11:41

Pinned Comments

alerque commented on 2021-08-03 15:17

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

1 2 Next › Last »

alerque commented on 2021-08-20 13:29

@Haagentis Can you be more specific with what problem you are having? I just confirmed that this package builds cleanly in a chroot using just the dependencies shown. I suspect you probably have an old version of one of the dependencies, but I can't really tell without knowing how you are trying to build the package and what error you're getting.

Haagentis commented on 2021-08-20 11:51

Can't update it, the package is broken or something. It's been more than a week now.

alerque commented on 2021-08-03 15:17

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 22:12

This requires python-setuptools-scm to build cleanly.

The circular dependency issue is also still not resolved.

alerque commented on 2021-06-02 16:37

@randomguy343 You can build by using --nocheck somewhere in the dependency loop to get one package started.

@thrasibule This is an ongoing problem for people trying to break into the loop. I realize this is bad dev practice in the upstream projects that depends on consumer libraries for testing, but that's what we have to work with. Disabling the check() functions by default using options=(!check) would be appropriate. The testing isn't really even testing that the package works right, only that the upstream regression suite passes in the build environment.

randomguy343 commented on 2021-06-02 09:42

The packages python-fontpens, python-booleanoperations and python-fontparts create circular dependencies and can therefore neither be installed individually, nor together for me.

thrasibule commented on 2021-03-09 14:26

@Alkaris that's different. 0.9.9 has the fix. If you read the error message you can see you're missing python-booleanoperations. Just install that and you should be good. It's a dependency of the package, so it should have picked it up.

Alkaris commented on 2021-03-09 12:06

I guess this package is broken until they fix it.

Traceback (most recent call last):
  File "/var/tmp/pamac-build-alkaris/python-fontparts/src/fontParts-0.9.9/Lib/fontParts/fontshell/test.py", line 2, in <module>
    from fontParts.fontshell.font import RFont
  File "/var/tmp/pamac-build-alkaris/python-fontparts/src/fontParts-0.9.9/Lib/fontParts/fontshell/__init__.py", line 2, in <module>
    from fontParts.fontshell.font import RFont
  File "/var/tmp/pamac-build-alkaris/python-fontparts/src/fontParts-0.9.9/Lib/fontParts/fontshell/font.py", line 10, in <module>
    from fontParts.fontshell.layer import RLayer
  File "/var/tmp/pamac-build-alkaris/python-fontparts/src/fontParts-0.9.9/Lib/fontParts/fontshell/layer.py", line 5, in <module>
    from fontParts.fontshell.glyph import RGlyph
  File "/var/tmp/pamac-build-alkaris/python-fontparts/src/fontParts-0.9.9/Lib/fontParts/fontshell/glyph.py", line 2, in <module>
    import booleanOperations
ModuleNotFoundError: No module named 'booleanOperations'
==> ERROR: A failure occurred in check().
    Aborting...

gyscos commented on 2021-02-13 05:13

I think it's an issue with upstream package being incompatible with python 3.9. I posted a PR with a fix: https://github.com/robotools/fontParts/pull/573

In the meantime we might patch this in the PKGBUILD?

patlefort commented on 2021-02-13 03:52

Fails to install:

==> Starting check()...
Traceback (most recent call last):
  File "/run/user/1000/pamac-build-cache/python-fontparts/src/fontParts-0.9.8/Lib/fontParts/__init__.py", line 2, in <module>
    from _version import __version__
ModuleNotFoundError: No module named '_version'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/run/user/1000/pamac-build-cache/python-fontparts/src/fontParts-0.9.8/Lib/fontParts/fontshell/test.py", line 1, in <module>
    from fontParts.test import testEnvironment
  File "/run/user/1000/pamac-build-cache/python-fontparts/src/fontParts-0.9.8/Lib/fontParts/__init__.py", line 6, in <module>
    __version__ = get_version()
  File "/usr/lib/python3.9/site-packages/setuptools_scm/__init__.py", line 169, in get_version
    return _get_version(config)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/__init__.py", line 173, in _get_version
    parsed_version = _do_parse(config)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/__init__.py", line 134, in _do_parse
    raise LookupError(
LookupError: setuptools-scm was unable to detect version for '/run/user/1000/pamac-build-cache/python-fontparts/src/fontParts-0.9.8/Lib'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
==> ERROR: A failure occurred in check().
    Aborting...