diff options
Diffstat (limited to 'dev-python/zeroconf')
-rw-r--r-- | dev-python/zeroconf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zeroconf/zeroconf-0.128.0.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index d020d725f8bd..4b715f8a5c42 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1,5 @@ DIST zeroconf-0.127.0.tar.gz 161143 BLAKE2B ee560845016ab1de0b065aaae8cd6791ddc847417241c7f2477301948945e938a2ff68206d30166a6049a7ad5919d15bcc6acac9fd9d33d17d5e77154b9f9c0c SHA512 7c8aef766dcc0f3411c4230decd5a0af18ae795e0e4253be2dc69af6ba314271a336807ace1458bb0a081455afa8cc9d8769413bbc97f024e3d3e877cd1e6f2f +DIST zeroconf-0.128.0.tar.gz 161199 BLAKE2B 7526c6f4a242e7ab0035ea3f2b29b3b43bbb6235950e7b2899472986e4186584275a39e6341c661203499528f47b2d255d4df3e2e092b0c864a1cf6b5c09a379 SHA512 d058828691a97c7634319fedcf688401d01ae372521d48b3749570975a5afbde839d14a4e34463c20fd267d006bf708c098a4f180844398a64fd96d1538edfa4 EBUILD zeroconf-0.127.0.ebuild 1405 BLAKE2B b167a28cf099dd1aaad147621c687841be3874cb7ac7e7f4df1c006a68d19985de520845aded6f9054f77bd41676d3d93b61a64298d78968eaad921594da806d SHA512 2acadec24d9e672d1bccc1ac39998ca2b6dde0c174ea6e10209e942c8981e6a143c9676ccb62436749e180c2eeec70594f73093189a177b81e10dc1d18f712c9 +EBUILD zeroconf-0.128.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9 diff --git a/dev-python/zeroconf/zeroconf-0.128.0.ebuild b/dev-python/zeroconf/zeroconf-0.128.0.ebuild new file mode 100644 index 000000000000..b3ff07347a6d --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.128.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_{10..12} ) + +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.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${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 + ) + + epytest -o addopts= +} |