mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 02:20:53 +02:00
gnu: python-statmake: Remove obsolete build phase.
* gnu/packages/fontutils.scm (python-statmake)[arguments]: Remove phase 'adjust-for-older-attrs. Change-Id: Ib1aff1775b283735036d0ddfb54f1f9e6768e140
This commit is contained in:
parent
7318d27e74
commit
ff23ed78c7
1 changed files with 1 additions and 22 deletions
|
@ -1738,28 +1738,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue