[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/57: build-system/python: Ignore symlinks when changing mtime.
From: |
guix-commits |
Subject: |
06/57: build-system/python: Ignore symlinks when changing mtime. |
Date: |
Mon, 6 May 2024 04:08:09 -0400 (EDT) |
rekado pushed a commit to branch python-team
in repository guix.
commit 4ce43dd688dc0d6471ce9b2ed10732e235a5f12c
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat May 13 15:31:06 2023 +0200
build-system/python: Ignore symlinks when changing mtime.
* guix/build/python-build-system.scm (ensure-no-mtimes-pre-1980): Ignore
'symlink.
---
guix/build/python-build-system.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/build/python-build-system.scm
b/guix/build/python-build-system.scm
index aa04664b25..8e18d6d0df 100644
--- a/guix/build/python-build-system.scm
+++ b/guix/build/python-build-system.scm
@@ -37,6 +37,7 @@
#:use-module (srfi srfi-26)
#:export (%standard-phases
add-installed-pythonpath
+ ensure-no-mtimes-pre-1980
site-packages
python-version
python-build))
@@ -270,7 +271,8 @@ installed with setuptools."
;; timestamps before 1980.
(let ((early-1980 315619200)) ; 1980-01-02 UTC
(ftw "." (lambda (file stat flag)
- (unless (<= early-1980 (stat:mtime stat))
+ (unless (or (<= early-1980 (stat:mtime stat))
+ (eq? (stat:type stat) 'symlink))
(utime file early-1980 early-1980))
#t))))
- branch python-team created (now df580a54f4), guix-commits, 2024/05/06
- 02/57: gnu: python-imagesize: Update to 1.4.1., guix-commits, 2024/05/06
- 05/57: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/05/06
- 01/57: gnu: python-pygments: Update to 2.15.1., guix-commits, 2024/05/06
- 03/57: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/05/06
- 06/57: build-system/python: Ignore symlinks when changing mtime.,
guix-commits <=
- 12/57: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/05/06
- 07/57: gnu: criu: Remove temporary workaround., guix-commits, 2024/05/06
- 13/57: doc: Document new options for pyproject-build-system., guix-commits, 2024/05/06
- 18/57: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/05/06
- 20/57: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/05/06
- 27/57: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/05/06
- 23/57: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/05/06
- 21/57: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/05/06
- 04/57: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/05/06
- 11/57: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/05/06