1 |
commit: 5efecf213169b9ab955ed2b37cf953cd258e7206 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 6 07:23:34 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 6 07:33:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5efecf21 |
7 |
|
8 |
dev-python/zeroconf: Bump to 0.30.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.30.0.ebuild | 38 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest |
17 |
index 18148fa854a..632a025e172 100644 |
18 |
--- a/dev-python/zeroconf/Manifest |
19 |
+++ b/dev-python/zeroconf/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-zeroconf-0.29.0.gh.tar.gz 62466 BLAKE2B 430a9f4d4460d66166a2484862a8dd3af65f3cfad0e25557648abf26ebe88a7ae581934273db270ff30fa4d714b32a822448b22fd7a95e9e382b68ffae9b66b4 SHA512 a084da17cda264b531e7f58975d30ae0b5adb98f33ca78d1e865e1450dc42ad2bca69bc319c268f7977e70e082ae713142a57f97a9f050486c47b50698002590 |
22 |
+DIST python-zeroconf-0.30.0.gh.tar.gz 64301 BLAKE2B ea0d5e36f3f012f217cbd4eeff0a9cd366496e2f64b06112ee3629ad016c8e28877f62358d5b5fd27387cfe474e488e99a9ad8ca1802f6d23612f99310243c57 SHA512 1f3165500a07525ef182bb60c1804fe2002a33a9f800470bdb32bdfd44a1b8f466a818a4390537674952159e5c0e257cf9e4ca570b1a9936e1cf8be294be6311 |
23 |
|
24 |
diff --git a/dev-python/zeroconf/zeroconf-0.30.0.ebuild b/dev-python/zeroconf/zeroconf-0.30.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7468e3466c5 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/zeroconf/zeroconf-0.30.0.ebuild |
29 |
@@ -0,0 +1,38 @@ |
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_{7..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 |
+ zeroconf/test.py::Framework::test_close_multiple_times |
60 |
+ zeroconf/test.py::Framework::test_launch_and_close |
61 |
+ zeroconf/test.py::Framework::test_launch_and_close_v4_v6 |
62 |
+ zeroconf/test.py::Framework::test_launch_and_close_v6_only |
63 |
+ zeroconf/test.py::ServiceTypesQuery::test_integration_with_listener_ipv6 |
64 |
+ ) |
65 |
+ |
66 |
+ epytest ${excludes[@]/#/--deselect } zeroconf/test.py |
67 |
+} |