Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zeroconf/
Date: Sat, 06 Aug 2022 13:09:35
Message-Id: 1659791363.487ddea48cbce1e68ffadb0f3bcb8522e7b1a1d4.arthurzam@gentoo
1 commit: 487ddea48cbce1e68ffadb0f3bcb8522e7b1a1d4
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 6 12:33:49 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 6 13:09:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487ddea4
7
8 dev-python/zeroconf: add 0.39.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/zeroconf/Manifest | 1 +
13 dev-python/zeroconf/zeroconf-0.39.0.ebuild | 51 ++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
17 index 003ea3cb6cd2..61fabf74b706 100644
18 --- a/dev-python/zeroconf/Manifest
19 +++ b/dev-python/zeroconf/Manifest
20 @@ -1,2 +1,3 @@
21 DIST python-zeroconf-0.38.6.gh.tar.gz 134795 BLAKE2B 839d59d7c46d9ab16145e37bb58acc7a71072b00507ee0ae8325fea9a3ebc0e567f9e257937675f8eaf44095c7449f96e6bc42b82d34f75a39cc87fd29be2766 SHA512 274db525751191b0188a4f00505c795420f975de3f714f84f2207271ff484bb5de1c881c0ed00b1ad3a6265d5d461519cf46041ab907026d9e6937844bbab6af
22 DIST python-zeroconf-0.38.7.gh.tar.gz 134866 BLAKE2B 060ffdc45d4ec8092cd278b99a74561fd1ea06aba3cdecadbd35c1c5e3f608befe3ced18009d8d64c5b37388ee57900b4b00a44c90d87923f259e798da5bb962 SHA512 a0ab90f30b843bc889daf95eab6d806a5e3fb4ffe5e3857c435f14a85de7b659b8386159f6428f05a34f2e3010f4582f7d3a55bbd6e6ede0008247821f666707
23 +DIST python-zeroconf-0.39.0.gh.tar.gz 135121 BLAKE2B 708f641934b1d155a464f532894e6f3ba3b83c57063b903eae23abcfaf76974920286a9ddcabc53d0211df21b247303c23b2ee36f78ccf809001395f0d1002a7 SHA512 401808d51b58905937b0c2f924bce6a9ae38f331f2faf7a0258bfcbc245ec618deaf1a707d22c47792d964a49a2036af5d2ab02438b001b228611a5855db897f
24
25 diff --git a/dev-python/zeroconf/zeroconf-0.39.0.ebuild b/dev-python/zeroconf/zeroconf-0.39.0.ebuild
26 new file mode 100644
27 index 000000000000..e803d214a211
28 --- /dev/null
29 +++ b/dev-python/zeroconf/zeroconf-0.39.0.ebuild
30 @@ -0,0 +1,51 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +
39 +inherit distutils-r1
40 +
41 +MY_P=python-zeroconf-${PV}
42 +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
43 +HOMEPAGE="
44 + https://github.com/jstasiak/python-zeroconf/
45 + https://pypi.org/project/zeroconf/
46 +"
47 +SRC_URI="
48 + https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz
49 + -> ${MY_P}.gh.tar.gz
50 +"
51 +S="${WORKDIR}/${MY_P}"
52 +
53 +LICENSE="LGPL-2.1"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
56 +
57 +RDEPEND="
58 + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
59 + >=dev-python/async-timeout-4.0.1[${PYTHON_USEDEP}]
60 +"
61 +BDEPEND="
62 + test? (
63 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
64 + )
65 +"
66 +
67 +distutils_enable_tests pytest
68 +
69 +EPYTEST_DESELECT=(
70 + # network
71 + tests/test_core.py::Framework::test_close_multiple_times
72 + tests/test_core.py::Framework::test_launch_and_close
73 + tests/test_core.py::Framework::test_launch_and_close_context_manager
74 + tests/test_core.py::Framework::test_launch_and_close_v4_v6
75 + tests/test_core.py::Framework::test_launch_and_close_v6_only
76 + tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
77 +
78 + # fragile to timeouts (?)
79 + tests/services/test_browser.py::test_service_browser_expire_callbacks
80 + tests/utils/test_asyncio.py::test_run_coro_with_timeout
81 +)