guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/57: gnu: python-statmake: Remove obsolete build phase.


From: guix-commits
Subject: 03/57: gnu: python-statmake: Remove obsolete build phase.
Date: Thu, 19 Dec 2024 06:31:35 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit f5e356a1e19026c7ff64317f09860c43a3507c53
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Dec 15 22:17:54 2024 +0100

    gnu: python-statmake: Remove obsolete build phase.
    
    * gnu/packages/fontutils.scm (python-statmake)[arguments]: Remove phase
    'adjust-for-older-attrs.
    
    Change-Id: Ib1aff1775b283735036d0ddfb54f1f9e6768e140
---
 gnu/packages/fontutils.scm | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index c7443fe1a1..7d137172ef 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1735,28 +1735,7 @@ generate bitmaps.")
      (list
       #:test-flags
       ;; The code no longer raises <class 'ValueError'>
-      '(list "-k" "not test_load_stylespace_broken_range")
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'adjust-for-older-attrs
-            ;; Our older attrs package is using the 'attr' rather than 'attrs'
-            ;; namespace.
-            ;; TODO: Remove after python-attrs is updated to >= 21.4.0.
-            (lambda _
-              (substitute* "pyproject.toml"
-                (("attrs = \">=21.3\"")
-                 "attrs = \">=21.2\"")
-                (("cattrs = \">=22.2\"")
-                 "cattrs = \">=22.1\""))
-              (substitute* (find-files "." "\\.py$")
-                (("from attrs\\b")
-                 "from attr")
-                (("import attrs")
-                 "import attr")
-                (("@attrs")
-                 "@attr")
-                (("\\battrs\\.")
-                 "attr.")))))))
+      '(list "-k" "not test_load_stylespace_broken_range")))
     (native-inputs
      (list python-poetry-core
            python-pytest



reply via email to

[Prev in Thread] Current Thread [Next in Thread]