summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-21 13:31:40 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:46 +0100
commit28d0ff97bad50e3383665f3569a8b249f404a3fc (patch)
tree0e34f9fda4c10b65336190ba0d31424d19e7c17b
parent42f416b4be6440c02ce14dfe73b7c386f2d4ab31 (diff)
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
-rw-r--r--gnu/packages/fontutils.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 9b1841cc84..2dd1399817 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -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