commit:     0c47106d13bb0a96abf014d585e2008a7422b107
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 31 04:27:17 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 04:27:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c47106d

dev-python/zeroconf: Bump to 0.142.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zeroconf/Manifest                |  1 +
 dev-python/zeroconf/zeroconf-0.142.0.ebuild | 59 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index aa361082abc0..6cc9a2943f4b 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -3,3 +3,4 @@ DIST zeroconf-0.137.2.tar.gz 237962 BLAKE2B 
9ff84381cbd465a49fffeb18e671e8ab55f1
 DIST zeroconf-0.139.0.tar.gz 240030 BLAKE2B 
b06f229334d18a840d5e203b3823375ba81f96076df4487c7090e0a971f9c15570dac11f7306d8da8d29fe964c231d3bdd142229a4ab96d6c7b2ef9b35dfc27e
 SHA512 
e989a4b6c9f2a259d916da9808df5ff75db7375bbdc2cfc4b4c76fec8adda0c54112fd10d6a7266a28c408ac47c5955be5bd8e658ba87492dbdc54ed38eccf95
 DIST zeroconf-0.140.1.tar.gz 240320 BLAKE2B 
70d10656f8a79a837d24901ceffb106ff86c805f922569aef48aa4e7b94f0f88e80c48085a282d3a928a863509309593f8f6457d6a0b0608eb0143c5dd56c7aa
 SHA512 
b92c25dad0e313f72870da54d0f9f9f96c889130f23eba2946702fb95c82757a40f96285771568074d78346f67f9e366ef0e488256a669daf602971919f48ab1
 DIST zeroconf-0.141.0.tar.gz 162148 BLAKE2B 
14cace203d4d40c54468cc07f8f49bad82c192b47be6a5a5debc0ff65c1e15fd3f50345b12f95ed5608ef9d7e4ae03b037b65b1ed38d1f24b19f14e973d51e73
 SHA512 
a39060250218c132c8a01bb2a8feb96886455d074fb25e948704e2ff5849a42b695ee7c1a7854592ece2034901e895ea63f5014c2ffc371583d888d1196a7762
+DIST zeroconf-0.142.0.tar.gz 159412 BLAKE2B 
78b1d7e50e9a37571743942c614e8d5b65761f8be1deb5394aca65d4d82e9b607d20ea41322df6bb20d0efc35e1464b01ad5c734e386e7d550d9d4b980452d74
 SHA512 
754679a6bc5d9175012a0299786f1aad0e199cc06b47ee2a4c3b4f94cbabb7a61037b6541564e7c9ce26b867abb9a31fc6ae3ef1b1ca1d5ba225f000dc2bba5d

diff --git a/dev-python/zeroconf/zeroconf-0.142.0.ebuild 
b/dev-python/zeroconf/zeroconf-0.142.0.ebuild
new file mode 100644
index 000000000000..d93c4b7a232a
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.142.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pure Python Multicast DNS Service Discovery Library 
(Bonjour/Avahi compatible)"
+HOMEPAGE="
+       https://github.com/python-zeroconf/python-zeroconf/
+       https://pypi.org/project/zeroconf/
+"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+       >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]
+       ' 3.10)
+"
+# the build system uses custom build script that uses distutils to build
+# C extensions, sigh
+BDEPEND="
+       >=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
+       >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+export REQUIRE_CYTHON=1
+
+python_test() {
+       local -x SKIP_IPV6=1
+       local EPYTEST_DESELECT=(
+               # network
+               tests/test_core.py::Framework::test_close_multiple_times
+               tests/test_core.py::Framework::test_launch_and_close
+               
tests/test_core.py::Framework::test_launch_and_close_context_manager
+
+               # fragile to timeouts (?)
+               
tests/services/test_browser.py::test_service_browser_expire_callbacks
+               tests/utils/test_asyncio.py::test_run_coro_with_timeout
+       )
+       local EPYTEST_IGNORE=(
+               tests/benchmarks
+       )
+
+       epytest -o addopts=
+}

Reply via email to