mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mypaint: Make compatible with Python 3.11.
* gnu/packages/image.scm (mypaint)[arguments]: Add phase 'python3.11-compatibility. Change-Id: I4e103ad169148127c388a40b999b1a0ae4868f4e
This commit is contained in:
parent
96d6060e7c
commit
589a74c25a
1 changed files with 4 additions and 0 deletions
|
@ -2761,6 +2761,10 @@ GIF, TIFF, WEBP, BMP, PNG, XPM formats.")
|
|||
(guix build utils))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'python3.11-compatibility
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("\"rU\"") "\"r\""))))
|
||||
(add-after 'install 'glib-or-gtk-wrap
|
||||
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
||||
(add-after 'install 'wrap-program
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue