From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BBD1B1584AD for ; Fri, 11 Apr 2025 18:54:57 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 982843437E7 for ; Fri, 11 Apr 2025 18:54:57 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 88EA91104B0; Fri, 11 Apr 2025 18:54:56 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 7BEBF1104B0 for ; Fri, 11 Apr 2025 18:54:56 +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 2E20E3437F0 for ; Fri, 11 Apr 2025 18:54:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81F70159F for ; Fri, 11 Apr 2025 18:54:54 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1744397587.31ab9f718818f3839491bcc45e6760fd59c8ea83.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgcore:master commit in: / X-VCS-Repository: proj/pkgcore/pkgcore X-VCS-Files: py_build.py X-VCS-Directories: / X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 31ab9f718818f3839491bcc45e6760fd59c8ea83 X-VCS-Branch: master Date: Fri, 11 Apr 2025 18:54:54 +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: 42ce85b1-a1e6-4338-9afe-7de53a49d1ad X-Archives-Hash: 46b47223d9f2bcedf675edd9e10eaff4 commit: 31ab9f718818f3839491bcc45e6760fd59c8ea83 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Apr 11 18:53:07 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 11 18:53:07 2025 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=31ab9f71 py_build: fix EBD generation for new EAPIs Resolves: https://github.com/pkgcore/pkgcore/issues/444 Signed-off-by: Arthur Zamarin gentoo.org> py_build.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/py_build.py b/py_build.py index a639ed28..87c62a59 100644 --- a/py_build.py +++ b/py_build.py @@ -61,11 +61,6 @@ def prepare_pkgcore(callback, consts: bool): with sys_path(): write_verinfo(cleanup_files) - # Install configuration data so pkgcore knows where to find its content, - # rather than assuming it is running from a tarball/git repo. - if consts: - write_pkgcore_lookup_configs(cleanup_files) - # generate function lists so they don't need to be created on install if subprocess.call( [ @@ -77,6 +72,11 @@ def prepare_pkgcore(callback, consts: bool): ): raise Exception("Running makefile failed") + # Install configuration data so pkgcore knows where to find its content, + # rather than assuming it is running from a tarball/git repo. + if consts: + write_pkgcore_lookup_configs(cleanup_files) + return callback() finally: for path in cleanup_files: