summaryrefslogtreecommitdiff
path: root/dev-python/zeroconf
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/zeroconf')
-rw-r--r--dev-python/zeroconf/Manifest2
-rw-r--r--dev-python/zeroconf/zeroconf-0.58.0.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index 8259e6a49fdd..2d3a3394f3ff 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -1,3 +1,5 @@
DIST zeroconf-0.56.0.tar.gz 140060 BLAKE2B 3199ebb995754f4c7a2b4881564664d95d2483f6307cd898ec1beb7e12fed0bc3ce501a0f4732a3f1e019db1641d08804d2f38ad769277c95a41b8c266860126 SHA512 8ba2cabc58ae5586b6e89f2771e4483a488bf4ef5201fe8684befc2930d34f96f5fd07040da7ec850f9450b2166ad22ef571821a56e33222cf5708c11f5f4aba
+DIST zeroconf-0.58.0.tar.gz 140418 BLAKE2B 4e080fb18cf1823b1e32670bd1bce2ec4870055abdf8c7a200a536c77c07f58ce3cac48f255441480cff982c0d8a06001a8d39826c2c95e7666e79ed3da92fdf SHA512 112c7d83acdc40453a82f0ad76457aa1f5b467e11b8b545d60f1301738d8801c6de43a2d076937b01f2ab53aca38e4430a4bdbfb4dc0d606521d96e5b9a2b42d
EBUILD zeroconf-0.56.0.ebuild 1563 BLAKE2B 564a89a18f68fe349cb6072c9c8698dd106e6af1c767e379547a8c3b9a7535345a8cd4b21ae17210741ec88331c4853c822734c5bd149f086729c1e5cbf9408e SHA512 ad09350127528e9043a1115f6d12801f4fad416e692301eb1e0a8e5f3b291f2c43a24727c06be2ed87ae25596768aee0e953c0bf8e87433925de45afc2cee5b4
+EBUILD zeroconf-0.58.0.ebuild 1581 BLAKE2B 5f1970a90fb674289c45451864b89d9325b861e86a2fd221658c3be268f3718a22f7ff1a19553638a56fd1f3c39b46715d456bf893ff0677ec38cef11e74283f SHA512 dcdac362c0dc15d3cd814b3771e08d725290e543180a1fbe1496332c2a2775eda1d00015af97f504086ad9ea134373512220aa37d18ea0c91d157280a4a694f3
MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9
diff --git a/dev-python/zeroconf/zeroconf-0.58.0.ebuild b/dev-python/zeroconf/zeroconf-0.58.0.ebuild
new file mode 100644
index 000000000000..0e6281bc1d8a
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.58.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 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_{9..11} )
+
+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}]
+ $(python_gen_cond_dep '
+ >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]
+ ' 3.{9..10})
+"
+# the build system uses custom build script that uses distutils to build
+# C extensions, sigh
+BDEPEND="
+ >=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ 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
+ tests/test_core.py::Framework::test_launch_and_close_v4_v6
+ tests/test_core.py::Framework::test_launch_and_close_v6_only
+ tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
+
+ # fragile to timeouts (?)
+ tests/services/test_browser.py::test_service_browser_expire_callbacks
+ tests/utils/test_asyncio.py::test_run_coro_with_timeout
+ )
+
+ epytest -o addopts=
+}