[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/35: gnu: snakemake-5: Use G-expression.
From: |
guix-commits |
Subject: |
06/35: gnu: snakemake-5: Use G-expression. |
Date: |
Tue, 19 Mar 2024 10:03:05 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit f3958db4ad24bb35213d1022de582c4f51720602
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Mar 19 14:39:21 2024 +0100
gnu: snakemake-5: Use G-expression.
* gnu/packages/python-xyz.scm (snakemake-5)[arguments]: Use #$output instead
of referencing "out" in outputs.
Change-Id: Ie3d6d5788c4db4060e26079cb81441f5bc6f08e8
---
gnu/packages/python-xyz.scm | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c4a5375839..dc211ff782 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12821,19 +12821,18 @@ approach.")
(build-system python-build-system)
(arguments
;; TODO: Package missing test dependencies.
- '(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- ;; For cluster execution Snakemake will call Python. Since there is
- ;; no suitable PYTHONPATH set, cluster execution will fail. We fix
- ;; this by calling the snakemake wrapper instead.
- (add-after 'unpack 'call-wrapper-not-wrapped-snakemake
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "snakemake/executors/__init__.py"
- (("\\{sys.executable\\} -m snakemake")
- (string-append (assoc-ref outputs "out")
- "/bin/snakemake")))
- #t)))))
+ (list
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; For cluster execution Snakemake will call Python. Since there is
+ ;; no suitable PYTHONPATH set, cluster execution will fail. We fix
+ ;; this by calling the snakemake wrapper instead.
+ (add-after 'unpack 'call-wrapper-not-wrapped-snakemake
+ (lambda _
+ (substitute* "snakemake/executors/__init__.py"
+ (("\\{sys.executable\\} -m snakemake")
+ (string-append #$output "/bin/snakemake"))))))))
(propagated-inputs
(list python-appdirs
python-configargparse
- 08/35: gnu: r-gwasexacthw: Update to 1.2., (continued)
- 08/35: gnu: r-gwasexacthw: Update to 1.2., guix-commits, 2024/03/19
- 10/35: gnu: r-sass: Update to 0.4.9., guix-commits, 2024/03/19
- 11/35: gnu: r-pkgbuild: Update to 1.4.4., guix-commits, 2024/03/19
- 14/35: gnu: r-processx: Update to 3.8.4., guix-commits, 2024/03/19
- 17/35: gnu: r-ggsci: Update to 3.0.2., guix-commits, 2024/03/19
- 02/35: gnu: r-tictoc: Update to 1.2.1., guix-commits, 2024/03/19
- 07/35: gnu: r-igraph: Update to 2.0.3., guix-commits, 2024/03/19
- 09/35: gnu: r-zcompositions: Update to 1.5.0-3., guix-commits, 2024/03/19
- 05/35: gnu: r-arrow: Update to 15.0.1., guix-commits, 2024/03/19
- 01/35: gnu: r-genomeinfodb: Update to 1.38.8., guix-commits, 2024/03/19
- 06/35: gnu: snakemake-5: Use G-expression.,
guix-commits <=
- 13/35: gnu: r-coro: Update to 1.0.4., guix-commits, 2024/03/19
- 12/35: gnu: r-psych: Update to 2.4.3., guix-commits, 2024/03/19
- 15/35: gnu: r-tinytex: Update to 0.50., guix-commits, 2024/03/19
- 23/35: gnu: r-tm: Update to 0.7-12., guix-commits, 2024/03/19
- 20/35: gnu: r-tarchetypes: Update to 0.8.0., guix-commits, 2024/03/19
- 25/35: gnu: r-rms: Update to 6.8-0., guix-commits, 2024/03/19
- 26/35: gnu: r-parameters: Update to 0.21.6., guix-commits, 2024/03/19
- 28/35: gnu: r-erm: Update to 1.0-6., guix-commits, 2024/03/19
- 27/35: gnu: r-gamlss-data: Update to 6.0-6., guix-commits, 2024/03/19
- 29/35: gnu: r-seurat: Update to 5.0.3., guix-commits, 2024/03/19