commit: 5901fb5992d4c08eff2dcbdc57b5a0a580c9f130 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jul 24 03:21:12 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jul 24 03:33:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5901fb59
dev-python/zeroconf: Bump to 0.71.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.71.3.ebuild | 56 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index c3ec2380a8e0..c8d0c9c45c15 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1,4 @@ DIST zeroconf-0.69.0.tar.gz 143434 BLAKE2B 1c80eff0395167879b0d782d1b0fc5f6102a95271682212de11983bd523565622b52ec13591445b4e4015fffa6a94d6b023d7addb6f05b4c1dfd65ce4181d9f5 SHA512 6f9799fe7810cf5357e378435308d87eeef1279768581f1704201f2aa7683a324b4bae697099259b3a85012a8de412bf892aa264322349b2f98d676b392482c2 DIST zeroconf-0.70.0.tar.gz 143727 BLAKE2B dc7d44e69ebfad71519acfe32ea91dc165b9813c0d16feb4f663845fe532f0b696a2d384a2b5a7091c3b759d484b6d80275a8e70dfa0b9605909bf2758599a1d SHA512 37dc1fde285b09fa2654de685a1dbbbcf35834147ff2f7115ccf569e404d92ff116a5b437a53ef6f40252641ad810cfd862e2d5db6cd76ed2120fb658b50c001 DIST zeroconf-0.71.0.tar.gz 143961 BLAKE2B 5a51242c148b095c83ef36abf2ba70d4a860e412cd4fdd75293505969397be29577e69e37fff2696ece6300e3b2638d8c2e95db3c7a5aadf78695ddc2adf17ab SHA512 b417a030984bbd9931612b09b44e8be32322d9da01f7e1e8248f4c8054a15a2245db485d71b7a2e57a71a9ec78dd63cc866b4d4f970a9de7b5407936da75773e +DIST zeroconf-0.71.3.tar.gz 144202 BLAKE2B f76b21c3d13f7f1144fb1f1ac5681b3e46fa0f405b1890e2bcec878c5ff417a36ff4b6c4d1dfbb25ca46e2b8b10d55c69670ae248eef07317fb2f4ce05df64c2 SHA512 2745007b001171011e1a889a8d7b39421327e6958cd0aaabc5f68a1317180f50974d3177b8099332a0f214aa8b31320815ee4176ad5f4145145261b88d5ff04f diff --git a/dev-python/zeroconf/zeroconf-0.71.3.ebuild b/dev-python/zeroconf/zeroconf-0.71.3.ebuild new file mode 100644 index 000000000000..547370f5f4c2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.71.3.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.{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= +}