commit:     9d3c743cbbb232e09cc99637455383a9f0e9e873
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 07:58:39 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 08:01:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3c743c

dev-python/PyQt6-WebEngine: simplify using python_configure_all

Didn't really make a difference before, but now it does,

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

 dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild | 3 +--
 dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild 
b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
index 5ee2a0f1316c..fac59ec70b21 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.4.0.ebuild
@@ -42,8 +42,7 @@ src_prepare() {
        PATH=${T}/cxx:${PATH}
 }
 
-src_configure() {
-       append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
+python_configure_all() {
        append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug 
#892331)
        append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
 

diff --git a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild 
b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
index bd4ef8fb4ddb..9cb83d4974a9 100644
--- a/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
+++ b/dev-python/PyQt6-WebEngine/PyQt6-WebEngine-6.5.0.ebuild
@@ -42,8 +42,7 @@ src_prepare() {
        PATH=${T}/cxx:${PATH}
 }
 
-src_configure() {
-       append-cppflags $(usex debug -{U,D}NDEBUG) # not set by eclass "yet"
+python_configure_all() {
        append-cxxflags -std=c++17 # for old gcc / clang that use <17 (bug 
#892331)
        append-cxxflags ${CPPFLAGS} # respect CPPFLAGS
 

Reply via email to