commit:     cb7418b6e3f62b9dc73a7f425a38af4351b87db7
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 20:25:36 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 20:25:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7418b6

dev-python/QtPy: add USE="speech"

Bug: https://bugs.gentoo.org/792861
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/QtPy/QtPy-1.9.0-r5.ebuild | 15 +++++++--------
 dev-python/QtPy/metadata.xml         |  3 ++-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-python/QtPy/QtPy-1.9.0-r5.ebuild 
b/dev-python/QtPy/QtPy-1.9.0-r5.ebuild
index a2061df8a26..13536b01bec 100644
--- a/dev-python/QtPy/QtPy-1.9.0-r5.ebuild
+++ b/dev-python/QtPy/QtPy-1.9.0-r5.ebuild
@@ -17,8 +17,8 @@ KEYWORDS="~amd64 ~arm64 ~x86"
 
 _IUSE_QT_MODULES="
        declarative designer gui help location multimedia network opengl
-       positioning printsupport sensors serialport sql svg testlib webchannel
-       webengine websockets widgets x11extras xml xmlpatterns
+       positioning printsupport sensors serialport speech sql svg testlib
+       webchannel webengine websockets widgets x11extras xml xmlpatterns
 "
 IUSE="+pyqt5 pyside2 ${_IUSE_QT_MODULES}"
 unset _IUSE_QT_MODULES
@@ -44,7 +44,6 @@ REQUIRED_USE="
 #      scxml? ( pyside2 )
 #      script? ( pyside2 )
 #      scripttools? ( pyside2 )
-#      speech? ( pyside2 )
 
 # WARNING: the obvious solution of using || for PyQt5/pyside2 is not going
 # to work.  The package only checks whether PyQt5/pyside2 is installed, it does
@@ -68,7 +67,7 @@ RDEPEND="
                dev-python/PyQt5[${PYTHON_USEDEP}]
                dev-python/PyQt5[declarative?,designer?,gui?,help?,location?]
                dev-python/PyQt5[multimedia?,network?,opengl?,positioning?]
-               dev-python/PyQt5[printsupport?,sensors?,serialport?,sql?,svg?]
+               
dev-python/PyQt5[printsupport?,sensors?,serialport?,speech?,sql?,svg?]
                dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?]
                dev-python/PyQt5[x11extras?,xml(+)?,xmlpatterns?]
                webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )
@@ -78,9 +77,9 @@ RDEPEND="
                        dev-python/pyside2[${PYTHON_USEDEP}]
                        
dev-python/pyside2[designer?,gui?,help?,location?,multimedia?]
                        
dev-python/pyside2[network?,opengl(+)?,positioning?,printsupport?]
-                       
dev-python/pyside2[sensors?,serialport(+)?,sql?,svg?,testlib?]
-                       
dev-python/pyside2[webchannel?,webengine?,websockets?,widgets?]
-                       dev-python/pyside2[x11extras?,xml?,xmlpatterns?]
+                       
dev-python/pyside2[sensors?,serialport(+)?,speech?,sql?,svg?]
+                       
dev-python/pyside2[testlib?,webchannel?,webengine?,websockets?]
+                       
dev-python/pyside2[widgets?,x11extras?,xml?,xmlpatterns?]
                        declarative? ( dev-python/pyside2[qml,quick] )
                        ' python3_{7..9} )
        )
@@ -96,7 +95,7 @@ BDEPEND="
                        dev-python/PyQt5[${PYTHON_USEDEP}]
                        
dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location]
                        
dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport]
-                       
dev-python/PyQt5[sensors,serialport,sql,svg,testlib,webchannel]
+                       
dev-python/PyQt5[sensors,serialport,speech,sql,svg,testlib,webchannel]
                        
dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns]
                        dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
                )

diff --git a/dev-python/QtPy/metadata.xml b/dev-python/QtPy/metadata.xml
index 9bf18f12651..8238afd3186 100644
--- a/dev-python/QtPy/metadata.xml
+++ b/dev-python/QtPy/metadata.xml
@@ -17,7 +17,7 @@
        <use>
                <flag name="pyqt5">Use <pkg>dev-python/PyQt5</pkg> as Qt for 
Python implementation</flag>
                <flag name="pyside2">Use <pkg>dev-python/pyside2</pkg> as Qt 
for Python implementation</flag>
-               <flag name="declarative">Pull in bindings for the QtQml/QtQuick 
modules and enable the qmlscene plugin</flag>
+               <flag name="declarative">Build bindings for the QtQml and 
QtQuick modules and enable the qmlscene plugin</flag>
                <flag name="designer">Pull in bindings for the QtDesigner 
module and enable the designer plugin</flag>
                <flag name="gui">Pull in bindings for the QtGui module</flag>
                <flag name="help">Pull in bindings for the QtHelp module</flag>
@@ -29,6 +29,7 @@
                <flag name="printsupport">Pull in bindings for the 
QtPrintSupport module</flag>
                <flag name="sensors">Pull in bindings for the QtSensors 
module</flag>
                <flag name="serialport">Pull in bindings for the QtSerialPort 
module</flag>
+               <flag name="speech">Build bindings for the QtTextToSpeech 
module</flag>
                <flag name="sql">Pull in bindings for the QtSql module</flag>
                <flag name="svg">Pull in bindings for the QtSvg module</flag>
                <flag name="testlib">Pull in bindings for the QtTest 
module</flag>

Reply via email to