guix-commits
[Top][All Lists]
Advanced

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

20/21: gnu: Add updater input properties for R and Python packages.


From: guix-commits
Subject: 20/21: gnu: Add updater input properties for R and Python packages.
Date: Wed, 31 May 2023 17:52:51 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9f7cd1fcaf99c8e8430d0b29335220701664dc54
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun May 28 23:02:27 2023 +0200

    gnu: Add updater input properties for R and Python packages.
    
    * gnu/packages/cran.scm (r-glue, r-xfun, r-vctrs)
    (r-lifecycle): Turn comment about r-knitr into 'properties' field.
    * gnu/packages/mpi.scm (python-mpi4py)[properties]: New field.
---
 gnu/packages/cran.scm | 36 ++++++++++++++++--------------------
 gnu/packages/mpi.scm  |  2 ++
 2 files changed, 18 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2dcbbb03cc..67276f1b05 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5091,11 +5091,10 @@ colors are provided.")
         (base32
          "1gzxk5jgdh2xq9r7z09xs306ygzf27vhg3pyfl7ck1755gqii9cx"))))
     (build-system r-build-system)
-    ;; knitr depends on glue, so we can't add knitr here to build the
-    ;; vignettes.
-    #;
-    (native-inputs
-     `(("r-knitr" ,r-knitr)))
+    (properties
+     ;; knitr depends on glue, so we can't add knitr here to build the
+     ;; vignettes.
+     '((updater-ignored-native-inputs . ("r-knitr"))))
     (home-page "https://github.com/tidyverse/glue";)
     (synopsis "Interpreted string literals")
     (description
@@ -8782,10 +8781,9 @@ iVAT).")
        (sha256
         (base32 "1jan2ggfywm1g05zszyy8d492wj7vpy35682lrnlklrx4jxsmv6h"))))
     (build-system r-build-system)
-    ;; knitr itself depends on xfun
-    #;
-    (native-inputs
-     `(("r-knitr" ,r-knitr)))
+    (properties
+     ;; knitr itself depends on xfun
+     '((updater-ignored-native-inputs . ("r-knitr"))))
     (home-page "https://github.com/yihui/xfun";)
     (synopsis "Miscellaneous functions")
     (description
@@ -8872,11 +8870,10 @@ estimated from a given sample.")
     (build-system r-build-system)
     (propagated-inputs
      (list r-cli r-glue r-lifecycle r-rlang))
-    ;; We can't have r-knitr among the inputs here, because r-vctrs ends up
-    ;; being an eventual input to r-knitr.
-    #;
-    (native-inputs
-     (list r-knitr))
+    (properties
+     ;; We can't have r-knitr among the inputs here, because r-vctrs ends up
+     ;; being an eventual input to r-knitr.
+     '((updater-ignored-native-inputs . ("r-knitr"))))
     (home-page "https://github.com/r-lib/vctrs";)
     (synopsis "Vector helpers")
     (description
@@ -25256,15 +25253,14 @@ atmospheric physics.")
        (sha256
         (base32
          "1hk9mblhap429fk77qpgc4hv0j91q5wpahi0y76w118m471zsnb4"))))
-    (properties `((upstream-name . "lifecycle")))
     (build-system r-build-system)
     (propagated-inputs
      (list r-cli r-glue r-rlang))
-    ;; We can't add this here because via r-stringr this package ends up being
-    ;; an input to r-knitr.
-    #;
-    (native-inputs
-     (list r-knitr)) ; for vignettes
+    (properties
+     ;; We can't add this here because via r-stringr this package ends up
+     ;; being an input to r-knitr.
+     '((updater-ignored-native-inputs . ("r-knitr"))
+       (upstream-name . "lifecycle")))
     (home-page "https://github.com/r-lib/lifecycle";)
     (synopsis "Manage the life cycle of your package functions")
     (description
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 5c10e9b423..3786dc177c 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -422,6 +422,8 @@ only provides @code{MPI_THREAD_FUNNELED}.")))
              #t)))))
     (inputs
      (list openmpi))
+    (properties
+     '((updater-extra-inputs . ("openmpi"))))
     (home-page "https://github.com/mpi4py/mpi4py";)
     (synopsis "Python bindings for the Message Passing Interface standard")
     (description "MPI for Python (mpi4py) provides bindings of the Message



reply via email to

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