commit:     53480fd6bcc54475d28c4a387e427e80bc713db1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 27 02:53:56 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 03:10:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53480fd6

dev-python/zeroconf: Bump to 0.58.2

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

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

diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index 18d00f39ba4f..602476bd80b0 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -1,2 +1,3 @@
 DIST zeroconf-0.56.0.tar.gz 140060 BLAKE2B 
3199ebb995754f4c7a2b4881564664d95d2483f6307cd898ec1beb7e12fed0bc3ce501a0f4732a3f1e019db1641d08804d2f38ad769277c95a41b8c266860126
 SHA512 
8ba2cabc58ae5586b6e89f2771e4483a488bf4ef5201fe8684befc2930d34f96f5fd07040da7ec850f9450b2166ad22ef571821a56e33222cf5708c11f5f4aba
 DIST zeroconf-0.58.0.tar.gz 140418 BLAKE2B 
4e080fb18cf1823b1e32670bd1bce2ec4870055abdf8c7a200a536c77c07f58ce3cac48f255441480cff982c0d8a06001a8d39826c2c95e7666e79ed3da92fdf
 SHA512 
112c7d83acdc40453a82f0ad76457aa1f5b467e11b8b545d60f1301738d8801c6de43a2d076937b01f2ab53aca38e4430a4bdbfb4dc0d606521d96e5b9a2b42d
+DIST zeroconf-0.58.2.tar.gz 140567 BLAKE2B 
674f5d3cec4d1f5bf7c185e9224e8e5b3d21018898720461e670c1d65708c06855325b0fa8d20e822b3a7d35b2a17771b3c635f3cb60ee1e3d62c0d84be1bc02
 SHA512 
2a32a33fa1f66a3baa51a47d8c1c2679c0176ae1e9acbffa563d044679b842fd62d37d7813ca87b8b9bff719fd5e977d7df168310a57d0aa604f643150dbebc5

diff --git a/dev-python/zeroconf/zeroconf-0.58.2.ebuild 
b/dev-python/zeroconf/zeroconf-0.58.2.ebuild
new file mode 100644
index 000000000000..0e6281bc1d8a
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.58.2.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_{9..11} )
+
+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
+
+python_test() {
+       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
+               tests/test_core.py::Framework::test_launch_and_close_v4_v6
+               tests/test_core.py::Framework::test_launch_and_close_v6_only
+               
tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
+
+               # 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