commit:     076d202885e5ca747ca9845164ac5e13870d9840
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  3 03:08:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 04:20:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076d2028

dev-python/zeroconf: Bump to 0.128.0

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

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

diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index 3b13c32066f4..67971bd6cb2f 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -1 +1,2 @@
 DIST zeroconf-0.127.0.tar.gz 161143 BLAKE2B 
ee560845016ab1de0b065aaae8cd6791ddc847417241c7f2477301948945e938a2ff68206d30166a6049a7ad5919d15bcc6acac9fd9d33d17d5e77154b9f9c0c
 SHA512 
7c8aef766dcc0f3411c4230decd5a0af18ae795e0e4253be2dc69af6ba314271a336807ace1458bb0a081455afa8cc9d8769413bbc97f024e3d3e877cd1e6f2f
+DIST zeroconf-0.128.0.tar.gz 161199 BLAKE2B 
7526c6f4a242e7ab0035ea3f2b29b3b43bbb6235950e7b2899472986e4186584275a39e6341c661203499528f47b2d255d4df3e2e092b0c864a1cf6b5c09a379
 SHA512 
d058828691a97c7634319fedcf688401d01ae372521d48b3749570975a5afbde839d14a4e34463c20fd267d006bf708c098a4f180844398a64fd96d1538edfa4

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