commit:     481e9e978dbc5089f2713297a5a0d4c1061d7172
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May  4 07:13:53 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May  4 08:06:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481e9e97

dev-python/zeroconf: Bump to 0.62.0

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

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

diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index c2bca14d1256..a92ed425048e 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -2,3 +2,4 @@ DIST zeroconf-0.56.0.tar.gz 140060 BLAKE2B 
3199ebb995754f4c7a2b4881564664d95d248
 DIST zeroconf-0.58.0.tar.gz 140418 BLAKE2B 
4e080fb18cf1823b1e32670bd1bce2ec4870055abdf8c7a200a536c77c07f58ce3cac48f255441480cff982c0d8a06001a8d39826c2c95e7666e79ed3da92fdf
 SHA512 
112c7d83acdc40453a82f0ad76457aa1f5b467e11b8b545d60f1301738d8801c6de43a2d076937b01f2ab53aca38e4430a4bdbfb4dc0d606521d96e5b9a2b42d
 DIST zeroconf-0.58.2.tar.gz 140567 BLAKE2B 
674f5d3cec4d1f5bf7c185e9224e8e5b3d21018898720461e670c1d65708c06855325b0fa8d20e822b3a7d35b2a17771b3c635f3cb60ee1e3d62c0d84be1bc02
 SHA512 
2a32a33fa1f66a3baa51a47d8c1c2679c0176ae1e9acbffa563d044679b842fd62d37d7813ca87b8b9bff719fd5e977d7df168310a57d0aa604f643150dbebc5
 DIST zeroconf-0.59.0.tar.gz 140602 BLAKE2B 
71d7cb35712a85be42333ec5f6d28fa45572757bd2e490019aeb7e1dcb87ad274ac4055396bea8640362ab9d8a8a692a56c47c2ef8da19fc92c8c49ba27eb36f
 SHA512 
9303630dba191c60f81d7f0e65f9272e92d544155991ae4ff9c7239281dc06c9f0424a4d4a8e31e7dccb22d0c6d008b6c08e55e5da456125a70efc151704208d
+DIST zeroconf-0.62.0.tar.gz 141269 BLAKE2B 
17efd98394155e415cc9b9b6ff7b2ec6d702613a38e4af8d8e168155a2ecef20f16d4864dc2c62833c9d186d937eca9a5b25846efdc0c21d7bf29f1d911228ca
 SHA512 
d923f23af59dfa09977ec45507c8a02d68a49077652a3fe7d8f23a62e45c525bb431ee5a82c51012d8ba77a7285eaae963a84f0727110780392b0fb7c9966038

diff --git a/dev-python/zeroconf/zeroconf-0.62.0.ebuild 
b/dev-python/zeroconf/zeroconf-0.62.0.ebuild
new file mode 100644
index 000000000000..29801ba74dbb
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.62.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..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