commit:     46be39d0634fca9e20e2882472f775b18f64b1c9
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  3 08:35:52 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 08:36:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46be39d0

dev-libs/paho-mqtt-c: style fixes

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild 
b/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
index 1b948ab91968..f1713fe8f0c1 100644
--- a/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
+++ b/dev-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
@@ -24,7 +24,7 @@ IUSE="+high-performance +ssl doc test"
 
 BDEPEND="
        doc? ( app-doc/doxygen
-              media-gfx/graphviz )
+                  media-gfx/graphviz )
        ssl? ( dev-libs/openssl )
        test? ( dev-lang/python )
 "
@@ -38,11 +38,11 @@ BUILD_DIR="${S}_build"
 
 src_configure(){
        local mycmakeargs=(
-       -DPAHO_BUILD_SHARED=TRUE
-       -DPAHO_HIGH_PERFORMANCE="$(usex high-performance "TRUE" "FALSE")"
-       -DPAHO_WITH_SSL="$(usex ssl "TRUE" "FALSE")"
-       -DPAHO_BUILD_DOCUMENTATION="$(usex doc "TRUE" "FALSE")"
-       -DPAHO_ENABLE_TESTING="$(usex test "TRUE" "FALSE")"
+               -DPAHO_BUILD_SHARED=TRUE
+               -DPAHO_HIGH_PERFORMANCE="$(usex high-performance "TRUE" 
"FALSE")"
+               -DPAHO_WITH_SSL="$(usex ssl "TRUE" "FALSE")"
+               -DPAHO_BUILD_DOCUMENTATION="$(usex doc "TRUE" "FALSE")"
+               -DPAHO_ENABLE_TESTING="$(usex test "TRUE" "FALSE")"
        )
        cmake_src_configure
        if use test; then
@@ -58,13 +58,10 @@ src_test() {
                elog "Disabling tests due to crosscompiling."
                return
        fi
-       if use test; then
-               echo "RUNNING TESTS"
 
-               ${EPYTHON} 
"${BUILD_DIR}"/test/"${MY_TEST_UTILS}"/interoperability/startbroker.py -c \
-               
"${BUILD_DIR}"/test/"${MY_TEST_UTILS}"/interoperability/localhost_testing.conf &
+       ${EPYTHON} 
"${BUILD_DIR}"/test/"${MY_TEST_UTILS}"/interoperability/startbroker.py -c \
+                          
"${BUILD_DIR}"/test/"${MY_TEST_UTILS}"/interoperability/localhost_testing.conf &
 
-               ${EPYTHON} "${BUILD_DIR}"/test/mqttsas.py &
-               cmake_src_test
-       fi
+       ${EPYTHON} "${BUILD_DIR}"/test/mqttsas.py &
+       cmake_src_test
 }

Reply via email to