re-add zeroconf-0.70.0 (from main)

This commit is contained in:
Andreas Billmeier 2023-10-03 16:31:09 +02:00 committed by Andreas Billmeier
parent 357f513937
commit 3fda36fc08
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 58 additions and 0 deletions

View File

@ -1,3 +1,5 @@
DIST zeroconf-0.56.0.tar.gz 140060 BLAKE2B 3199ebb995754f4c7a2b4881564664d95d2483f6307cd898ec1beb7e12fed0bc3ce501a0f4732a3f1e019db1641d08804d2f38ad769277c95a41b8c266860126 SHA512 8ba2cabc58ae5586b6e89f2771e4483a488bf4ef5201fe8684befc2930d34f96f5fd07040da7ec850f9450b2166ad22ef571821a56e33222cf5708c11f5f4aba
DIST zeroconf-0.70.0.tar.gz 143727 BLAKE2B dc7d44e69ebfad71519acfe32ea91dc165b9813c0d16feb4f663845fe532f0b696a2d384a2b5a7091c3b759d484b6d80275a8e70dfa0b9605909bf2758599a1d SHA512 37dc1fde285b09fa2654de685a1dbbbcf35834147ff2f7115ccf569e404d92ff116a5b437a53ef6f40252641ad810cfd862e2d5db6cd76ed2120fb658b50c001
EBUILD zeroconf-0.56.0.ebuild 1563 BLAKE2B 564a89a18f68fe349cb6072c9c8698dd106e6af1c767e379547a8c3b9a7535345a8cd4b21ae17210741ec88331c4853c822734c5bd149f086729c1e5cbf9408e SHA512 ad09350127528e9043a1115f6d12801f4fad416e692301eb1e0a8e5f3b291f2c43a24727c06be2ed87ae25596768aee0e953c0bf8e87433925de45afc2cee5b4
EBUILD zeroconf-0.70.0.ebuild 1418 BLAKE2B 1fc712d83e2326d78abf0483f0362dcf7df3c8259db1fb5bc73d795dc5dccce0fa7515538f77cf3798dbee86507b0bb8aef4ab617ee38c6b92dfe2acb5b15ac7 SHA512 f64e04ba2ffd114b94e7cb7466aa9127eb958233991e196dca09bc95bac4e36cce046285d8b0425107506badc99b5fb6d076b4c361743a2594cae53f4a9ce35a
MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9

View File

@ -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.{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
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=
}