commit:     3564168e0d18b654183a21cf4405f50df0a39b96
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 12 06:55:52 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 12 06:57:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3564168e

dev-python/zeroconf: add 0.123.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index c65b04947167..b1b0963a31b5 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -3,3 +3,4 @@ DIST zeroconf-0.120.0.tar.gz 157789 BLAKE2B 
87971aa98c9c9401277059baee0f6a615c3e
 DIST zeroconf-0.121.0.tar.gz 158293 BLAKE2B 
fc0f2a2a2ac5df656d96048f350eb5d51e5ee6c347d73a1d3baa23a85f222e034d3800b6b9b15775b5da7c6e1c40bf2c42df70e9454716ef5bdc04c2b8791d39
 SHA512 
1ab2816f8d492f1b11a7ebc7d024ddf81db84397bad897e3fff539552a50b7fdcacf2d1df865dd212bf39245bd4ec5a5371971b4fc57b75f46879563e5fc5c0f
 DIST zeroconf-0.122.0.tar.gz 158314 BLAKE2B 
0c580b0f447c1fa38635a4687a6b1bfd1146b61841ce013c77d659871234e51afa9a8ac5abd08b3d35527ce2a2a2bdc8ed4a4f3273d32f74bda344f0b2411ab5
 SHA512 
18fc8e2d89feb219b37f791ffdaf92e2a1d9f6d1d9ec0fe7122bbec0491d7b1b403d89fee7b12e6c24ee8dfa0da887243eb52f6921dc81dcced541f617a58894
 DIST zeroconf-0.122.3.tar.gz 158519 BLAKE2B 
f62d36234c4f1cd988bbf8b1d1e6f706498bc4c745ef1c60c5346db3b550aa1c6f4dccda9705464dca5136fd19958eac946deb04e37b99aaf41fef8dafc40683
 SHA512 
3f81b9678cc71a3444d1240609d48ddb4c6e5fa0d144a8241fab3e7df71e79508a1537bc504c6d52018a11bbba24477b90302013ebe9d0663e5b5aeb330b333c
+DIST zeroconf-0.123.0.tar.gz 158902 BLAKE2B 
d940e9558e781d614d623701e8baf3c9a2feb292bcb0ad8241fc28e1bdf103a154cf178b37dfc9f9ae1805ee6e6d1601cd41574755fe9849243832c3bd57821e
 SHA512 
65947861a76776a1e34807ca5b0570f93c026b8fa36456ae6bfdec747c484107ba2c2e12712ce1a81a05c6c817215f7f72aa40a48e6634f1b1be886349f8c73f

diff --git a/dev-python/zeroconf/zeroconf-0.123.0.ebuild 
b/dev-python/zeroconf/zeroconf-0.123.0.ebuild
new file mode 100644
index 000000000000..b3ff07347a6d
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.123.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=
+}

Reply via email to