diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-10-05 04:22:24 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-10-05 04:47:17 +0200 |
| commit | 0afa7b52206eb6d64bd0fabea67a26c2cd0bdf36 (patch) | |
| tree | 06d291dd7769c0be18d390833c18d60a912659f5 /dev-python/zeroconf | |
| parent | 80d4e6acf8adb77051e6741a6c56787bc016883d (diff) | |
| download | gentoo-0afa7b52206eb6d64bd0fabea67a26c2cd0bdf36.tar.gz gentoo-0afa7b52206eb6d64bd0fabea67a26c2cd0bdf36.tar.bz2 gentoo-0afa7b52206eb6d64bd0fabea67a26c2cd0bdf36.zip | |
dev-python/zeroconf: Bump to 0.148.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zeroconf')
| -rw-r--r-- | dev-python/zeroconf/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.148.0.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index a13b611ef03e..8f6b6224957f 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1,5 @@ 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 +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 diff --git a/dev-python/zeroconf/zeroconf-0.148.0.ebuild b/dev-python/zeroconf/zeroconf-0.148.0.ebuild new file mode 100644 index 000000000000..5253bee3bcf2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.148.0.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= +} |
