commit:     e5f30e289d813e2d366b6fc9c6e5ae6f85f05558
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 21:12:59 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 23:51:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f30e28

dev-python/pyqt5: drop bluetooth USE

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

 dev-python/pyqt5/metadata.xml         |  1 -
 dev-python/pyqt5/pyqt5-5.15.11.ebuild | 10 +++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-python/pyqt5/metadata.xml b/dev-python/pyqt5/metadata.xml
index 638d81c8245b..d977463b08cd 100644
--- a/dev-python/pyqt5/metadata.xml
+++ b/dev-python/pyqt5/metadata.xml
@@ -6,7 +6,6 @@
                <name>Gentoo Qt Project</name>
        </maintainer>
        <use>
-               <flag name="bluetooth">Build bindings for the QtBluetooth 
module</flag>
                <flag name="dbus">Build bindings for the QtDBus module</flag>
                <flag name="declarative">Build bindings for the QtQml and 
QtQuick modules and enable the qmlscene plugin</flag>
                <flag name="designer">Build bindings for the QtDesigner module 
and enable the designer plugin</flag>

diff --git a/dev-python/pyqt5/pyqt5-5.15.11.ebuild 
b/dev-python/pyqt5/pyqt5-5.15.11.ebuild
index c5ce7c2a95ca..3831dd67fac7 100644
--- a/dev-python/pyqt5/pyqt5-5.15.11.ebuild
+++ b/dev-python/pyqt5/pyqt5-5.15.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ SLOT="0"
 KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
 
 IUSE="
-       bluetooth dbus debug declarative designer examples gles2-only gui help 
location
+       dbus debug declarative designer examples gles2-only gui help location
        multimedia network opengl positioning printsupport sensors serialport 
speech
        sql +ssl svg testlib webchannel websockets widgets x11extras xmlpatterns
 "
@@ -27,7 +27,6 @@ IUSE="
 # The requirements below were extracted from the qmake_QT declarations
 # in project.py and from the output of 'grep -r "%Import " ${S}/sip'
 REQUIRED_USE="
-       bluetooth? ( gui )
        declarative? ( gui network )
        designer? ( widgets )
        help? ( gui widgets )
@@ -53,7 +52,6 @@ QT_PV="5.15:5"
 DEPEND="
        >=dev-qt/qtcore-${QT_PV}
        >=dev-qt/qtxml-${QT_PV}
-       bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} )
        dbus? (
                dev-python/dbus-python[${PYTHON_USEDEP}]
                >=dev-qt/qtdbus-${QT_PV}
@@ -125,7 +123,6 @@ python_configure_all() {
                --enable=pyrcc
                --enable=Qt
                --enable=QtCore
-               $(pyqt_use_enable bluetooth QtBluetooth)
                $(pyqt_use_enable dbus QtDBus)
                $(pyqt_use_enable declarative QtQml QtQuick \
                        $(usev widgets QtQuickWidgets))
@@ -153,6 +150,9 @@ python_configure_all() {
                --enable=QtXml
                $(pyqt_use_enable xmlpatterns QtXmlPatterns)
 
+               # no longer supported in Gentoo for PyQt5, use PyQt6
+               --disable=QtBluetooth
+
                $(usev debug '--debug --qml-debug --tracing')
 
                $(usev !dbus --no-dbus-python)

Reply via email to