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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6936D158089 for ; Mon, 9 Oct 2023 20:28:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA97D2BC016; Mon, 9 Oct 2023 20:28:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 6AFB02BC016 for ; Mon, 9 Oct 2023 20:28:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 36DF9335C34 for ; Mon, 9 Oct 2023 20:28:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5A8B99B for ; Mon, 9 Oct 2023 20:28:02 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1696883119.a0a74e8c5395551d3e878e701529bcc3e901c85f.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/distutils-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: a0a74e8c5395551d3e878e701529bcc3e901c85f X-VCS-Branch: master Date: Mon, 9 Oct 2023 20:28:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1d26b558-df68-4110-bc0b-77dbac58aca2 X-Archives-Hash: 9aa8012befb3cf7a9d8d415645bdae84 commit: a0a74e8c5395551d3e878e701529bcc3e901c85f Author: James Le Cuirot gentoo org> AuthorDate: Wed Sep 27 21:29:33 2023 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Mon Oct 9 20:25:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a74e8c distutils-r1.eclass: Make use of gpep517's new build-wheel --prefix arg This fixes cross-prefix installations. Signed-off-by: James Le Cuirot gentoo.org> eclass/distutils-r1.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 56afcdc5bcb8..1cc91110dccf 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -210,7 +210,7 @@ _distutils_set_globals() { fi bdep=' - >=dev-python/gpep517-13[${PYTHON_USEDEP}] + >=dev-python/gpep517-15[${PYTHON_USEDEP}] ' case ${DISTUTILS_USE_PEP517} in flit) @@ -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}"