Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zeroconf/
Date: Mon, 30 Aug 2021 21:41:59
Message-Id: 1630359709.2d77b9c9108f3347ba417cbea8292eda5fbfb858.mgorny@gentoo
1 commit: 2d77b9c9108f3347ba417cbea8292eda5fbfb858
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 30 21:21:50 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 30 21:41:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d77b9c9
7
8 dev-python/zeroconf: Bump to 0.36.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/zeroconf/Manifest | 1 +
13 dev-python/zeroconf/zeroconf-0.36.2.ebuild | 39 ++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
17 index d0b312004d9..2e3cf73d59e 100644
18 --- a/dev-python/zeroconf/Manifest
19 +++ b/dev-python/zeroconf/Manifest
20 @@ -1,3 +1,4 @@
21 DIST python-zeroconf-0.33.4.gh.tar.gz 121380 BLAKE2B a1a8ac266aaded65337aa9d5c26d8a52b6329500a1a18354148590fdb47988f200b0658a41e18b78694cd9f95f1322cce0ff289a795bf9459ab6d383d5ee13f9 SHA512 fa6dd453ea22beb113c53941ce750e214da3211b6fc14d8b0cb575b927cff14759c49fec4e9ada4a2fd4ebc0bb3b0b355a2454ca0e128a3213fc8be41f096af7
22 DIST python-zeroconf-0.35.1.gh.tar.gz 127099 BLAKE2B dc09dadaeaac64d8517de407ddcfffc4152e366430c492d4ab562c56afa3264c33a26373f249bbddd969bb28dbc5c1b7513e59c0ebb728c12a77fb9d428e4f0a SHA512 27386cd425928821080c9c6fd2babdcfc001cc4583ef4c699169e3818f6bb8536f712cf7959e6003a6aaf40e85b5337a8a5abcfdf686455dee577cfa61270fb7
23 DIST python-zeroconf-0.36.1.gh.tar.gz 128104 BLAKE2B a5f2fdf35dd8c51e727ad1f4cd9ba442f2b99fd7ecc6ce0ce9cb0331997f445be90bba17571cec5ec0f59b64268241abacb5aee39134427098902b8d592494c6 SHA512 c568dd836a101a47ef74318154cd6c7fe2eb93c674450596f8e6ec4b7cfb66740126cc994b8f4d98458dd64a16c971ebab29b0877366396b8f5fabd03341107c
24 +DIST python-zeroconf-0.36.2.gh.tar.gz 129052 BLAKE2B 4bdc4ac13064e162590af12da2d89cd566fbe749f1b11ebef210b2adbe7e33e75ff0e95d3ed11f7d045e016fff525c9a7b9124804d741160b0073016f4757d09 SHA512 2f2a7a87afa07907ed3aa3cd79d2f2e9b61e82193301f219f0505831349b003bca1ae2b6fc1dc71fcf6cb9cfb849413f9766ef88e3955fc569ad84fb9e5e5b60
25
26 diff --git a/dev-python/zeroconf/zeroconf-0.36.2.ebuild b/dev-python/zeroconf/zeroconf-0.36.2.ebuild
27 new file mode 100644
28 index 00000000000..0e1b2943b16
29 --- /dev/null
30 +++ b/dev-python/zeroconf/zeroconf-0.36.2.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit distutils-r1
39 +
40 +MY_P=python-zeroconf-${PV}
41 +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
42 +HOMEPAGE="
43 + https://github.com/jstasiak/python-zeroconf/
44 + https://pypi.org/project/zeroconf/"
45 +SRC_URI="
46 + https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz
47 + -> ${MY_P}.gh.tar.gz"
48 +S=${WORKDIR}/${MY_P}
49 +
50 +LICENSE="LGPL-2.1"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
53 +
54 +RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]"
55 +
56 +distutils_enable_tests pytest
57 +
58 +python_test() {
59 + local excludes=(
60 + # network
61 + tests/test_core.py::Framework::test_close_multiple_times
62 + tests/test_core.py::Framework::test_launch_and_close
63 + tests/test_core.py::Framework::test_launch_and_close_context_manager
64 + tests/test_core.py::Framework::test_launch_and_close_v4_v6
65 + tests/test_core.py::Framework::test_launch_and_close_v6_only
66 + tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
67 + )
68 +
69 + epytest ${excludes[@]/#/--deselect }
70 +}