commit: 87501f822c1a76fa8749b891c371d71391b55dc7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jun 19 04:44:04 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jun 19 04:57:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87501f82
dev-python/zeroconf: Bump to 0.69.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.69.0.ebuild | 56 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 6c9f1439cd9b..ae6128dc3cdb 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -4,3 +4,4 @@ DIST zeroconf-0.64.0.tar.gz 142520 BLAKE2B b26c728519b7962c9620f857654e9bd347b1d DIST zeroconf-0.64.1.tar.gz 142617 BLAKE2B 100243491aa85b9be8a7664ad9de6f1b202d02fbc2fd3be6116cf1c00c8885ad9fa00c784a036b27338ddb09f6a29b59a056fc610bcf9283cb9fce79110fa07b SHA512 9fa217811bea4b8597bfa4cdca40afd9fdd6920a6499d5b7f61fe78ff09106662f3cbc2381dfbfb541a330ecfa21a751e4bf455f19ba7433b0ebf43da1f21cce DIST zeroconf-0.66.0.tar.gz 142962 BLAKE2B 7cc625ea71e00a4e1f47589de1e8168c6299396f1f50d5ba6b530040a0d97ce40b1e858bb76eaaa3e8796c5cc793d819f0b31d693340f2ba5f26cf17d8db3f28 SHA512 544bccaf1acf2a3861c3e0131836f4ccd5d5aadc7222cf34f02ccae61abf32cf7430925698f13d14cf16a62ea9875df6e37fc5e93abfb02dbed79cb1e2e47fe3 DIST zeroconf-0.68.0.tar.gz 143138 BLAKE2B fc0bdd42245339abf4a283a4f3dba9b820c02074fb78066d9867bf7cdd06c17f2cc5452fdfe3dab93bd3427d800b4901a6cb398593c5beb2495d89b240f3df13 SHA512 6f72391e9486debdb588c3f4e262530b584be967bcb524758e025035aec53ed49fbcee8f9e2c0caaf9a94f2fc5b9c19e5d88e83f1ca909be8d2049f8e2b4e43b +DIST zeroconf-0.69.0.tar.gz 143434 BLAKE2B 1c80eff0395167879b0d782d1b0fc5f6102a95271682212de11983bd523565622b52ec13591445b4e4015fffa6a94d6b023d7addb6f05b4c1dfd65ce4181d9f5 SHA512 6f9799fe7810cf5357e378435308d87eeef1279768581f1704201f2aa7683a324b4bae697099259b3a85012a8de412bf892aa264322349b2f98d676b392482c2 diff --git a/dev-python/zeroconf/zeroconf-0.69.0.ebuild b/dev-python/zeroconf/zeroconf-0.69.0.ebuild new file mode 100644 index 000000000000..547370f5f4c2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.69.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.{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= +}