commit: 6e4deb27722433304c453cd5d89e8e950b8f9601 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Sep 14 14:52:59 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Sep 14 15:39:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4deb27
dev-python/zeroconf: Bump to 0.112.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.112.0.ebuild | 56 +++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index e3ad3257dc4a..67892e7192fc 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,4 +1,5 @@ DIST zeroconf-0.108.0.tar.gz 154905 BLAKE2B c5ec272233faca801f30a0699a71a410f29d13565890ef25eb3ad164914fbe7a9f282c082cfe8fef3c47a72e92b5e1e33b6ccaefb96b30d3d2cb82dc624ec072 SHA512 a5206b548a8d32ac082e6aaff63437f488d5cac4200b24d2a8c9343e6bc859afb237d6e8003c569174c6c91ed2bba65044f37f730fb4d40664be70691d84d4ee DIST zeroconf-0.111.0.tar.gz 155788 BLAKE2B c166a2c1f363bba8feb5ab2098715bdc0bf3aecc8fad13c890d9737240deede3d241b9da6e7924ec8739118aeea1c447d4b60d0ccb0f2bfdaf96891da6db0b92 SHA512 23a53f9f14b69ebe79e261c8f065be4ab7b1d4bd4904446d9670390c3723fe052577ce7f57e455670e04ff7aa95a87d1b4c90fea2eeb0c3f2eaf214263ce76d5 +DIST zeroconf-0.112.0.tar.gz 155715 BLAKE2B ce19e2d7798f3bc4e6e3ae5b6d319594f6941b9ea5b383fff1bc072ca86a62edc09bfa37caf67fd5dee492df2e704ccb383c7dea180c94514152b262446a99c0 SHA512 855da760f60ecace67722cf00ef0b8185907765a08dd30fb6796fc2efb9d233b8b9be12f2b69898efda041343647934b59b5b3ef57a457ba094d67349efad57c DIST zeroconf-0.82.1.tar.gz 147915 BLAKE2B 608d077e042f1b74f25f44b5b64350782944d0f4da96bb17a32bf9cbedfe5c1b751a8731a65c5cac86cc458425f2e38d0549317e7216c577567d0852a7a6c7ed SHA512 a02e9b1c6ce976de815f902f5607d6b0fecba4abc403234cbeeeef1abe450c3894e6c117bb554ba76c27250c748b36b862abb8ed059f0da8d31e5b10e5f1c2e1 DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a diff --git a/dev-python/zeroconf/zeroconf-0.112.0.ebuild b/dev-python/zeroconf/zeroconf-0.112.0.ebuild new file mode 100644 index 000000000000..b3ff07347a6d --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.112.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= +}