From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1606664-garchives=archives.gentoo.org@lists.gentoo.org>
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 303E5158041
	for <garchives@archives.gentoo.org>; Sun,  3 Mar 2024 04:01:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3F88FE2A09;
	Sun,  3 Mar 2024 04:01:01 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1B42CE2A09
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Mar 2024 04:01:01 +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 E2086343056
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Mar 2024 04:00:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B29214EC
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Mar 2024 04:00:58 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1709438412.b6bfb7ce52d2f05ed2deda2aa94bf46e51d56844.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/shiboken6/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild dev-python/shiboken6/shiboken6-6.6.2.ebuild
X-VCS-Directories: dev-python/shiboken6/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: b6bfb7ce52d2f05ed2deda2aa94bf46e51d56844
X-VCS-Branch: master
Date: Sun,  3 Mar 2024 04:00:58 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: ad260c83-8e64-45f2-915e-d667c47976b0
X-Archives-Hash: 8c770943b04f0de7f965487872db4d81

commit:     b6bfb7ce52d2f05ed2deda2aa94bf46e51d56844
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar  1 07:43:58 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 04:00:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6bfb7ce

dev-python/shiboken6: disable terrible default of forcing limited API

The python Limited API allows you to compile a native extension once for
e.g. python 3.8, create a wheel package, and then install that on any
version of python 3.8+. This is inherently non-useful to distros, which
compile the extensions for each build regardless.

The Limited API is slower than the internal API, and benefits nothing at
all for our use case. But shiboken defaults to creating one. Manually
pass the option to disable it.

The Limited API builds of shiboken also have LTO issues that the regular
builds do not. Odd. See comments at https://bugreports.qt.io/browse/PYSIDE-2619

(Note that there are other LTO issues with shiboken which are fixed in
git dev, so we can't remove filter-lto yet.)

Bug: https://bugs.gentoo.org/925479
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../shiboken6/{shiboken6-6.6.2.ebuild => shiboken6-6.6.2-r1.ebuild}      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/shiboken6/shiboken6-6.6.2.ebuild b/dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild
similarity index 99%
rename from dev-python/shiboken6/shiboken6-6.6.2.ebuild
rename to dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild
index 4187835e2818..181ab1d02922 100644
--- a/dev-python/shiboken6/shiboken6-6.6.2.ebuild
+++ b/dev-python/shiboken6/shiboken6-6.6.2-r1.ebuild
@@ -127,6 +127,7 @@ src_configure() {
 			-DPYTHON_CONFIG_SUFFIX="-${EPYTHON}"
 			-DPYTHON_EXECUTABLE="${PYTHON}"
 			-DUSE_PYTHON_VERSION="${EPYTHON#python}"
+			-DFORCE_LIMITED_API=OFF
 		)
 		# CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable.
 		local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)"