From d5ea09f2f0287a2408972783c11158a62ed5c37c Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 23 Aug 2023 06:03:31 +0200 Subject: dev-python/zeroconf: Bump to 0.82.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.82.1.ebuild | 56 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-python/zeroconf/zeroconf-0.82.1.ebuild (limited to 'dev-python/zeroconf') diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 7a08beccf644..a4eb14161241 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -6,3 +6,4 @@ DIST zeroconf-0.76.0.tar.gz 146204 BLAKE2B aaa6e6f3c9b1f8eeb837d03178b131a001fed DIST zeroconf-0.79.0.tar.gz 147440 BLAKE2B fb0fb75a90a3c33dd0dfdaed55a54bcf8c58de55d04d81f94c3bc51680cd8d146cf9e6b95621268c384b92016233887096c34921aa3805d8cdde782cf6516863 SHA512 242bcf5af958edb53989e1100c0f0eb0cbeed388f4e43363021c81c02ce223c5dbda63ef389e16d5246067cd8a450b187fa2df8f782e5d190a8061e2d8dba348 DIST zeroconf-0.80.0.tar.gz 147419 BLAKE2B 04f93331a667863f8ac5a40d156468d9ffceb010220c989b801b296fa5ad160660b2c34892b960e57f2876c823f236d91b61fe672e712e50238efe34d2c28721 SHA512 72f3d7c00474a8d31d69b6d3c5c1408cd6b4ceb4b4a6d6c80e8dbd51f90e0e9897734fb80e6b1f3cf744d2658102c58e051db52c42b89e29dc0f5fc870c08227 DIST zeroconf-0.81.0.tar.gz 148284 BLAKE2B 103ae54a20b8d23bac94dcd2d48a05c567158cca6617344e90c8f0676a21262e2ee82eceaa236edb998409f3e5385ad8d8f091c1b5ed100a6196de3586f1ffff SHA512 66d2a9ba9b12f91b90c023ba935bdcae1a09c68026702664d5f7d40b392820ee4614be23e0bf6688230da86963b61f6d5505dc38787ded4cade48f52f13d4e81 +DIST zeroconf-0.82.1.tar.gz 147915 BLAKE2B 608d077e042f1b74f25f44b5b64350782944d0f4da96bb17a32bf9cbedfe5c1b751a8731a65c5cac86cc458425f2e38d0549317e7216c577567d0852a7a6c7ed SHA512 a02e9b1c6ce976de815f902f5607d6b0fecba4abc403234cbeeeef1abe450c3894e6c117bb554ba76c27250c748b36b862abb8ed059f0da8d31e5b10e5f1c2e1 diff --git a/dev-python/zeroconf/zeroconf-0.82.1.ebuild b/dev-python/zeroconf/zeroconf-0.82.1.ebuild new file mode 100644 index 000000000000..76b5818dc18d --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.82.1.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[${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= +} -- cgit v1.2.3-65-gdbad