diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index ed413d049669d..1fcb042d53312 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1,4 @@ DIST zeroconf-0.148.0.tar.gz 164447 BLAKE2B 7ef17f3b028dc19fba09e6566f7a123114cf6e738c9237a4169a76748e01c817769e28185e6649b47ceb8cc4ae30156ce72eac6c42949efa6d7b672b18fe9461 SHA512 d3b88b9a3e86db172f78534c11677166b05ec770924d926258972f18edf2f3e2149abbcf8984e7b53b606866742fdda2b50839cdb0f69e429b58eb1813d20539 DIST zeroconf-0.148.0.tar.gz.provenance 9736 BLAKE2B 6d55cd6ff39ed897e499ada05f1c1fe069a621229bfd4c01852d7e655519390357c655a70f2099d9fa1f69429e03950c6dbb2e8bb9d7c552a35bfb70c8233050 SHA512 64886abc8f42435f7d75ddbda25a2690fd7a43c8c1576f0f02ff4e46879f2298c013dfcdb4731ad274e9b4fb5a884b57504f8e6ebf3963f17931e583bd22b4a8 +DIST zeroconf-0.149.3.tar.gz 167633 BLAKE2B 623ad21e864c29e10e74c75003512303aaadfc572da03d5e967b8543cc356de0e2eacd17b770db1cd3c754ac562d3965e4f32b302b750a5398db1923a2f1e184 SHA512 83d28877c2c1126e2402907218077b3c77d6851324127b640db7014a1c2f538d08ef415402eee065ef044d893777c197bad94498ead113b423ae00682beee192 +DIST zeroconf-0.149.3.tar.gz.provenance 9873 BLAKE2B dfac2ab1b2fe0cffef2a6084d12aa6d59d7c8954a2a60954115fdbb6621129fb67a7d1a85307658b05a971b569a79707c5c3f8f914a35beeadff5f17dadc53ae SHA512 994b43f6f3890a567530c279e762601e54e6152a3d17beab0b630890cf5672fde94fd49ecc1b1aee097557ae42cfd993b9c4151c29a0d461cf63347e211a3dd6 diff --git a/dev-python/zeroconf/zeroconf-0.149.3.ebuild b/dev-python/zeroconf/zeroconf-0.149.3.ebuild new file mode 100644 index 0000000000000..6fdb117cb3785 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.149.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 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" +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= +}