[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: gnu: python: Set SOURCE_DATE_EPOCH to 1 instead of 0.
From: |
Ludovic Courtès |
Subject: |
05/10: gnu: python: Set SOURCE_DATE_EPOCH to 1 instead of 0. |
Date: |
Thu, 26 Nov 2015 17:02:11 +0000 |
civodul pushed a commit to branch tk-update
in repository guix.
commit 5b7dcc68dd086feafc03c748c1bec45c5ed80cbc
Author: Ludovic Courtès <address@hidden>
Date: Sat Nov 14 16:52:17 2015 +0100
gnu: python: Set SOURCE_DATE_EPOCH to 1 instead of 0.
* gnu/packages/python.scm (python-2)[arguments]: Set SOURCE_DATE_EPOCH
to 1 to match what the daemon does.
* guix/build/python-build-system.scm (set-SOURCE-DATE-EPOCH): Likewise.
---
gnu/packages/python.scm | 2 +-
guix/build/python-build-system.scm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8818a55..bd2043b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -164,7 +164,7 @@
;; Use zero as the timestamp in .pyc files so that builds are
;; deterministic. TODO: Remove it when this variable is set in
;; gnu-build-system.scm.
- (setenv "SOURCE_DATE_EPOCH" "0")
+ (setenv "SOURCE_DATE_EPOCH" "1")
#t))
(add-before
'check 'pre-check
diff --git a/guix/build/python-build-system.scm
b/guix/build/python-build-system.scm
index 6775cc4..8025b7f 100644
--- a/guix/build/python-build-system.scm
+++ b/guix/build/python-build-system.scm
@@ -140,7 +140,7 @@ installed with setuptools."
"Set the 'SOURCE_DATE_EPOCH' environment variable."
;; Use zero as the timestamp in .pyc files so that builds are deterministic.
;; TODO: Remove it when this variable is set in GNU:%STANDARD-PHASES.
- (setenv "SOURCE_DATE_EPOCH" "0"))
+ (setenv "SOURCE_DATE_EPOCH" "1"))
(define %standard-phases
;; 'configure' and 'build' phases are not needed. Everything is done during
- branch tk-update created (now 5c9a1a8), Ludovic Courtès, 2015/11/26
- 01/10: http-client: 'http-fetch' and 'http-fetch/cached' support HTTPS., Ludovic Courtès, 2015/11/26
- 05/10: gnu: python: Set SOURCE_DATE_EPOCH to 1 instead of 0.,
Ludovic Courtès <=
- 02/10: tk: Hardcode path to TK_LIBRARY., Ludovic Courtès, 2015/11/26
- 06/10: gnu: python: Make 'sys.version' deterministic., Ludovic Courtès, 2015/11/26
- 08/10: gnu: python: Do not record configure flags., Ludovic Courtès, 2015/11/26
- 07/10: gnu: python: Factorize configure flags with minimal variants., Ludovic Courtès, 2015/11/26
- 03/10: gnu: tcl: Produce 'tclIndex' files deterministically., Ludovic Courtès, 2015/11/26
- 04/10: gnu: python-2: Honor 'SOURCE_DATE_EPOCH'., Ludovic Courtès, 2015/11/26
- 09/10: gnu: python: Clarify and shorten the list of built-time modules., Ludovic Courtès, 2015/11/26
- 10/10: gnu: python: Move tkinter to "tk" output., Ludovic Courtès, 2015/11/26