[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26373: [PATCH 6/6] import cran: Skip updating when meta data cannot
From: |
Ricardo Wurmus |
Subject: |
bug#26373: [PATCH 6/6] import cran: Skip updating when meta data cannot be downloaded. |
Date: |
Wed, 5 Apr 2017 18:42:10 +0200 |
* gnu/packages/bioinformatics.scm (latest-cran-release,
latest-bioconductor-release): Abort early when meta data cannot be downloaded.
---
guix/import/cran.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index 557d694ad..fc7a1ed84 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -398,7 +398,8 @@ dependencies."
(package->upstream-name package))
(define meta
- (fetch-description 'cran upstream-name))
+ (false-if-exception
+ (fetch-description 'cran upstream-name)))
(and meta
(let ((version (assoc-ref meta "Version")))
@@ -415,7 +416,8 @@ dependencies."
(package->upstream-name package))
(define meta
- (fetch-description 'bioconductor upstream-name))
+ (false-if-exception
+ (fetch-description 'bioconductor upstream-name)))
(and meta
(let ((version (assoc-ref meta "Version")))
--
2.12.2
- bug#26373: [PATCH 4/6] import cran: Check if pkg-config is needed., (continued)
bug#26373: [PATCH 5/6] import cran: Ensure substring indices are valid., Ricardo Wurmus, 2017/04/05
bug#26373: [PATCH 6/6] import cran: Skip updating when meta data cannot be downloaded.,
Ricardo Wurmus <=
bug#26373: [PATCH 1/6] import cran: Exclude experiment packages in predicate "bioconductor-package?"., Ludovic Courtès, 2017/04/10