[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/30: build-system/python: Ignore symlinks when changing mtime.
From: |
guix-commits |
Subject: |
02/30: build-system/python: Ignore symlinks when changing mtime. |
Date: |
Sun, 30 Jun 2024 03:40:29 -0400 (EDT) |
lbraun pushed a commit to branch pyproject-build-system
in repository guix.
commit ec2ab761b50966504d5abd17ed34d968b8d6b020
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 pyproject-build-system created (now 509802b475), guix-commits, 2024/06/30
- 01/30: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/06/30
- 05/30: guix: toml: Add TOML parser., guix-commits, 2024/06/30
- 06/30: build-system/pyproject: Use TOML parser., guix-commits, 2024/06/30
- 02/30: build-system/python: Ignore symlinks when changing mtime.,
guix-commits <=
- 08/30: doc: Document new options for pyproject-build-system., guix-commits, 2024/06/30
- 03/30: gnu: criu: Remove temporary workaround., guix-commits, 2024/06/30
- 04/30: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/06/30
- 07/30: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/06/30
- 13/30: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/06/30
- 15/30: gnu: python-mistletoe: Add missing inputs., guix-commits, 2024/06/30
- 16/30: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/06/30
- 17/30: gnu: python-vine: Add missing inputs., guix-commits, 2024/06/30
- 22/30: gnu: python-partd: Add missing input., guix-commits, 2024/06/30
- 23/30: gnu: python-dbus-python: Add missing input., guix-commits, 2024/06/30