commit: b2af0ad7e5c9fe122e2a820acf256269456802d9 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sun Oct 1 17:50:54 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sun Oct 1 18:02:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2af0ad7
dev-python/zeroconf: add 0.115.1 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.115.1.ebuild | 56 +++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 26f60b47486d..3b1f66712aad 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -3,4 +3,5 @@ DIST zeroconf-0.112.0.tar.gz 155715 BLAKE2B ce19e2d7798f3bc4e6e3ae5b6d319594f694 DIST zeroconf-0.113.0.tar.gz 155892 BLAKE2B 4de635a601349d2db2e2a0e72c0a1a130e3f9590bde2b1adfd603e758a17362a7588e90dfeeed91841317c0bc977f51ca176fa4e94734641ca8249436e78844c SHA512 e9000ea6d2787598b3203c79446c0f5f5efc833abcc2b625542850383e9905be023c89938adace8f7c06d46fb88263bb556281f0929fb1d5fa822dd55cbe9751 DIST zeroconf-0.114.0.tar.gz 156001 BLAKE2B b3bc076746f5d510ba655dc5de748e7ff7cb0c0b4db371369a0b886828d0721b92b47d3f8c4cf74135aa1642ffef5e4953c12160060a25b714072f3c50215d63 SHA512 e03ac6c6861112e4164a2f20cf1fe2492c39e636c57673b1a2a65d0ac67abfa24739662e27a9628b06add8e5f38554c53b8612c8ff685ed0ad8c97dab51e6250 DIST zeroconf-0.115.0.tar.gz 156238 BLAKE2B 5f32c06e247bff5bfbd0ea53588458e8da6e94a2ee0a33627de1195c6e34fffee7c403cc8c6e234f4ab91cde10af50b3714b6493e5ae33f0523fdb8fd2f8f6bc SHA512 95d0c106e4a5bd5a25d0c91224642ada7cefbe16e3a4fbfff7c31b03c7359d34160c120adb9d4c06fb50be2cb20e298a1e775cd8c7b62f7207d04be59f49f6d8 +DIST zeroconf-0.115.1.tar.gz 156318 BLAKE2B 1322b3ccf7d4d749642bb813b1655aefb410c1e953b89edb6a07196031e8a8fb8cfc923fd5d4a7149b7b25e5a16612ec86c6f353caf326d6cc3cff9a6881f7a3 SHA512 786e0dc1e7a321e37e491220f7aa83c5678ef7396bcf844d4928433fa7a1f43d1c5bb4dca10372ea982de5fb7640f3f8bb4b304ad59f9c6b4017c594bc54af61 DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a diff --git a/dev-python/zeroconf/zeroconf-0.115.1.ebuild b/dev-python/zeroconf/zeroconf-0.115.1.ebuild new file mode 100644 index 000000000000..b3ff07347a6d --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.115.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-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= +}