commit:     2f1fb320d98dc27450d1ebfb5ccd720d06f31418
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 04:11:13 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 04:11:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f1fb320

dev-python/zeroconf: Bump to 0.87.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zeroconf/Manifest               |  1 +
 dev-python/zeroconf/zeroconf-0.87.0.ebuild | 56 ++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index 720e923ffa47..b636d7c41496 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -8,3 +8,4 @@ DIST zeroconf-0.80.0.tar.gz 147419 BLAKE2B 
04f93331a667863f8ac5a40d156468d9ffceb
 DIST zeroconf-0.81.0.tar.gz 148284 BLAKE2B 
103ae54a20b8d23bac94dcd2d48a05c567158cca6617344e90c8f0676a21262e2ee82eceaa236edb998409f3e5385ad8d8f091c1b5ed100a6196de3586f1ffff
 SHA512 
66d2a9ba9b12f91b90c023ba935bdcae1a09c68026702664d5f7d40b392820ee4614be23e0bf6688230da86963b61f6d5505dc38787ded4cade48f52f13d4e81
 DIST zeroconf-0.82.1.tar.gz 147915 BLAKE2B 
608d077e042f1b74f25f44b5b64350782944d0f4da96bb17a32bf9cbedfe5c1b751a8731a65c5cac86cc458425f2e38d0549317e7216c577567d0852a7a6c7ed
 SHA512 
a02e9b1c6ce976de815f902f5607d6b0fecba4abc403234cbeeeef1abe450c3894e6c117bb554ba76c27250c748b36b862abb8ed059f0da8d31e5b10e5f1c2e1
 DIST zeroconf-0.86.0.tar.gz 149030 BLAKE2B 
d2ea241bcd1416517d8ac9e98c205c956419bc4d33492f8044fe1819458166cd20acb83e56b0e05c69feb473b026a277bc739541195bc2df8ee0e0b748c10c94
 SHA512 
1b4260ff9498d0a6504960162bd1d75485e83e816c7cb063d71857c77edae40a580d841b8d65940cfd2fe47f0dfa3f6e96f5b907e9c7b626e7ae9bc365219dc8
+DIST zeroconf-0.87.0.tar.gz 149844 BLAKE2B 
ef946a08b97493e536560178cc6516d86c8315b8db16d59867e7979d6f35a514f27d6cde401a7de5ec23b20f37f35ddde59ce6addd545d7640e3f15560859637
 SHA512 
cec7ea7e9bbac068b6ed6528a284de29c88ba0d4fc0ccf077b6520a4c0ea38964dc6971fdd34af3cf273dbcf1c9c34aac43d92e40217b0d192a58ff6610314e0

diff --git a/dev-python/zeroconf/zeroconf-0.87.0.ebuild 
b/dev-python/zeroconf/zeroconf-0.87.0.ebuild
new file mode 100644
index 000000000000..76b5818dc18d
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.87.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[${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=
+}

Reply via email to