1 |
commit: 94e7fe88edfd305f73ba893d9d5e788c1b3fa077 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 30 05:54:49 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 05:54:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94e7fe88 |
7 |
|
8 |
dev-python/zeroconf: Bump to 0.32.0 |
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.32.0.ebuild | 39 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest |
17 |
index 3c80995934d..b55e551df3d 100644 |
18 |
--- a/dev-python/zeroconf/Manifest |
19 |
+++ b/dev-python/zeroconf/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-zeroconf-0.30.0.gh.tar.gz 64301 BLAKE2B ea0d5e36f3f012f217cbd4eeff0a9cd366496e2f64b06112ee3629ad016c8e28877f62358d5b5fd27387cfe474e488e99a9ad8ca1802f6d23612f99310243c57 SHA512 1f3165500a07525ef182bb60c1804fe2002a33a9f800470bdb32bdfd44a1b8f466a818a4390537674952159e5c0e257cf9e4ca570b1a9936e1cf8be294be6311 |
22 |
+DIST python-zeroconf-0.32.0.gh.tar.gz 115276 BLAKE2B 7084c02f989ebc6db6686b82ce3212158595b87e00567e4857e84790a30a2fa6f688288769d1eb118da485a6755da1ef404765070d26905d10ab45b1d95ca849 SHA512 6a612b39be85e673cffc560ea5bcc16facc5a16a370ff6edb1d4f7ff978a01d6ba249a9b313caca3b3ed0c6463a4914a98063eb89f28268cec1c9a2faa4db611 |
23 |
|
24 |
diff --git a/dev-python/zeroconf/zeroconf-0.32.0.ebuild b/dev-python/zeroconf/zeroconf-0.32.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0fadc7be4ba |
27 |
--- /dev/null |
28 |
+++ b/dev-python/zeroconf/zeroconf-0.32.0.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_P=python-zeroconf-${PV} |
39 |
+DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" |
40 |
+HOMEPAGE=" |
41 |
+ https://github.com/jstasiak/python-zeroconf/ |
42 |
+ https://pypi.org/project/zeroconf/" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz |
45 |
+ -> ${MY_P}.gh.tar.gz" |
46 |
+S=${WORKDIR}/${MY_P} |
47 |
+ |
48 |
+LICENSE="LGPL-2.1" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" |
51 |
+ |
52 |
+RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+python_test() { |
57 |
+ local excludes=( |
58 |
+ # network |
59 |
+ tests/test_core.py::Framework::test_close_multiple_times |
60 |
+ tests/test_core.py::Framework::test_launch_and_close |
61 |
+ tests/test_core.py::Framework::test_launch_and_close_context_manager |
62 |
+ tests/test_core.py::Framework::test_launch_and_close_v4_v6 |
63 |
+ tests/test_core.py::Framework::test_launch_and_close_v6_only |
64 |
+ tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6 |
65 |
+ ) |
66 |
+ |
67 |
+ epytest ${excludes[@]/#/--deselect } |
68 |
+} |