commit: f107c80635e9e7e6b24b1be36e46736fc51768b9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 7 05:09:44 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 7 05:27:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f107c806
dev-python/zeroconf: Bump to 0.137.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/zeroconf/Manifest | 1 +
dev-python/zeroconf/zeroconf-0.137.2.ebuild | 59 +++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index 40b30d38ded3..cb1bd240a327 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -1 +1,2 @@
DIST zeroconf-0.136.2.tar.gz 238720 BLAKE2B
c47bd38a75f01c1e4268c6567a13e664638c05efa1a45ff1593b3d1347e369acd7a284580a02d34f398710f5faf319150c9eca151667dbb6a184bad35f24d4ce
SHA512
30e352cfa2c3b7e7c3b9e38d6d1db0471d1f2c7dcd6785b0aab63a1027da21e966565803d4b2bfde6a89d4362039165f19b5c179117128a992f4960af2ac031d
+DIST zeroconf-0.137.2.tar.gz 237962 BLAKE2B
9ff84381cbd465a49fffeb18e671e8ab55f1c0d0e44f96312177d5a6372c6558e2175846d0cbd96c8e8b8ccd449e56ce614078e0ae22eeed8458b8a421f97192
SHA512
a4ed7146016a68bbc077cc1c61e9299d0f7d636b96da0d3dc9a4d161f709b429d7d44948435a0ed1151e280c173093dd1aaeacf4370958fd2c1b30337e3216af
diff --git a/dev-python/zeroconf/zeroconf-0.137.2.ebuild
b/dev-python/zeroconf/zeroconf-0.137.2.ebuild
new file mode 100644
index 000000000000..d93c4b7a232a
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.137.2.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=
+}