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
This commit is contained in:
Sharlatan Hellseher 2025-09-21 13:31:40 +01:00
parent 42f416b4be
commit 28d0ff97ba
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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