[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/212: import/cran: Remove directory-needs-zlib? in favor of needed-lib
From: |
guix-commits |
Subject: |
07/212: import/cran: Remove directory-needs-zlib? in favor of needed-libraries-in-directory. |
Date: |
Sat, 18 Feb 2023 14:00:45 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 8525c2649933f6f8e8e55f5f7c7514b3889b3e9b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Feb 17 22:26:41 2023 +0100
import/cran: Remove directory-needs-zlib? in favor of
needed-libraries-in-directory.
* guix/import/cran.scm (directory-needs-zlib?): Remove procedure.
(source-dir->dependencies): Use needed-libraries-in-directory instead of
directory-needs-zlib?.
---
guix/import/cran.scm | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index 75caecb620..17c19a2dcf 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -471,11 +471,6 @@ the given REGEXP."
(else (loop))))))))
(apply find-files directory file-patterns))))
-(define (directory-needs-zlib? dir)
- "Return #T if any of the Makevars files in the src directory DIR contain a
-zlib linker flag."
- (files-match-pattern? dir "-lz" "(Makevars.*|configure.*)"))
-
(define packages-for-matches
'(("-lcrypto" . "openssl")
("-lcurl" . "curl")
@@ -530,7 +525,7 @@ the pkg-config tool."
"Guess dependencies of R package source in DIR and return two values: a list
of package names for INPUTS and another list of names of NATIVE-INPUTS."
(values
- (if (directory-needs-zlib? dir) '("zlib") '())
+ (needed-libraries-in-directory dir)
(append
(if (directory-needs-esbuild? dir) '("esbuild") '())
(if (directory-needs-pkg-config? dir) '("pkg-config") '())
- branch master updated (b795976778 -> 0ba69c1ee2), guix-commits, 2023/02/18
- 01/212: gnu: r-liger: Rename to r-rliger., guix-commits, 2023/02/18
- 05/212: import/cran: Process all vignette builders., guix-commits, 2023/02/18
- 07/212: import/cran: Remove directory-needs-zlib? in favor of needed-libraries-in-directory.,
guix-commits <=
- 02/212: gnu: r-readods: Update to 1.8.0., guix-commits, 2023/02/18
- 04/212: import/cran: Add name mapping for libjpeg., guix-commits, 2023/02/18
- 03/212: import/cran: Add directory-needs-esbuild?., guix-commits, 2023/02/18
- 06/212: import/cran: Add generic way to detect needed libraries., guix-commits, 2023/02/18
- 08/212: gnu: r-flexdashboard: Update to 0.6.1., guix-commits, 2023/02/18
- 11/212: gnu: Add r-gfonts., guix-commits, 2023/02/18
- 13/212: gnu: r-d3r: Update to 1.0.1., guix-commits, 2023/02/18
- 14/212: gnu: r-wgcna: Update to 1.72-1., guix-commits, 2023/02/18
- 15/212: gnu: r-abn: Update to 2.7-3., guix-commits, 2023/02/18
- 17/212: gnu: r-ggalluvial: Update to 0.12.4., guix-commits, 2023/02/18