summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-21 23:32:25 +0200
committerMarius Bakke <marius@gnu.org>2022-06-21 23:53:40 +0200
commit964731ca524dd03a7a175f262a47a61e924a8cf6 (patch)
tree9686e501285280ade4575c32b5537914696d6fa5 /gnu/packages
parent961c9c07e1074c7084ea3fca2aa589c7c6e9eea5 (diff)
downloadguix-964731ca524dd03a7a175f262a47a61e924a8cf6.tar.gz
gnu: presentty: Fix build.
* gnu/packages/presentation.scm (presentty)[arguments]: Loosen requirements.
Delete sanity-check phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/presentation.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/presentation.scm b/gnu/packages/presentation.scm
index 1601ba7f2a..1472a2fcc1 100644
--- a/gnu/packages/presentation.scm
+++ b/gnu/packages/presentation.scm
@@ -51,6 +51,11 @@
      `(#:tests? #f ; Test suite hasn't withstood the test of time.
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'loosen-requirements
+           (lambda _
+             ;; Remove version pinning.
+             (substitute* "requirements.txt"
+               (("pbr>=.*") "pbr"))))
          (replace 'wrap
            (lambda* (#:key python inputs outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
@@ -68,8 +73,9 @@
                                              "/site-packages")
                               (search-path-as-string->list
                                 (or (getenv "GUIX_PYTHONPATH") ""))))))
-                 '("presentty" "presentty-console")))
-             #t)))))
+                 '("presentty" "presentty-console")))))
+         ;; XXX: console import test fails to find palette.py from the lib?
+         (delete 'sanity-check))))
     (inputs
      (list cowsay
            figlet