mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: xcb-proto: Adjust source for python-3.9 update.
* gnu/packages/xorg.scm (xorg-proto)[source]: Add snippet to fix pythom module import.
This commit is contained in:
parent
b5c4f5d9ee
commit
8c71705062
1 changed files with 10 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
||||||
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
||||||
;;; Copyright © 2015 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
;;; Copyright © 2015 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
||||||
;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016 Nikita <nikita@n0.is>
|
;;; Copyright © 2016 Nikita <nikita@n0.is>
|
||||||
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
|
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
|
||||||
;;; Copyright © 2016 David Craven <david@craven.ch>
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
||||||
|
@ -2143,8 +2143,15 @@ (define-public xcb-proto
|
||||||
"https://xcb.freedesktop.org/dist/xcb-proto-"
|
"https://xcb.freedesktop.org/dist/xcb-proto-"
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01d62r286yfc3rpz714nqdgkl0wk9j0wqkd4ylas1d7r4vmkqshq"))))
|
"01d62r286yfc3rpz714nqdgkl0wk9j0wqkd4ylas1d7r4vmkqshq"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; fractions.gcd has been deprecated since python-3.5.
|
||||||
|
(substitute* "xcbgen/align.py"
|
||||||
|
(("from fractions import gcd") "from math import gcd"))
|
||||||
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
|
`(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))
|
||||||
|
|
Loading…
Reference in a new issue