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: Tue, 06 Sep 2022 17:54:44
Message-Id: 1662486867.6478ee3360972c5fac5e6f1d048f1b3dcb21dd37.arthurzam@gentoo
1 commit: 6478ee3360972c5fac5e6f1d048f1b3dcb21dd37
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 16:50:50 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 17:54:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6478ee33
7
8 dev-python/zeroconf: add 0.39.1
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.1.ebuild | 51 ++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
17 index 61fabf74b706..966bcb242f32 100644
18 --- a/dev-python/zeroconf/Manifest
19 +++ b/dev-python/zeroconf/Manifest
20 @@ -1,3 +1,4 @@
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 +DIST python-zeroconf-0.39.1.gh.tar.gz 135252 BLAKE2B 82efa3e39b6e18b9d73b45958190c1d76978231842c1f61ff4519b9a763fb2c1564dae9c0b1d31109e291acc966127cfae9fa02400f1695e97dcc1b0e5a509f7 SHA512 3e1bc4bd48b77bce711f8b49b9cdce1769d7af72094c9ebc161ecb833fe90c7bd36ec5b9fc35c524ddd8c30a67af5937f188c81cf3a251d80c0e71f4b7c3add7
25
26 diff --git a/dev-python/zeroconf/zeroconf-0.39.1.ebuild b/dev-python/zeroconf/zeroconf-0.39.1.ebuild
27 new file mode 100644
28 index 000000000000..e803d214a211
29 --- /dev/null
30 +++ b/dev-python/zeroconf/zeroconf-0.39.1.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..11} )
39 +
40 +inherit distutils-r1
41 +
42 +MY_P=python-zeroconf-${PV}
43 +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
44 +HOMEPAGE="
45 + https://github.com/jstasiak/python-zeroconf/
46 + https://pypi.org/project/zeroconf/
47 +"
48 +SRC_URI="
49 + https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz
50 + -> ${MY_P}.gh.tar.gz
51 +"
52 +S="${WORKDIR}/${MY_P}"
53 +
54 +LICENSE="LGPL-2.1"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
57 +
58 +RDEPEND="
59 + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
60 + >=dev-python/async-timeout-4.0.1[${PYTHON_USEDEP}]
61 +"
62 +BDEPEND="
63 + test? (
64 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +distutils_enable_tests pytest
69 +
70 +EPYTEST_DESELECT=(
71 + # network
72 + tests/test_core.py::Framework::test_close_multiple_times
73 + tests/test_core.py::Framework::test_launch_and_close
74 + tests/test_core.py::Framework::test_launch_and_close_context_manager
75 + tests/test_core.py::Framework::test_launch_and_close_v4_v6
76 + tests/test_core.py::Framework::test_launch_and_close_v6_only
77 + tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
78 +
79 + # fragile to timeouts (?)
80 + tests/services/test_browser.py::test_service_browser_expire_callbacks
81 + tests/utils/test_asyncio.py::test_run_coro_with_timeout
82 +)