summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-02-18 07:14:23 +0100
committerMichał Górny <mgorny@gentoo.org>2025-02-18 08:35:42 +0100
commit1e7ef59d423d7a0539bdeb49bc230ad6bdc88f5d (patch)
tree136e81426477cc70952c71310d6b1a333e9d96bd /dev-python
parent4974154c31c1472d2c864f87d3573d32649c9b95 (diff)
downloadgentoo-1e7ef59d423d7a0539bdeb49bc230ad6bdc88f5d.tar.gz
gentoo-1e7ef59d423d7a0539bdeb49bc230ad6bdc88f5d.tar.bz2
gentoo-1e7ef59d423d7a0539bdeb49bc230ad6bdc88f5d.zip
dev-python/zeroconf: Bump to 0.145.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/zeroconf/Manifest1
-rw-r--r--dev-python/zeroconf/zeroconf-0.145.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index a9e02d709dc0..fbfb007f13f0 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -5,3 +5,4 @@ DIST zeroconf-0.143.1.tar.gz 160017 BLAKE2B 6ca7c3c72f747703c2d12aa1547c1007bca7
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
+DIST zeroconf-0.145.1.tar.gz 161640 BLAKE2B 7a51237fa238db0bd6ff7bc2537ae9535351ccf087e1b4dd99610164ae7a94f4faf9a0eba6932a8ede488bbd67533a9bf19299037e37163df00674d1c583cdf5 SHA512 9b5dc03ff77ea5d0d0df8ae05218c1aaf43f31f3d3a3fb11c95799ad81e238959eda1b8adf45c0ca34e28c38784f96647dc2e1b7689579658df2ec0e1e0de844
diff --git a/dev-python/zeroconf/zeroconf-0.145.1.ebuild b/dev-python/zeroconf/zeroconf-0.145.1.ebuild
new file mode 100644
index 000000000000..8ab627f86158
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.145.1.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
+}