From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1510083-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 464C515ACFB
	for <garchives@archives.gentoo.org>; Sat, 22 Apr 2023 06:53:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6BBD1E09E3;
	Sat, 22 Apr 2023 06:53:30 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4FC52E09D1
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 06:53:30 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5F0B1341175
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 06:53:29 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C7D9A50
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 06:53:26 +0000 (UTC)
From: "Ionen Wolkens" <ionen@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, "Ionen Wolkens" <ionen@gentoo.org>
Message-ID: <1682146264.3ef7d44bd6ac080cae78a6bf3a8c6748ddc19fc7.ionen@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyQt6/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/PyQt6/PyQt6-6.4.2.ebuild dev-python/PyQt6/PyQt6-6.5.0.ebuild
X-VCS-Directories: dev-python/PyQt6/
X-VCS-Committer: ionen
X-VCS-Committer-Name: Ionen Wolkens
X-VCS-Revision: 3ef7d44bd6ac080cae78a6bf3a8c6748ddc19fc7
X-VCS-Branch: master
Date: Sat, 22 Apr 2023 06:53:26 +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: 52225f39-3e32-423c-b149-64c8b177c0a1
X-Archives-Hash: faae403b86717c101861db1d089ab7f5

commit:     3ef7d44bd6ac080cae78a6bf3a8c6748ddc19fc7
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 05:54:08 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 06:51:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef7d44b

dev-python/PyQt6: respect CPPFLAGS

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/PyQt6/PyQt6-6.4.2.ebuild | 2 ++
 dev-python/PyQt6/PyQt6-6.5.0.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/dev-python/PyQt6/PyQt6-6.4.2.ebuild b/dev-python/PyQt6/PyQt6-6.4.2.ebuild
index ccee7f8cdba7..cf5de2a490c4 100644
--- a/dev-python/PyQt6/PyQt6-6.4.2.ebuild
+++ b/dev-python/PyQt6/PyQt6-6.4.2.ebuild
@@ -78,7 +78,9 @@ src_prepare() {
 }
 
 src_configure() {
+	append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
 	append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331)
+	append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
 
 	pyqt-use_enable() {
 		local state=$(usex ${1} --enable= --disable=)

diff --git a/dev-python/PyQt6/PyQt6-6.5.0.ebuild b/dev-python/PyQt6/PyQt6-6.5.0.ebuild
index 0944c1869eab..a731a68b3575 100644
--- a/dev-python/PyQt6/PyQt6-6.5.0.ebuild
+++ b/dev-python/PyQt6/PyQt6-6.5.0.ebuild
@@ -79,7 +79,9 @@ src_prepare() {
 }
 
 src_configure() {
+	append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
 	append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug #892331)
+	append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
 
 	pyqt-use_enable() {
 		local state=$(usex ${1} --enable= --disable=)