commit:     98aee8b57043df44858af50d9975dd831ce3a5a5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  4 02:24:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug  4 02:41:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98aee8b5

dev-python/zeroconf: Bump to 0.74.0

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

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

diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index deb6e4bbc07c..d3c0c203b52e 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -1,3 +1,4 @@
 DIST zeroconf-0.71.4.tar.gz 144314 BLAKE2B 
a44062474ba00be0549068811f4c64f353cea1dbd7b94d8d2dcf3c3047d1b11e81f546f41dcc4547cfe238173662c68df4c3cf7f6c26ba02f817d1eb3524a9f0
 SHA512 
dd2373f2f5dd29a02c3784c1b46d0b9c8f9239b925303cfb1694cbb83983030da2ccc9574d6102d3b5045a3f7707e2af1ba53abbfdec75fb4f9e679fb8dee3eb
 DIST zeroconf-0.71.5.tar.gz 144647 BLAKE2B 
be89e804952c327720c546b4264a464ab2b0ca9ac378e59c45bc114f2ea74d66a136c7d3852bd61a2eea88de9733ab25cf9b8945e22d48bf674d9cd566f206d9
 SHA512 
12f397b10bfa909fe2dc60be4f01bfbbb0111eab00196cce8b8fda8ee2b0cdb1472186255bbfec7fe793f5d580f40bd2d07851e8d2bea3b4e0b11765d7b34365
 DIST zeroconf-0.72.0.tar.gz 144786 BLAKE2B 
7b0a53bf76a21c716e1d4762e1ccfd0df9b44f02e4709695c5b39ae4de5dc0b1332c65a8f71459df0fb9b161c5aeab9fb151d9ce45fd9c990b24609253f3d771
 SHA512 
0a77f60dfff76172a0dbe798717a59b6211f41b46468b34b809a4b35861eb10f4399e238c2976622da0856cd715ef39cf2bb43cd051056d56925546302f2fef7
+DIST zeroconf-0.74.0.tar.gz 145447 BLAKE2B 
e76a88d87cb8577b776fe5afc08198ce5427da398cfcb7fea6fb778be5907b156c633fc695daccceb9988866cbcd56584a418006fa64fc162e7831886d5cdaa2
 SHA512 
8629befd78470206b9238810d083e91adcc575ec2ef89cc51c433de89fb18723cc43ef45550dbec184a63f1c191023cf818e1cf8eb8b49b0de68e174d4ac4def

diff --git a/dev-python/zeroconf/zeroconf-0.74.0.ebuild 
b/dev-python/zeroconf/zeroconf-0.74.0.ebuild
new file mode 100644
index 000000000000..547370f5f4c2
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.74.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.{9..10})
+"
+# the build system uses custom build script that uses distutils to build
+# C extensions, sigh
+BDEPEND="
+       >=dev-python/cython-0.29.32[${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