[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-fontpens: Remove failing docstring as
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-fontpens: Remove failing docstring assertion. |
Date: |
Sun, 24 Jul 2022 18:23:28 -0400 |
This is an automated email from the git hooks/post-receive script.
nckx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 212ca81895 gnu: python-fontpens: Remove failing docstring assertion.
212ca81895 is described below
commit 212ca81895b2baa819ea11a308ad21880b84a546
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 24 02:00:04 2022 +0200
gnu: python-fontpens: Remove failing docstring assertion.
* gnu/packages/fontutils.scm (python-fontpens)[arguments]:
Add a new 'drop-flaky-docstring phase.
---
gnu/packages/fontutils.scm | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 44b050795d..ce4709773d 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Nikita <nikita@n0.is>
-;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2018, 2020–2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
@@ -460,7 +460,18 @@ implementing the pen protocol for manipulating glyphs.")
(arguments
(substitute-keyword-arguments (package-arguments
python-fontpens-bootstrap)
((#:tests? _ #f)
- #t)))
+ #t)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'drop-flaky-docstring
+ ;; XXX This assertion fails on certain (Intel?) machines, but
not
+ ;; others (AMD?), so we can't patch in a ‘correct’ value. Just
+ ;; drop it until the proper fix lands upstream. Reported there
+ ;; as <https://github.com/robotools/fontPens/issues/41>.
+ (lambda _
+ (substitute* "Lib/fontPens/penTools.py"
+ ((".*\\(\\(0, 0), \\(50, 20), \\(100, 40)).*") "")
+ ((".*107\\.70329614269009.*") ""))))))))
(native-inputs
(modify-inputs (package-native-inputs python-fontpens-bootstrap)
(append python-fontparts-bootstrap
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-fontpens: Remove failing docstring assertion.,
guix-commits <=