Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zeroconf/
Date: Sat, 09 Dec 2017 00:25:46
Message-Id: 1512779118.85dde98934ae73bf47f6caa3d0adb9185532d556.prometheanfire@gentoo
1 commit: 85dde98934ae73bf47f6caa3d0adb9185532d556
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 9 00:20:30 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 9 00:25:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85dde989
7
8 dev-python/zeroconf: 0.19.1 bup
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 dev-python/zeroconf/Manifest | 3 ++-
13 dev-python/zeroconf/zeroconf-0.19.1.ebuild | 43 ++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
17 index af9ef62f474..35122d8693e 100644
18 --- a/dev-python/zeroconf/Manifest
19 +++ b/dev-python/zeroconf/Manifest
20 @@ -1 +1,2 @@
21 -DIST zeroconf-0.17.5.tar.gz 18428 SHA256 51ea8affc3512259d5e702a46031139c2eaefe2a0891990e5866d0b5a436112e SHA512 834f8d66bb92232474f60a5137ed7de3788fe1b7109cd5dd2100c3845a89bbb224df060bcb482b0c48b0a5849604247b8f29a902f9c78c35a72497a77f5323b3 WHIRLPOOL b18548e0ac1f7f4e03c4326d227ebcd6a56e43cfeb4ee4168ba47eae73675c131dda5d2840b506f56abf816517328eb2143c10afa52a6b972ee851be30f04736
22 +DIST zeroconf-0.17.5.tar.gz 18428 BLAKE2B b77b0a3c561fd498e59043d8b613ee17f9b9a6ef4f98070d1f2125653017233e12d4a3e87071709981dc67150589d55591b5956fe9661a18d257331662294dfa SHA512 834f8d66bb92232474f60a5137ed7de3788fe1b7109cd5dd2100c3845a89bbb224df060bcb482b0c48b0a5849604247b8f29a902f9c78c35a72497a77f5323b3
23 +DIST zeroconf-0.19.1.tar.gz 22769 BLAKE2B a63332d70c5610da4fe44cc32d106893241284c3f70b5d6f55f68e3b3dd045a9c39b1009e9dce0b80c836d5ab0693b99974901ee664513c36f34c31907162d46 SHA512 1a7ac803caca1b230eba6c4bcfb714613f218850d9373ea0de609a3c9a509d13acfd14d64f9efbab78637b74aebdf385cf2deded1ff871fc6f3aea4477a07730
24
25 diff --git a/dev-python/zeroconf/zeroconf-0.19.1.ebuild b/dev-python/zeroconf/zeroconf-0.19.1.ebuild
26 new file mode 100644
27 index 00000000000..5b6b4b8a270
28 --- /dev/null
29 +++ b/dev-python/zeroconf/zeroconf-0.19.1.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
41 +HOMEPAGE="https://github.com/jstasiak/python-zeroconf https://pypi.python.org/pypi/zeroconf"
42 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="LGPL-2.1"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 +IUSE="test"
48 +
49 +RDEPEND="
50 + dev-python/netifaces[${PYTHON_USEDEP}]
51 + dev-python/six[${PYTHON_USEDEP}]
52 + virtual/python-enum34[${PYTHON_USEDEP}]
53 +"
54 +DEPEND="${RDEPEND}
55 + dev-python/setuptools[${PYTHON_USEDEP}]
56 + test? (
57 + dev-python/nose[${PYTHON_USEDEP}]
58 + )"
59 +
60 +# Not included
61 +RESTRICT="test"
62 +
63 +python_prepare_all() {
64 + # It's virtual/python-enum34
65 + sed \
66 + -e "s:'enum-compat',::g" \
67 + -i setup.py || die
68 + distutils-r1_python_prepare_all
69 +}
70 +
71 +python_test() {
72 + nosetests --verbose || die
73 +}