sharlatan pushed a commit to branch python-team
in repository guix.
commit 5b88629798a23003f0241f466f728797ea21ece5
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Mar 31 08:18:51 2025 +0200
gnu: python-cu2qu: Fix tests.
* gnu/packages/fontutils.scm (python-cu2qu): Fix tests.
[build-system]: Switch to pyproject-build-system.
[arguments]{test-flags}: Ignore failing test (most likely due to
lagging behing python-fonttools package).
[native-inputs]: Add python-setuptools, python-wheel.
* gnu/packages/python-xyz.scm (python-fonttools-minimal): Add comment.
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/fontutils.scm | 7 ++++++-
gnu/packages/python-xyz.scm | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 7d101bebff..3beebf1a75 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -505,14 +505,19 @@ subroutinizer for fontTools.")
(uri (pypi-uri "cu2qu" version ".zip"))
(sha256
(base32 "1x762r7bf39g6aivfvrmq00h6f07abvs9x1xm0fz8l81vq8jz64c"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
+ (arguments
+ ;; XXX: Try to remove it when updating python-fonttools.
+ (list #:test-flags #~(list "-k" "not test_ignore_single_points")))
(propagated-inputs (list python-fonttools))
(native-inputs
(list python-cython
python-defcon
python-pytest
python-pytest-runner
+ python-setuptools
python-setuptools-scm
+ python-wheel
unzip))
(home-page "https://github.com/googlefonts/cu2qu")
(synopsis "Cubic-to-quadratic bezier curve conversion")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ef42c5fbf6..3a2d607a15 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17207,6 +17207,7 @@ number of lines in the contained files easily.")
(license license:expat)))
;;; Tests are left out in the main package to avoid cycles.
+;; XXX: When updating, solve comment in python-cu2qu.
(define-public python-fonttools-minimal
(hidden-package
(package