mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
committed by
Andreas Enge
parent
96d6060e7c
commit
589a74c25a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user