* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2023-08-23 10:59 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2023-08-23 10:59 UTC (permalink / raw
To: gentoo-commits
commit: 094b16201a56f7928cc8651912517de52087abfb
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Aug 23 10:05:10 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 10:58:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=094b1620
net-libs/paho-mqtt-c: add REQUIRED_USE="examples? ( ssl )"
Closes: https://bugs.gentoo.org/912262
Closes: https://github.com/gentoo/gentoo/pull/32420
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild | 3 +++
1 file changed, 3 insertions(+)
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 e417fe9118a4..e9e50c53427b 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
@@ -24,6 +24,9 @@ SLOT="1.3"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples +high-performance +ssl test"
+# Building samples needs ssl: #912262
+REQUIRED_USE="examples? ( ssl )"
+
BDEPEND="
doc? ( app-doc/doxygen
media-gfx/graphviz )
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2023-10-15 9:56 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2023-10-15 9:56 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2023-10-15 10:40 Ionen Wolkens
0 siblings, 0 replies; 13+ messages in thread
From: Ionen Wolkens @ 2023-10-15 10:40 UTC (permalink / raw
To: gentoo-commits
commit: c4fd6312bff0da1c3aceefe44b84f9a382392758
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sun Oct 15 10:19:53 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Oct 15 10:39:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4fd6312
net-libs/paho-mqtt-c: fix typo
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33345
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 bfaff0c669cb..63188c99824f 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
@@ -34,7 +34,7 @@ BDEPEND="
ssl? ( dev-libs/openssl )
test? (
dev-lang/python
- app-shells/bash[net
+ app-shells/bash[net]
)
"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2023-11-14 7:53 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2023-11-14 7:53 UTC (permalink / raw
To: gentoo-commits
commit: 64ea346891bda2feaf97b3d55afe61d4363dfe8f
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Nov 1 23:50:37 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 07:52:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64ea3468
net-libs/paho-mqtt-c: add 1.3.13, drop 1.3.12 update EAPI 7 -> 8
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33637
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-libs/paho-mqtt-c/Manifest | 5 ++---
...tt-c-1.3.12.ebuild => paho-mqtt-c-1.3.13.ebuild} | 21 +++++++--------------
2 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/net-libs/paho-mqtt-c/Manifest b/net-libs/paho-mqtt-c/Manifest
index aaf25ad26fc3..6b3e38731c3b 100644
--- a/net-libs/paho-mqtt-c/Manifest
+++ b/net-libs/paho-mqtt-c/Manifest
@@ -1,3 +1,2 @@
-DIST paho-mqtt-c-1.3.12-live.tar.gz 3642676 BLAKE2B c20e3bb1b4eae30b268639d30c1e4d72f6759850bef2dc13de424debb7a0785a5ba083af094e28cb80814df519831ac0e1da27d8aa4958361724aabea92c03e5 SHA512 af0f52944c46fe7874203b3b359d8fb8935d5bd6b394045138624b96130c6b756045fb3b486e224b7e55b3cb478197b8a049bbeb01ff7e3d16d0d3f12c521110
-DIST paho-mqtt-c-1.3.12.tar.gz 3622938 BLAKE2B 9eb7bca0367a3001f00122f2056b60ddf3633e0304661a424821c3e2b3370d65e09c51c62f90bb89f0e4ce291640e71ae0d3b093fe600efb87aa3744e431cafe SHA512 3152b557a8ab7c9b9c80277283e0f5e9965ce4c2ebbdaef0f238908d49e6fa1281aa72932ea112a836144b79656e4abe6e0cbd93840429a52e501a2c6b12d313
-DIST paho.mqtt.testing.tar.gz 175845 BLAKE2B 02c284c4e1cfe91bb87735e8fc61f206c3e93adf18c567ff330ae8d1c2bd04b7aa079ba3961610b7c9cc7e22340be000bf56772d5c39d1bc4d1b406bf564da66 SHA512 8328c6a010d76cf62ee2007a849acb61b84cf2dc058525bc967661984fdf26407dd52da83a3f2acda56e3c5d309301ea2a8ed264466d0fb933994dd248dbbe8d
+DIST paho-mqtt-c-1.3.13.tar.gz 3489004 BLAKE2B c835f4e2a741539df900184825b4ce29138f76828ec329d9321c54a845607b8137292330b019e950640f36bb14b0252dfba4906be746742950e3f8f13985608e SHA512 0f436470bcff224461ed3227c8db10914f84bc2dcf76e51b55d4a78b80abaa4e636ac8f7a20e517524625888335c738e975283e5d573ae8d59147aa4de7963fc
+DIST paho.mqtt.testing-a4dc694010217b291ee78ee13a6d1db812f9babd.tar.gz 175858 BLAKE2B 7ba1be3e09740f45907c4ba2a5314830a56c4f6626af3fab15928647b235908429a96ece312e7f5b8fa044583c81e6d8deacc0fbd290e6e08fbc328524dba3f1 SHA512 a20ea68cfac7f2a4e140c9b9ebacf4debd544098151545dedb72fe1e3629b3a495df7e15b0e131d52c4e86fb8d165cb7b2ceee019c15599b0cb5d914da0e7723
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.13.ebuild
similarity index 77%
rename from net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild
rename to net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
index 63188c99824f..4cb7bd4741a7 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.13.ebuild
@@ -1,23 +1,22 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-any-r1 toolchain-funcs
-MY_TEST_UTILS="paho.mqtt.testing"
-MY_TEST_COMMIT="577f955352e41205c554d44966c2908e90026345"
-MY_LIVE_COMMIT="7db21329301b1f527c925dff789442db3ca3c1e7"
+TEST_UTILS="paho.mqtt.testing"
+TEST_COMMIT="a4dc694010217b291ee78ee13a6d1db812f9babd"
DESCRIPTION="An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS."
HOMEPAGE="https://eclipse.org/paho"
SRC_URI="
https://github.com/eclipse/paho.mqtt.c/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/eclipse/paho.mqtt.c/archive/${MY_LIVE_COMMIT}.tar.gz -> ${P}-live.tar.gz
- https://github.com/eclipse/${MY_TEST_UTILS}/archive/${MY_TEST_COMMIT}.tar.gz -> ${MY_TEST_UTILS}.tar.gz
+ https://github.com/eclipse/${TEST_UTILS}/archive/${TEST_COMMIT}.tar.gz -> ${TEST_UTILS}-${TEST_COMMIT}.tar.gz
"
+S="${WORKDIR}/paho.mqtt.c-${PV}"
LICENSE="EPL-2.0"
SLOT="1.3"
@@ -41,18 +40,12 @@ BDEPEND="
# Tests can be run only if a MQTT broker is available
RESTRICT="!test? ( test )"
-S="${WORKDIR}/paho.mqtt.c-${PV}"
-
BUILD_DIR="${S}_build"
src_prepare(){
cmake_src_prepare
if use test; then
- # removing old certs
- rm -r "${S}"/test/ssl || die
- mv "${WORKDIR}"/paho.mqtt.c-"${MY_LIVE_COMMIT}"/test/ssl "${S}"/test/ssl || die
-
- mv "${WORKDIR}/${MY_TEST_UTILS}-${MY_TEST_COMMIT}" "${WORKDIR}/${MY_TEST_UTILS}" || die
+ mv "${WORKDIR}/${TEST_UTILS}-${TEST_COMMIT}" "${WORKDIR}/${TEST_UTILS}" || die
fi
}
@@ -74,7 +67,7 @@ src_test() {
return
fi
- cd "${WORKDIR}/${MY_TEST_UTILS}/interoperability" || die
+ cd "${WORKDIR}/${TEST_UTILS}/interoperability" || die
${EPYTHON} startbroker.py -c localhost_testing.conf \
> "${T}/testbroker.log" &
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2024-02-28 20:50 Jakov Smolić
0 siblings, 0 replies; 13+ messages in thread
From: Jakov Smolić @ 2024-02-28 20:50 UTC (permalink / raw
To: gentoo-commits
commit: e91062ed00afefedb7c845eef2e24d2b37163fd4
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:50:14 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 20:50:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e91062ed
net-libs/paho-mqtt-c: Stabilize 1.3.13 amd64, #925668
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
index 842492849073..c86ad8b20189 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/paho.mqtt.c-${PV}"
LICENSE="EPL-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc examples +high-performance +ssl test"
# Building samples needs ssl: #912262
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-04-29 7:35 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2025-04-29 7:35 UTC (permalink / raw
To: gentoo-commits
commit: 3fb650ac1498253c2079b7a4e218702925bc2b73
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Thu Apr 24 05:00:00 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 29 07:35:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb650ac
net-libs/paho-mqtt-c: enable py3.13, pypy3, pypy3_11
Closes: https://bugs.gentoo.org/952598
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41725
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
index 3811a580a737..f6f24c5e5fb9 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit cmake python-any-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-04-29 7:35 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2025-04-29 7:35 UTC (permalink / raw
To: gentoo-commits
commit: 5ef6ba24708d7537be651b5899420808e64f2759
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Fri Apr 25 15:16:09 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 29 07:35:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef6ba24
net-libs/paho-mqtt-c: add 1.3.14
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41745
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-libs/paho-mqtt-c/Manifest | 2 +
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild | 102 +++++++++++++++++++++++++
2 files changed, 104 insertions(+)
diff --git a/net-libs/paho-mqtt-c/Manifest b/net-libs/paho-mqtt-c/Manifest
index 6b3e38731c3b..2690f1dc17c3 100644
--- a/net-libs/paho-mqtt-c/Manifest
+++ b/net-libs/paho-mqtt-c/Manifest
@@ -1,2 +1,4 @@
DIST paho-mqtt-c-1.3.13.tar.gz 3489004 BLAKE2B c835f4e2a741539df900184825b4ce29138f76828ec329d9321c54a845607b8137292330b019e950640f36bb14b0252dfba4906be746742950e3f8f13985608e SHA512 0f436470bcff224461ed3227c8db10914f84bc2dcf76e51b55d4a78b80abaa4e636ac8f7a20e517524625888335c738e975283e5d573ae8d59147aa4de7963fc
+DIST paho-mqtt-c-1.3.14.tar.gz 1198035 BLAKE2B dfc77990b24f6c12b082fdf48cea81e52cf2ac078fd3c47edd6999248bc02a67aa06646add0207a6c05cc3904e2bc9a6245a9478d71d44521a5dcfcb2606325d SHA512 5576ac3531a5c707f92a02cbfb9d60710b42acd99f57bcde311aa224780267a5152e8b92a6b077afab4780ee236d5e0c2a0b8986453439bce4323758b3d4385b
+DIST paho.mqtt.testing-9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103.tar.gz 180793 BLAKE2B b59f320466f28c828d0a019253c197313a203196943932d37401c0877a6adfeb0a3fe25f65690ee203f461baf32f291bec807c518f54f17dd102b57ce25de8a7 SHA512 599539300f21f4dcf88513bc0da81cb93b866d9e7f8927d0ce3d6ded6357526912dcfe4889c43cbdedeac9d57d5ff49b3bad24dcd172627d12e79755ed2c0ca2
DIST paho.mqtt.testing-a4dc694010217b291ee78ee13a6d1db812f9babd.tar.gz 175858 BLAKE2B 7ba1be3e09740f45907c4ba2a5314830a56c4f6626af3fab15928647b235908429a96ece312e7f5b8fa044583c81e6d8deacc0fbd290e6e08fbc328524dba3f1 SHA512 a20ea68cfac7f2a4e140c9b9ebacf4debd544098151545dedb72fe1e3629b3a495df7e15b0e131d52c4e86fb8d165cb7b2ceee019c15599b0cb5d914da0e7723
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
new file mode 100644
index 000000000000..ac8ec5c685ae
--- /dev/null
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+
+inherit cmake python-any-r1 toolchain-funcs
+
+TEST_UTILS="paho.mqtt.testing"
+TEST_COMMIT="9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103"
+
+DESCRIPTION="An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS."
+HOMEPAGE="https://eclipse.org/paho"
+SRC_URI="
+ https://github.com/eclipse/paho.mqtt.c/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/eclipse/${TEST_UTILS}/archive/${TEST_COMMIT}.tar.gz -> ${TEST_UTILS}-${TEST_COMMIT}.tar.gz
+"
+S="${WORKDIR}/paho.mqtt.c-${PV}"
+
+LICENSE="EPL-2.0"
+SLOT="1.3"
+KEYWORDS="~amd64 ~x86"
+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-text/doxygen
+ media-gfx/graphviz )
+ ssl? ( dev-libs/openssl )
+ test? (
+ dev-lang/python
+ app-shells/bash[net]
+ )
+"
+
+# Tests can be run only if a MQTT broker is available
+RESTRICT="!test? ( test )"
+
+BUILD_DIR="${S}_build"
+
+src_prepare(){
+ cmake_src_prepare
+ if use test; then
+ mv "${WORKDIR}/${TEST_UTILS}-${TEST_COMMIT}" "${WORKDIR}/${TEST_UTILS}" || die
+ fi
+}
+
+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_BUILD_SAMPLES="$(usex examples "TRUE" "FALSE")"
+ -DPAHO_ENABLE_TESTING="$(usex test "TRUE" "FALSE")"
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ if tc-is-cross-compiler; then
+ elog "Disabling tests due to crosscompiling."
+ return
+ fi
+
+ cd "${WORKDIR}/${TEST_UTILS}/interoperability" || die
+
+ ${EPYTHON} startbroker.py -c localhost_testing.conf \
+ > "${T}/testbroker.log" &
+ local -r startbroker_pid=$!
+
+ ${EPYTHON} "${S}"/test/mqttsas.py \
+ > "${T}/testmqttsas.log" &
+ local -r mqttsas_pid=$!
+
+ local port ports
+ ports=(1883 1888{3..8})
+
+ for port in ${ports[@]}; do
+ einfo "Waiting for TCP port ${port} to become available"
+ if timeout 30 bash -c \
+ 'until printf "" >/dev/tcp/${0}/${1} 2>> "${T}/portlog"; do sleep 1; done' \
+ localhost "${port}"; then
+ continue
+ fi
+
+ kill ${startbroker_pid} ${mqttsas_pid}
+ die "Timeout waiting for port ${port} to become available"
+ done
+
+ local myctestargs=(
+ -j 1
+ --timeout 600
+ )
+ cmake_src_test
+
+ kill ${startbroker_pid} ${mqttsas_pid} || die
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-05-07 13:33 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2025-05-07 13:33 UTC (permalink / raw
To: gentoo-commits
commit: a3d884beda75f04dfd8fc06ad20d8fb489932d50
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Tue May 6 18:54:36 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed May 7 13:32:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d884be
net-libs/paho-mqtt-c: Fix direct dependendy on dev-lang/python
Closes: https://bugs.gentoo.org/941435
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41964
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild | 2 +-
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
index f6f24c5e5fb9..74c1f68397a4 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
@@ -32,7 +32,7 @@ BDEPEND="
media-gfx/graphviz )
ssl? ( dev-libs/openssl )
test? (
- dev-lang/python
+ ${PYTHON_DEPS}
app-shells/bash[net]
)
"
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
index ac8ec5c685ae..82dced53f915 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
@@ -32,7 +32,7 @@ BDEPEND="
media-gfx/graphviz )
ssl? ( dev-libs/openssl )
test? (
- dev-lang/python
+ ${PYTHON_DEPS}
app-shells/bash[net]
)
"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-06-22 17:47 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2025-06-22 17:47 UTC (permalink / raw
To: gentoo-commits
commit: cc47f5bff2e98df2d42f06f1d3ec7e3ee90a6900
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 22 17:46:59 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 17:46:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc47f5bf
net-libs/paho-mqtt-c: Stabilize 1.3.14 amd64, #958880
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
index 82dced53f915..7f4bcf083eee 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/paho.mqtt.c-${PV}"
LICENSE="EPL-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc examples +high-performance +ssl test"
# Building samples needs ssl: #912262
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-09-13 15:03 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2025-09-13 15:03 UTC (permalink / raw
To: gentoo-commits
commit: a7d67e3888bbb2e7e899e47cd3ca15ce53554c58
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Sep 10 05:03:04 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Sep 13 15:03:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7d67e38
net-libs/paho-mqtt-c: add 1.3.15
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43728
Closes: https://github.com/gentoo/gentoo/pull/43728
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-libs/paho-mqtt-c/Manifest | 1 +
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.15.ebuild | 102 +++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-libs/paho-mqtt-c/Manifest b/net-libs/paho-mqtt-c/Manifest
index 2690f1dc17c3..d415eaece3c3 100644
--- a/net-libs/paho-mqtt-c/Manifest
+++ b/net-libs/paho-mqtt-c/Manifest
@@ -1,4 +1,5 @@
DIST paho-mqtt-c-1.3.13.tar.gz 3489004 BLAKE2B c835f4e2a741539df900184825b4ce29138f76828ec329d9321c54a845607b8137292330b019e950640f36bb14b0252dfba4906be746742950e3f8f13985608e SHA512 0f436470bcff224461ed3227c8db10914f84bc2dcf76e51b55d4a78b80abaa4e636ac8f7a20e517524625888335c738e975283e5d573ae8d59147aa4de7963fc
DIST paho-mqtt-c-1.3.14.tar.gz 1198035 BLAKE2B dfc77990b24f6c12b082fdf48cea81e52cf2ac078fd3c47edd6999248bc02a67aa06646add0207a6c05cc3904e2bc9a6245a9478d71d44521a5dcfcb2606325d SHA512 5576ac3531a5c707f92a02cbfb9d60710b42acd99f57bcde311aa224780267a5152e8b92a6b077afab4780ee236d5e0c2a0b8986453439bce4323758b3d4385b
+DIST paho-mqtt-c-1.3.15.tar.gz 1163925 BLAKE2B 22a9917a66e57025d715d3969a9e3b7cb110929ec6a82bf50b001739899ecca10385ccdff4b602f26c00dfe56d1aad3f0be12aacaebd4072dfdebb3da981d23d SHA512 e2c47485624f47a895aeeb4f978dd8d98fefca1c8caf9512a2adc03d0bf3c0c2225ab3f96a6ad3513f6df1976e52645248666308c42f05ce25fc8d0980947d28
DIST paho.mqtt.testing-9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103.tar.gz 180793 BLAKE2B b59f320466f28c828d0a019253c197313a203196943932d37401c0877a6adfeb0a3fe25f65690ee203f461baf32f291bec807c518f54f17dd102b57ce25de8a7 SHA512 599539300f21f4dcf88513bc0da81cb93b866d9e7f8927d0ce3d6ded6357526912dcfe4889c43cbdedeac9d57d5ff49b3bad24dcd172627d12e79755ed2c0ca2
DIST paho.mqtt.testing-a4dc694010217b291ee78ee13a6d1db812f9babd.tar.gz 175858 BLAKE2B 7ba1be3e09740f45907c4ba2a5314830a56c4f6626af3fab15928647b235908429a96ece312e7f5b8fa044583c81e6d8deacc0fbd290e6e08fbc328524dba3f1 SHA512 a20ea68cfac7f2a4e140c9b9ebacf4debd544098151545dedb72fe1e3629b3a495df7e15b0e131d52c4e86fb8d165cb7b2ceee019c15599b0cb5d914da0e7723
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.15.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.15.ebuild
new file mode 100644
index 000000000000..b36fd5bdad82
--- /dev/null
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.15.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit cmake python-any-r1 toolchain-funcs
+
+TEST_UTILS="paho.mqtt.testing"
+TEST_COMMIT="9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103"
+
+DESCRIPTION="An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS."
+HOMEPAGE="https://eclipse.org/paho"
+SRC_URI="
+ https://github.com/eclipse/paho.mqtt.c/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/eclipse/${TEST_UTILS}/archive/${TEST_COMMIT}.tar.gz -> ${TEST_UTILS}-${TEST_COMMIT}.tar.gz
+"
+S="${WORKDIR}/paho.mqtt.c-${PV}"
+
+LICENSE="EPL-2.0"
+SLOT="1.3"
+KEYWORDS="~amd64 ~x86"
+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-text/doxygen
+ media-gfx/graphviz )
+ ssl? ( dev-libs/openssl )
+ test? (
+ ${PYTHON_DEPS}
+ app-shells/bash[net]
+ )
+"
+
+# Tests can be run only if a MQTT broker is available
+RESTRICT="!test? ( test )"
+
+BUILD_DIR="${S}_build"
+
+src_prepare(){
+ cmake_src_prepare
+ if use test; then
+ mv "${WORKDIR}/${TEST_UTILS}-${TEST_COMMIT}" "${WORKDIR}/${TEST_UTILS}" || die
+ fi
+}
+
+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_BUILD_SAMPLES="$(usex examples "TRUE" "FALSE")"
+ -DPAHO_ENABLE_TESTING="$(usex test "TRUE" "FALSE")"
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ if tc-is-cross-compiler; then
+ elog "Disabling tests due to crosscompiling."
+ return
+ fi
+
+ cd "${WORKDIR}/${TEST_UTILS}/interoperability" || die
+
+ ${EPYTHON} startbroker.py -c localhost_testing.conf \
+ > "${T}/testbroker.log" &
+ local -r startbroker_pid=$!
+
+ ${EPYTHON} "${S}"/test/mqttsas.py \
+ > "${T}/testmqttsas.log" &
+ local -r mqttsas_pid=$!
+
+ local port ports
+ ports=(1883 1888{3..8})
+
+ for port in ${ports[@]}; do
+ einfo "Waiting for TCP port ${port} to become available"
+ if timeout 30 bash -c \
+ 'until printf "" >/dev/tcp/${0}/${1} 2>> "${T}/portlog"; do sleep 1; done' \
+ localhost "${port}"; then
+ continue
+ fi
+
+ kill ${startbroker_pid} ${mqttsas_pid}
+ die "Timeout waiting for port ${port} to become available"
+ done
+
+ local myctestargs=(
+ -j 1
+ --timeout 600
+ )
+ cmake_src_test
+
+ kill ${startbroker_pid} ${mqttsas_pid} || die
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-09-18 12:07 Arthur Zamarin
0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2025-09-18 12:07 UTC (permalink / raw
To: gentoo-commits
commit: 6506e88689653e8d45fc2924ef0e4da3406af9b1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 18 12:06:56 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 18 12:06:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6506e886
net-libs/paho-mqtt-c: Stabilize 1.3.14-r1 x86, #962487
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild
index ef714b0fcc59..6ffda053ef5a 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/paho.mqtt.c-${PV}"
LICENSE="EPL-2.0"
SLOT="1.3"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="doc examples +high-performance +ssl test"
# Building samples needs ssl: #912262
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-09-18 12:07 Arthur Zamarin
0 siblings, 0 replies; 13+ messages in thread
From: Arthur Zamarin @ 2025-09-18 12:07 UTC (permalink / raw
To: gentoo-commits
commit: 994bd5d2b7434ae4177d932b62e3223a7ab018a5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 18 12:06:55 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 18 12:06:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=994bd5d2
net-libs/paho-mqtt-c: Stabilize 1.3.14-r1 amd64, #962487
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild
index 829c3e70e1e2..ef714b0fcc59 100644
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild
+++ b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/paho.mqtt.c-${PV}"
LICENSE="EPL-2.0"
SLOT="1.3"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc examples +high-performance +ssl test"
# Building samples needs ssl: #912262
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/
@ 2025-09-25 18:04 Florian Schmaus
0 siblings, 0 replies; 13+ messages in thread
From: Florian Schmaus @ 2025-09-25 18:04 UTC (permalink / raw
To: gentoo-commits
commit: 6ba9c94c42293c9f83a6e324be3d16fc834da237
Author: Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Wed Sep 24 05:10:40 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Sep 25 18:04:07 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba9c94c
net-libs/paho-mqtt-c: drop 1.3.13, 1.3.14
Closes: https://bugs.gentoo.org/952799
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43921
Closes: https://github.com/gentoo/gentoo/pull/43921
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
net-libs/paho-mqtt-c/Manifest | 2 -
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild | 102 -------------------------
net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild | 102 -------------------------
3 files changed, 206 deletions(-)
diff --git a/net-libs/paho-mqtt-c/Manifest b/net-libs/paho-mqtt-c/Manifest
index d415eaece3c3..d85641233fcc 100644
--- a/net-libs/paho-mqtt-c/Manifest
+++ b/net-libs/paho-mqtt-c/Manifest
@@ -1,5 +1,3 @@
-DIST paho-mqtt-c-1.3.13.tar.gz 3489004 BLAKE2B c835f4e2a741539df900184825b4ce29138f76828ec329d9321c54a845607b8137292330b019e950640f36bb14b0252dfba4906be746742950e3f8f13985608e SHA512 0f436470bcff224461ed3227c8db10914f84bc2dcf76e51b55d4a78b80abaa4e636ac8f7a20e517524625888335c738e975283e5d573ae8d59147aa4de7963fc
DIST paho-mqtt-c-1.3.14.tar.gz 1198035 BLAKE2B dfc77990b24f6c12b082fdf48cea81e52cf2ac078fd3c47edd6999248bc02a67aa06646add0207a6c05cc3904e2bc9a6245a9478d71d44521a5dcfcb2606325d SHA512 5576ac3531a5c707f92a02cbfb9d60710b42acd99f57bcde311aa224780267a5152e8b92a6b077afab4780ee236d5e0c2a0b8986453439bce4323758b3d4385b
DIST paho-mqtt-c-1.3.15.tar.gz 1163925 BLAKE2B 22a9917a66e57025d715d3969a9e3b7cb110929ec6a82bf50b001739899ecca10385ccdff4b602f26c00dfe56d1aad3f0be12aacaebd4072dfdebb3da981d23d SHA512 e2c47485624f47a895aeeb4f978dd8d98fefca1c8caf9512a2adc03d0bf3c0c2225ab3f96a6ad3513f6df1976e52645248666308c42f05ce25fc8d0980947d28
DIST paho.mqtt.testing-9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103.tar.gz 180793 BLAKE2B b59f320466f28c828d0a019253c197313a203196943932d37401c0877a6adfeb0a3fe25f65690ee203f461baf32f291bec807c518f54f17dd102b57ce25de8a7 SHA512 599539300f21f4dcf88513bc0da81cb93b866d9e7f8927d0ce3d6ded6357526912dcfe4889c43cbdedeac9d57d5ff49b3bad24dcd172627d12e79755ed2c0ca2
-DIST paho.mqtt.testing-a4dc694010217b291ee78ee13a6d1db812f9babd.tar.gz 175858 BLAKE2B 7ba1be3e09740f45907c4ba2a5314830a56c4f6626af3fab15928647b235908429a96ece312e7f5b8fa044583c81e6d8deacc0fbd290e6e08fbc328524dba3f1 SHA512 a20ea68cfac7f2a4e140c9b9ebacf4debd544098151545dedb72fe1e3629b3a495df7e15b0e131d52c4e86fb8d165cb7b2ceee019c15599b0cb5d914da0e7723
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
deleted file mode 100644
index 74c1f68397a4..000000000000
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.13.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
-
-inherit cmake python-any-r1 toolchain-funcs
-
-TEST_UTILS="paho.mqtt.testing"
-TEST_COMMIT="a4dc694010217b291ee78ee13a6d1db812f9babd"
-
-DESCRIPTION="An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS."
-HOMEPAGE="https://eclipse.org/paho"
-SRC_URI="
- https://github.com/eclipse/paho.mqtt.c/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/eclipse/${TEST_UTILS}/archive/${TEST_COMMIT}.tar.gz -> ${TEST_UTILS}-${TEST_COMMIT}.tar.gz
-"
-S="${WORKDIR}/paho.mqtt.c-${PV}"
-
-LICENSE="EPL-2.0"
-SLOT="1.3"
-KEYWORDS="amd64 x86"
-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-text/doxygen
- media-gfx/graphviz )
- ssl? ( dev-libs/openssl )
- test? (
- ${PYTHON_DEPS}
- app-shells/bash[net]
- )
-"
-
-# Tests can be run only if a MQTT broker is available
-RESTRICT="!test? ( test )"
-
-BUILD_DIR="${S}_build"
-
-src_prepare(){
- cmake_src_prepare
- if use test; then
- mv "${WORKDIR}/${TEST_UTILS}-${TEST_COMMIT}" "${WORKDIR}/${TEST_UTILS}" || die
- fi
-}
-
-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_BUILD_SAMPLES="$(usex examples "TRUE" "FALSE")"
- -DPAHO_ENABLE_TESTING="$(usex test "TRUE" "FALSE")"
- )
- cmake_src_configure
-}
-
-src_test() {
- if tc-is-cross-compiler; then
- elog "Disabling tests due to crosscompiling."
- return
- fi
-
- cd "${WORKDIR}/${TEST_UTILS}/interoperability" || die
-
- ${EPYTHON} startbroker.py -c localhost_testing.conf \
- > "${T}/testbroker.log" &
- local -r startbroker_pid=$!
-
- ${EPYTHON} "${S}"/test/mqttsas.py \
- > "${T}/testmqttsas.log" &
- local -r mqttsas_pid=$!
-
- local port ports
- ports=(1883 1888{3..8})
-
- for port in ${ports[@]}; do
- einfo "Waiting for TCP port ${port} to become available"
- if timeout 30 bash -c \
- 'until printf "" >/dev/tcp/${0}/${1} 2>> "${T}/portlog"; do sleep 1; done' \
- localhost "${port}"; then
- continue
- fi
-
- kill ${startbroker_pid} ${mqttsas_pid}
- die "Timeout waiting for port ${port} to become available"
- done
-
- local myctestargs=(
- -j 1
- --timeout 600
- )
- cmake_src_test
-
- kill ${startbroker_pid} ${mqttsas_pid} || die
-}
diff --git a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild b/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
deleted file mode 100644
index a0324946b1f2..000000000000
--- a/net-libs/paho-mqtt-c/paho-mqtt-c-1.3.14.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
-
-inherit cmake python-any-r1 toolchain-funcs
-
-TEST_UTILS="paho.mqtt.testing"
-TEST_COMMIT="9d7bb80bb8b9d9cfc0b52f8cb4c1916401281103"
-
-DESCRIPTION="An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS."
-HOMEPAGE="https://eclipse.org/paho"
-SRC_URI="
- https://github.com/eclipse/paho.mqtt.c/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/eclipse/${TEST_UTILS}/archive/${TEST_COMMIT}.tar.gz -> ${TEST_UTILS}-${TEST_COMMIT}.tar.gz
-"
-S="${WORKDIR}/paho.mqtt.c-${PV}"
-
-LICENSE="EPL-2.0"
-SLOT="1.3"
-KEYWORDS="amd64 x86"
-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-text/doxygen
- media-gfx/graphviz )
- ssl? ( dev-libs/openssl )
- test? (
- ${PYTHON_DEPS}
- app-shells/bash[net]
- )
-"
-
-# Tests can be run only if a MQTT broker is available
-RESTRICT="!test? ( test )"
-
-BUILD_DIR="${S}_build"
-
-src_prepare(){
- cmake_src_prepare
- if use test; then
- mv "${WORKDIR}/${TEST_UTILS}-${TEST_COMMIT}" "${WORKDIR}/${TEST_UTILS}" || die
- fi
-}
-
-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_BUILD_SAMPLES="$(usex examples "TRUE" "FALSE")"
- -DPAHO_ENABLE_TESTING="$(usex test "TRUE" "FALSE")"
- )
- cmake_src_configure
-}
-
-src_test() {
- if tc-is-cross-compiler; then
- elog "Disabling tests due to crosscompiling."
- return
- fi
-
- cd "${WORKDIR}/${TEST_UTILS}/interoperability" || die
-
- ${EPYTHON} startbroker.py -c localhost_testing.conf \
- > "${T}/testbroker.log" &
- local -r startbroker_pid=$!
-
- ${EPYTHON} "${S}"/test/mqttsas.py \
- > "${T}/testmqttsas.log" &
- local -r mqttsas_pid=$!
-
- local port ports
- ports=(1883 1888{3..8})
-
- for port in ${ports[@]}; do
- einfo "Waiting for TCP port ${port} to become available"
- if timeout 30 bash -c \
- 'until printf "" >/dev/tcp/${0}/${1} 2>> "${T}/portlog"; do sleep 1; done' \
- localhost "${port}"; then
- continue
- fi
-
- kill ${startbroker_pid} ${mqttsas_pid}
- die "Timeout waiting for port ${port} to become available"
- done
-
- local myctestargs=(
- -j 1
- --timeout 600
- )
- cmake_src_test
-
- kill ${startbroker_pid} ${mqttsas_pid} || die
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2025-09-25 18:04 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 13:33 [gentoo-commits] repo/gentoo:master commit in: net-libs/paho-mqtt-c/ Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2025-09-25 18:04 Florian Schmaus
2025-09-18 12:07 Arthur Zamarin
2025-09-18 12:07 Arthur Zamarin
2025-09-13 15:03 Florian Schmaus
2025-06-22 17:47 Sam James
2025-04-29 7:35 Florian Schmaus
2025-04-29 7:35 Florian Schmaus
2024-02-28 20:50 Jakov Smolić
2023-11-14 7:53 Florian Schmaus
2023-10-15 10:40 Ionen Wolkens
2023-10-15 9:56 Florian Schmaus
2023-08-23 10:59 Florian Schmaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox