guix-commits
[Top][All Lists]
Advanced

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

18/18: gnu: offlate: Fix build.


From: guix-commits
Subject: 18/18: gnu: offlate: Fix build.
Date: Tue, 7 Jun 2022 09:18:41 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit ceeb2bfcaeb4380e01d26c8425e28b94ac13558a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jun 6 22:33:20 2022 -0400

    gnu: offlate: Fix build.
    
    * gnu/packages/python-xyz.scm (offlate)
    [phases]{patch-for-pygit2}: New phase.
---
 gnu/packages/python-xyz.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f58510ae8c..2c76ff1922 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24334,7 +24334,13 @@ with features similar to the @command{wget} utility.")
     (build-system python-build-system)
     (arguments
      ;; No tests
-     `(#:tests? #f))
+     `(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'patch-for-pygit2
+                    (lambda _
+                      (substitute* "offlate/systems/git.py"
+                        (("pygit2.remote.RemoteCallbacks")
+                         "pygit2.RemoteCallbacks")))))))
     (propagated-inputs
       (list python-android-stringslib
             python-dateutil



reply via email to

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