From 4ab716f56f8918376eadeb7f4ea6197d5e75ab22 Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Tue, 3 Dec 2024 01:05:46 +0000 Subject: [PATCH] wheel.mk: sort wheelhouse requirement files to avoid duplicates --- mk/spksrc.wheel.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mk/spksrc.wheel.mk b/mk/spksrc.wheel.mk index 2ef95acdecb..d7f40c27ced 100644 --- a/mk/spksrc.wheel.mk +++ b/mk/spksrc.wheel.mk @@ -142,6 +142,9 @@ ifneq ($(strip $(WHEELS)),) $(MSG) "ERROR: File $$wheel does not exist" ; \ fi ; \ done + @for file in $$(ls -1 $(WHEELHOUSE)/requirements-*.txt) ; do \ + sort -u -o $${file}{,} ; \ + done endif # Build cross compiled wheels first, to fail fast.