From f31dcd9414e81507ef620de395080812189aa2f9 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 21 Sep 2025 13:47:57 +0200 Subject: [PATCH] gnu: python-skia-pathops: Switch to pyproject-build-system. * gnu/packages/fontutils.scm (python-skia-pathops): Switch to pyproject-build-system. [arguments] : Use default 'check. [build-system]: Switch to pyproject-build-system. [native-inputs]: Remove python-cython; add python-cython-0. Change-Id: I08400c1dbfa8db84890030b32364b552ebbfc2cc Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/fontutils.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 1f9d88b0fe6308a82bebd8aafd6cfa92fecb68c9..414f350870f665c3489ffe87957f9f6b508808f4 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -978,7 +978,7 @@ converter from FontForge’s @acronym{SFD, Spline Font Database} fonts to (snippet '(delete-file-recursively "src/cpp")) ;140+ MiB of stuff (sha256 (base32 "1vlwl1w6sn8c78fsh1w549n3lk9v3v9hcp866vrsdr4byb7g2ani")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases @@ -991,14 +991,10 @@ converter from FontForge’s @acronym{SFD, Spline Font Database} fonts to ;; Our version of Skia requires c++17. (substitute* "setup.py" (("-std=c\\+\\+14") - "-std=c++17")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) + "-std=c++17"))))))) (native-inputs (list pkg-config - python-cython + python-cython-0 python-pytest python-setuptools-scm unzip))