summaryrefslogtreecommitdiff
path: root/dev-python/PyQt6
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-04-22 03:58:58 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-04-22 04:01:50 -0400
commitbd3aaf386d6008056ee3b39d594ea59e2b659590 (patch)
tree304c04291bc0c8bcae2211507400ebbd7fa712d3 /dev-python/PyQt6
parent9d3c743cbbb232e09cc99637455383a9f0e9e873 (diff)
downloadgentoo-bd3aaf386d6008056ee3b39d594ea59e2b659590.tar.gz
gentoo-bd3aaf386d6008056ee3b39d594ea59e2b659590.tar.bz2
gentoo-bd3aaf386d6008056ee3b39d594ea59e2b659590.zip
dev-python/PyQt6: simplify using python_configure_all
Didn't really make a difference before, but now it does, Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/PyQt6')
-rw-r--r--dev-python/PyQt6/PyQt6-6.4.2.ebuild3
-rw-r--r--dev-python/PyQt6/PyQt6-6.5.0.ebuild3
2 files changed, 2 insertions, 4 deletions
diff --git a/dev-python/PyQt6/PyQt6-6.4.2.ebuild b/dev-python/PyQt6/PyQt6-6.4.2.ebuild
index cf5de2a490c4..4e892b399454 100644
--- a/dev-python/PyQt6/PyQt6-6.4.2.ebuild
+++ b/dev-python/PyQt6/PyQt6-6.4.2.ebuild
@@ -77,8 +77,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/PyQt6-6.5.0.ebuild b/dev-python/PyQt6/PyQt6-6.5.0.ebuild
index a731a68b3575..36a47c507bf3 100644
--- a/dev-python/PyQt6/PyQt6-6.5.0.ebuild
+++ b/dev-python/PyQt6/PyQt6-6.5.0.ebuild
@@ -78,8 +78,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