Skip to content

Commit 4300610

Browse files
dev-python/zeroconf 0.133.0
1 parent 1d0c54e commit 4300610

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

dev-python/zeroconf/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
DIST zeroconf-0.132.2.tar.gz 170698 BLAKE2B 7c76e2a00571a19b23f288dc1183da6ce274ebdf3f64f323e282f444011f7cbf90a63e02a991936a2cfa2d227568b31444b8f61f1110588638d4e888dd8749a6 SHA512 686cdfd2f32c6bad03fb5fd287b1e22f2f0b5099a8971dcff1d9fca7e63bc8069b195feb97be710c20fae8c524ab92143e395cdfec26ede103295d1aa4d32a8f
2+
DIST zeroconf-0.133.0.tar.gz 171328 BLAKE2B 2a32186bf17120d2448383af252a4a47e83c5900187e841974fa7b1fc4ae70b1227cf5baf556f7d24650f75e6f27a6a4a5b4f2f797b47c55d5016d20a1263c1e SHA512 06ec5f4face3578a16a38ebd750c9f74cc38932e840c8615d597807a3b5781adf9bd5bf2f8b438df165993de4f429c45efe9f4751baf7d00b4ebabc348984b41
23
EBUILD zeroconf-0.132.2.ebuild 1383 BLAKE2B 0850c4465bf048f6ee208b4a4d9d8495300885e4aa98664680e157c8e01951f23b72a83ed7fda5bc3baf61cba395f95f769ae96cebb7842931d7c6bb2ad65803 SHA512 7731b6a188430354b6da785c214e28870acec6616afb212cadba14db1c00ff9510b19d1327b00e135010e84f5391e0b2c29de26d59043b5be77197159496cc27
4+
EBUILD zeroconf-0.133.0.ebuild 1383 BLAKE2B 0850c4465bf048f6ee208b4a4d9d8495300885e4aa98664680e157c8e01951f23b72a83ed7fda5bc3baf61cba395f95f769ae96cebb7842931d7c6bb2ad65803 SHA512 7731b6a188430354b6da785c214e28870acec6616afb212cadba14db1c00ff9510b19d1327b00e135010e84f5391e0b2c29de26d59043b5be77197159496cc27
35
MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_EXT=1
7+
DISTUTILS_USE_PEP517=poetry
8+
PYTHON_COMPAT=( python3_{11..13} )
9+
10+
inherit distutils-r1 pypi
11+
12+
DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
13+
HOMEPAGE="
14+
https://github.com/python-zeroconf/python-zeroconf/
15+
https://pypi.org/project/zeroconf/
16+
"
17+
18+
LICENSE="LGPL-2.1"
19+
SLOT="0"
20+
KEYWORDS="amd64 arm arm64 x86"
21+
22+
RDEPEND="
23+
>=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
24+
$(python_gen_cond_dep '
25+
>=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]
26+
' 3.10)
27+
"
28+
# the build system uses custom build script that uses distutils to build
29+
# C extensions, sigh
30+
BDEPEND="
31+
>=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
32+
>=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}]
33+
test? (
34+
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
35+
)
36+
"
37+
38+
distutils_enable_tests pytest
39+
40+
export REQUIRE_CYTHON=1
41+
42+
python_test() {
43+
local -x SKIP_IPV6=1
44+
local EPYTEST_DESELECT=(
45+
# network
46+
tests/test_core.py::Framework::test_close_multiple_times
47+
tests/test_core.py::Framework::test_launch_and_close
48+
tests/test_core.py::Framework::test_launch_and_close_context_manager
49+
50+
# fragile to timeouts (?)
51+
tests/services/test_browser.py::test_service_browser_expire_callbacks
52+
tests/utils/test_asyncio.py::test_run_coro_with_timeout
53+
)
54+
55+
epytest -o addopts=
56+
}

0 commit comments

Comments
 (0)