commit: e9aeb7c8ca03ad85278885d997553ff87a43c8b8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Sep 6 05:37:34 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Sep 6 07:00:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9aeb7c8
dev-python/zeroconf: Bump to 0.147.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/zeroconf/Manifest | 2 + dev-python/zeroconf/zeroconf-0.147.2.ebuild | 69 +++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 267ad3e5a996..a13b611ef03e 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1 +1,3 @@ DIST zeroconf-0.147.0.tar.gz 163958 BLAKE2B a706012207fc7b1b2a74dddb29729de1180f6025dfd19c59d06494fe62a66127231c96b3df49d10d55fb8b3d09bec78959092bd1b6cd68a4d6ea5c553a98579d SHA512 930902ea04f030bb557b9c2788c7c369d6f65c92b214bb094955e66868187ce8c8341b5a67382df2ddc42b769701b553bdb3b89871557bc9f2cc681fbe1ccc07 +DIST zeroconf-0.147.2.tar.gz 164391 BLAKE2B 8d8d273c4ea768b25834481b4cc3b245cd92cf9a04da723fbfe245fb7b516f39e44467edfb2be924e5a26b765f159e35b78da0c3aa8118082e4f4c10fc9929bb SHA512 ee327e3d53ab75f316a2ebaaed42be52395d9f4d4252b90dead6dea59234d0cbf5769efbef35aaef8056b40e9c637506a822977635b716f49be0c594badb506a +DIST zeroconf-0.147.2.tar.gz.provenance 9593 BLAKE2B 4b97498d0e6014f18248fd3de3a608c376556ee3e1b99aa1012097ab84240f7c495f011a510c007600c535187c32937a6b161251aa0721dba3bc784fcb981239 SHA512 29c9659cd6185a55c3c824fa2d275b7f2f30b4913c477f1dfe9d6a1ac9a2a346a281bcc48baba8e2fb8d0e00925d1470f0e9101456b8af8a95b752cb8f1e8f99 diff --git a/dev-python/zeroconf/zeroconf-0.147.2.ebuild b/dev-python/zeroconf/zeroconf-0.147.2.ebuild new file mode 100644 index 000000000000..5253bee3bcf2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.147.2.ebuild @@ -0,0 +1,69 @@ +# 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 +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{11..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +}
