~ruther/guix-local

28d0ff97bad50e3383665f3569a8b249f404a3fc — Sharlatan Hellseher 6 months ago 42f416b
gnu: python-fontparts-bootstrap: Switch to pyproejct, fix build.

* gnu/packages/fontutils.scm (python-fontparts-bootstrap): Fix build.
[build-system]: Switch to pyproejct-build-system.
[arguments] <test-backend>: Use custom.
<test-flags>: Provide it.
[native-inputs]: Add python-setuptools.

Change-Id: Ia6b2278d97f4ac40e3e91f4b613ce5a3c8f83c6d
1 files changed, 8 insertions(+), 2 deletions(-)

M gnu/packages/fontutils.scm
M gnu/packages/fontutils.scm => gnu/packages/fontutils.scm +8 -2
@@ 664,13 664,19 @@ implementing the pen protocol for manipulating glyphs.")
        (uri (pypi-uri "fontParts" version ".zip"))
        (sha256
         (base32 "0j4h8hszky639gmfy1avmw670y80ya49kca8yc635h5ihl0c3v8x"))))
     (build-system python-build-system)
     (build-system pyproject-build-system)
     (arguments
      (list #:test-backend #~'custom
            #:test-flags #~(list "Lib/fontParts/fontshell/test.py")))
     (propagated-inputs
      (list python-booleanoperations
            python-defcon-bootstrap
            python-fontmath
            python-fonttools-minimal))
     (native-inputs (list python-setuptools-scm unzip))
     (native-inputs
      (list python-setuptools
            python-setuptools-scm
            unzip))
     (home-page "https://github.com/robotools/fontParts")
     (synopsis "Library for interacting with font parts")
     (description "FontParts is an @acronym{API, Application Programming