[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/28: gnu: r-quantmod: Attempt to build reproducibly.
From: |
guix-commits |
Subject: |
28/28: gnu: r-quantmod: Attempt to build reproducibly. |
Date: |
Sun, 8 Sep 2024 08:24:18 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 056910ec864cb7cf3225a0c27679d94405db7dcd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Sep 7 21:53:19 2024 +0200
gnu: r-quantmod: Attempt to build reproducibly.
* gnu/packages/cran.scm (r-quantmod)[arguments]: Add phase to avoid
recording
system time when SOURCE_DATE_EPOCH is set.
Change-Id: I818ddf5f5bac7041c9a26624996b6b6a0256f3ea
---
gnu/packages/cran.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 98ca4bf2dc..13b92bb6f1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12300,6 +12300,17 @@ Fisher's method), and Sidak correction.")
(base32
"165vp2ygry8ibcpxjbyfvfrjbv98syln12kkyzci2ygp84r5sv1r"))))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'build-reproducibly
+ (lambda _
+ (substitute* "R/buildModel.R"
+ (("Sys.time\\(\\)")
+ "if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
+ as.numeric(Sys.getenv(\"SOURCE_DATE_EPOCH\"))\
+} else { Sys.time() }\n")))))))
(propagated-inputs
(list r-curl r-jsonlite r-ttr r-xts r-zoo))
(home-page "https://cran.r-project.org/web/packages/quantmod/")
- 03/28: gnu: r-aer: Update to 1.2-13., (continued)
- 03/28: gnu: r-aer: Update to 1.2-13., guix-commits, 2024/09/08
- 04/28: gnu: r-datawizard: Update to 0.12.3., guix-commits, 2024/09/08
- 06/28: gnu: r-suppdists: Update to 1.1-9.8., guix-commits, 2024/09/08
- 12/28: gnu: r-spdata: Update to 2.3.3., guix-commits, 2024/09/08
- 15/28: gnu: r-parameters: Update to 0.22.2., guix-commits, 2024/09/08
- 17/28: gnu: r-quanteda: Update to 4.1.0., guix-commits, 2024/09/08
- 18/28: gnu: r-spatstat-univar: Update to 3.0-1., guix-commits, 2024/09/08
- 20/28: gnu: r-spacetime: Update to 1.3-2., guix-commits, 2024/09/08
- 21/28: gnu: r-automap: Update to 1.1-12., guix-commits, 2024/09/08
- 25/28: gnu: r-mvtnorm: Update to 1.3-1., guix-commits, 2024/09/08
- 28/28: gnu: r-quantmod: Attempt to build reproducibly.,
guix-commits <=
- 10/28: gnu: r-pbdzmq: Update to 0.3-12., guix-commits, 2024/09/08
- 14/28: gnu: r-sf: Update to 1.0-17., guix-commits, 2024/09/08
- 11/28: gnu: r-clarabel: Update to 0.9.0.1., guix-commits, 2024/09/08
- 13/28: gnu: r-wk: Update to 0.9.3., guix-commits, 2024/09/08
- 16/28: gnu: r-emoa: Update to 0.5-3., guix-commits, 2024/09/08
- 19/28: gnu: r-paws-common: Update to 0.7.6., guix-commits, 2024/09/08
- 22/28: gnu: r-microbenchmark: Update to 1.5.0., guix-commits, 2024/09/08
- 23/28: gnu: r-catools: Update to 1.18.3., guix-commits, 2024/09/08
- 24/28: gnu: r-segmented: Update to 2.1-2., guix-commits, 2024/09/08
- 26/28: gnu: r-matrixstats: Update to 1.4.0., guix-commits, 2024/09/08