From 0abdb392bf10a99291114fc7e162a3845f25c696 Mon Sep 17 00:00:00 2001 Message-ID: <0abdb392bf10a99291114fc7e162a3845f25c696.1734278914.git.lars@6xq.net> In-Reply-To: References: From: Lars-Dominik Braun Date: Sun, 15 Dec 2024 13:30:59 +0100 Subject: [PATCH 2/4] import: pypi: Add python-wheel to native inputs if setuptools is used. * guix/import/pypi.scm (compute-inputs): Add missing python-wheel if necessary. Change-Id: Iedad213a6684856e48349289c4d9beba953f396b --- guix/import/pypi.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm index 7915d65d23..52ec6e4ee6 100644 --- a/guix/import/pypi.scm +++ b/guix/import/pypi.scm @@ -470,12 +470,18 @@ (define (compute-inputs source-url wheel-url archive) (type type)))) (sort deps string-ci. (let ((dependencies (guess-requirements source-url wheel-url archive))) (match dependencies ((propagated native) (append (requirements->upstream-inputs propagated 'propagated) - (requirements->upstream-inputs native 'native)))))) + (requirements->upstream-inputs (add-missing-native-inputs native) 'native)))))) (define* (pypi-package-inputs pypi-package #:optional version) "Return the list of for PYPI-PACKAGE. This procedure -- 2.45.2