diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 8471b80656827..70e44aae40e93 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -14,3 +14,5 @@ DIST zeroconf-0.149.7.tar.gz 180422 BLAKE2B 6d03b2d64803975d6a91ed38f6d6479a78d1 DIST zeroconf-0.149.7.tar.gz.provenance 9693 BLAKE2B 4083488a81714f3cdcfe047bdc8158e8a94699931f40757ff204b7bc11e7328e02607fb49910f0ea2414809d14b26c63de369e87741dc6c63b1850e4a17833b8 SHA512 ce16d6921399d3d0eec4f09802dc80d48c79c05605bf7d79f0fd56fca0cedd3e51e35aaea3d64033d8ba6fd426855ad37a1935f2f3d112142d2f0fb35426e90b DIST zeroconf-0.149.9.tar.gz 182818 BLAKE2B 826263cbe40998c2f9f4e7d31df6a1c1a0afc3bc81933184ab7abe982e873e4a9e803358966f84651677acbb1f746c5815cb027c357bf541315680d9eea16154 SHA512 62e630f80322b775d74d20fa219c2dbb4a1215f8124f01a0531fe7bd46178d2f6343d47d2c2f1523bca60d9fc2bdc54275ab25021d607dbae085724b80fc1375 DIST zeroconf-0.149.9.tar.gz.provenance 9787 BLAKE2B e5aaa977f6a864297cc6f7f193382d17338cc5bed6fc7c5a80f61552901069032a5bc95ca2c18cacaae8cdda7a1b120ebc8c0ae0220aea525a59837b5131f411 SHA512 250e490de207db66de44a4e57d86a8da074d70a591996aab52d7231a6f4107c9562c3c48b2b6db0b03e9e6ccde7621a28f1d6d37956b818b829658b81f0f5731 +DIST zeroconf-0.150.0.tar.gz 213634 BLAKE2B 375e19de785a1211a37ee2a49c3241e0b5e37802fdfc7ab4b41626345e1a9dabb9abce1ab72e1794de1ac79520281da88e2d5ea75f685e166a7782aabd2b9962 SHA512 b7dd7402b623b545970696cccbe6a0664f25ee49cffdf5c2b6b1aef7dff2bb4106e3475c1446ac236894b69f4d1e0a77b63e811756bfde43120bab394a4b6b89 +DIST zeroconf-0.150.0.tar.gz.provenance 10294 BLAKE2B 396684e6c120c4d99126fb4a53c3dc49a8afe16d3f7c7fdccbc5d98355fca41ed285c56aa9c69e12ba19a5688f05bc47090d7008c443168370371bb0f3c3da93 SHA512 e1229dd5ccc0eebd1ed99db364605fbd655e45cb8625766b1972b99ebf6f45dad325187091045e689436086f18af5df37d74abe8807095d68e3468ebf9711f63 diff --git a/dev-python/zeroconf/zeroconf-0.150.0.ebuild b/dev-python/zeroconf/zeroconf-0.150.0.ebuild new file mode 100644 index 0000000000000..dc2beacbcf385 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.150.0.ebuild @@ -0,0 +1,72 @@ +# 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-core +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{12..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}] + ) + test? ( + >=dev-python/blockbuster-1.5.5[${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= +}