diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-05-04 04:17:11 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-05-04 05:06:10 +0200 |
| commit | b5199c2ddd4f6acec41943bf4507ce318e24e805 (patch) | |
| tree | f0338f8bb5d2a070730ddb812e454e1011568fd5 /dev-python/zeroconf | |
| parent | 2c2f01d4aba49373166256c36a1f0fb04d5c2993 (diff) | |
dev-python/zeroconf: Bump to 0.147.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zeroconf')
| -rw-r--r-- | dev-python/zeroconf/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.147.0.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index c429cef65995..2c869d171cfc 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1,3 @@ DIST zeroconf-0.146.3.tar.gz 162429 BLAKE2B d9e59bba6e34540fdcfde01b4486db6340646b92160fe7ec6abf097eb1224bf45e1f76119d3ae71d13821b6f67621aecb7af0709b787b49f5cff392fba130d2d SHA512 d9fa896069fe3ee9f56945533f55b89ea9770a03fd6241b06323c9cdebfd1f3c185285b5159581156e8a9554c3b3aa8d35f4c6cb9cafe0efd98751a38de691e8 DIST zeroconf-0.146.5.tar.gz 163906 BLAKE2B f54940354c2262420e1f3ed5fd3148438d2c5e9fa0f35b851c0a653c46b43471c9aaad120489bc0304baae586b860e7c8a3b8ee06c56072ad5b1237dc2ba5202 SHA512 4e6d2ea48435c0889b610623dfd68793b3891797030f3919888cb1866938ae5157d4a837a6cb8cc808d4aca8298bb00ef92827f790f5d4489f59e1a05685ca27 +DIST zeroconf-0.147.0.tar.gz 163958 BLAKE2B a706012207fc7b1b2a74dddb29729de1180f6025dfd19c59d06494fe62a66127231c96b3df49d10d55fb8b3d09bec78959092bd1b6cd68a4d6ea5c553a98579d SHA512 930902ea04f030bb557b9c2788c7c369d6f65c92b214bb094955e66868187ce8c8341b5a67382df2ddc42b769701b553bdb3b89871557bc9f2cc681fbe1ccc07 diff --git a/dev-python/zeroconf/zeroconf-0.147.0.ebuild b/dev-python/zeroconf/zeroconf-0.147.0.ebuild new file mode 100644 index 000000000000..a2390e4a62e8 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.147.0.ebuild @@ -0,0 +1,71 @@ +# 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_{11..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" +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}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} |
