From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 583A2158089 for ; Thu, 28 Sep 2023 01:15:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FB302BC04D; Thu, 28 Sep 2023 01:15:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6CA602BC04A for ; Thu, 28 Sep 2023 01:15:44 +0000 (UTC) References: <20230927213228.10142-1-chewi@gentoo.org> User-agent: mu4e 1.10.6; emacs 30.0.50 From: Sam James To: gentoo-dev@lists.gentoo.org Cc: James Le Cuirot Subject: Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Make use of gpep517's new build-wheel --prefix arg Date: Thu, 28 Sep 2023 02:15:28 +0100 Organization: Gentoo In-reply-to: <20230927213228.10142-1-chewi@gentoo.org> Message-ID: <875y3vcd37.fsf@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain X-Archives-Salt: 468f91c7-fdb8-411a-b3e1-234147d2810a X-Archives-Hash: ef99b61dcfc2042a184c4aed80de3c31 James Le Cuirot writes: > This fixes cross-prefix installations. Do we need to crank the minimum version we depend on for gpep517 then? > > Signed-off-by: James Le Cuirot > --- > eclass/distutils-r1.eclass | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass > index 56afcdc5bcb8..838162c6b0f8 100644 > --- a/eclass/distutils-r1.eclass > +++ b/eclass/distutils-r1.eclass > @@ -1444,6 +1444,7 @@ distutils_pep517_install() { > einfo " Building the wheel for ${PWD#${WORKDIR}/} via ${build_backend}" > local cmd=( > gpep517 build-wheel > + --prefix="${EPREFIX}/usr" > --backend "${build_backend}" > --output-fd 3 > --wheel-dir "${WHEEL_BUILD_DIR}"