commit:     e15613848c3ea7c593a0fe548c31400ff5e347e1
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sun Oct 15 09:15:04 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Oct 15 09:56:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1561384

net-libs/paho-mqtt-c: enable py3.12, add app-shells/bash[net] to BDEPEND

[flow: minor style changes]

Closes: https://bugs.gentoo.org/915718
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33344
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
Co-authored-by: Florian Schmaus <flow <AT> gentoo.org>

 net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild 
b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
index e9e50c53427b..bfaff0c669cb 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake python-any-r1 toolchain-funcs
 
@@ -27,11 +27,15 @@ IUSE="doc examples +high-performance +ssl test"
 # Building samples needs ssl: #912262
 REQUIRED_USE="examples? ( ssl )"
 
+# Tests require net-redirections to be enabled in bash. See bug #915718
 BDEPEND="
        doc? ( app-doc/doxygen
                   media-gfx/graphviz )
        ssl? ( dev-libs/openssl )
-       test? ( dev-lang/python )
+       test? (
+               dev-lang/python
+               app-shells/bash[net
+       )
 "
 
 # Tests can be run only if a MQTT broker is available

Reply via email to