diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-02-16 03:39:00 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-02-16 03:39:00 +0100 |
| commit | 1c44fa10fad28612081c2bf18377715461dde172 (patch) | |
| tree | 501f302a7f55441473c4d2f2576a3c783d4813b7 /dev-python/zeroconf | |
| parent | 866d69eb97963c966031b3ab01d19111eed0b371 (diff) | |
| download | gentoo-1c44fa10fad28612081c2bf18377715461dde172.tar.gz gentoo-1c44fa10fad28612081c2bf18377715461dde172.tar.bz2 gentoo-1c44fa10fad28612081c2bf18377715461dde172.zip | |
dev-python/zeroconf: Bump to 0.145.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.145.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 94995839526c..a9e02d709dc0 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -4,3 +4,4 @@ DIST zeroconf-0.143.0.tar.gz 159481 BLAKE2B 3c73c85a86180b21766bae0a9ba9ebce8910 DIST zeroconf-0.143.1.tar.gz 160017 BLAKE2B 6ca7c3c72f747703c2d12aa1547c1007bca77ba288e915e5dc56f77c21117158792e5ebb0829d016058889592e45139ee80af3f57d71ff333e5523834062d0e3 SHA512 16efd961a5c06264006ef6c39afbff49cce09812a31b392b3fa56c9f14cb4ea011ab6c1cac9934ad5e466e1430154f70693ea2160ec6d319e3a4a516005b90dd DIST zeroconf-0.144.1.tar.gz 160109 BLAKE2B c0dc535665fa46ee143c09b35f380f6898c16a844d2e7c3c233bd0ea1b0c0f1f551daf05dd220f4d7ce6478f65d5bb8a1dbda2d845744e9fe46b6138008c98f7 SHA512 3ad3827c5bd834ce4fc9b6a1349c34b0ede562da327f87fba17905b697a001271c55569e4a1ee8857c088a96a18e1a0782836a7ec2ff3c36982ae57f805e72c8 DIST zeroconf-0.144.3.tar.gz 161347 BLAKE2B 43f75df44a95d58ec372fbd68013cce2c9e4c78fa5b5c445604c8cb8281fbf4b96b6625c5867ca2817877d81c28824a0b8fab322e2da326b864ead539561a359 SHA512 c849a8b1ade29a34e7a4a4ad7710368eba6253408eae9b655381625b79170b7deeecf0d4be4821ee598a2af1a431803b2f6a072a4c61e94cee5ec0a9895a0153 +DIST zeroconf-0.145.0.tar.gz 161541 BLAKE2B a1978bbf52f1b14a5a7d6089c5d41c526cfd7f93cd386cc46d3a1d3bcea354761053bfcb4b5e390ff5915e80584855580475f03fad2ed1ec2aae6dbedda54aa8 SHA512 3a9df86385406b27f85c21dda6b20c040a73ecf4616d3d2bd38b3734e21cf038e0f65812c060bc5775dac242a519285f4a0a9a0ecf6c022c60abdcd1df915e82 diff --git a/dev-python/zeroconf/zeroconf-0.145.0.ebuild b/dev-python/zeroconf/zeroconf-0.145.0.ebuild new file mode 100644 index 000000000000..8ab627f86158 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.145.0.ebuild @@ -0,0 +1,60 @@ +# 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_{10..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" + +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=" + >=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 + +export REQUIRE_CYTHON=1 + +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 +} |
