guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: r-seurat: Fix build.


From: guix-commits
Subject: branch master updated: gnu: r-seurat: Fix build.
Date: Mon, 15 Mar 2021 17:07:28 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 29e992c  gnu: r-seurat: Fix build.
29e992c is described below

commit 29e992c03001ce0c6b4a5ed33d9db7d9593cc23b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Mar 15 22:05:43 2021 +0100

    gnu: r-seurat: Fix build.
    
    This is a follow-up to commit e4d4046999304a3693da80cf0fdfe5fd5753b2b7
    
    * gnu/packages/cran.scm (r-seurat)[arguments]: Patch NAMESPACE file.
---
 gnu/packages/cran.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3afe67f..5617383 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26491,6 +26491,18 @@ other R users.")
                 "1mp3py00bmzj4541d8ry5sfzkpfzvnl9dpa8n4qhakd13dl30xdn"))))
     (properties `((upstream-name . "Seurat")))
     (build-system r-build-system)
+    ;; This is needed because r-spatstat has been split up and there has
+    ;; been no new release of Seurat since then.
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-spatstat-import
+           (lambda _
+             (substitute* "NAMESPACE"
+               (("importFrom\\(spatstat,markvario\\)")
+                "importFrom(spatstat.core,markvario)")
+               (("importFrom\\(spatstat,ppp\\)")
+                "importFrom(spatstat.geom,ppp)")))))))
     (propagated-inputs
      `(("r-cluster" ,r-cluster)
        ("r-cowplot" ,r-cowplot)



reply via email to

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