summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-06-12 16:34:14 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-06-12 19:17:27 +0200
commit848b462f18f88a2e2efa7c57c26fb89bd4dc01dd (patch)
tree7a64bdd8a3e384ab850a4d42e45cbc20d821fc37 /dev-python/zeroconf
parentdev-python/versioneer: Bump (diff)
downloadgentoo-848b462f18f88a2e2efa7c57c26fb89bd4dc01dd.tar.gz
gentoo-848b462f18f88a2e2efa7c57c26fb89bd4dc01dd.tar.bz2
gentoo-848b462f18f88a2e2efa7c57c26fb89bd4dc01dd.zip
dev-python/zeroconf: Bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-python/zeroconf')
-rw-r--r--dev-python/zeroconf/Manifest1
-rw-r--r--dev-python/zeroconf/zeroconf-0.17.5.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index 2bb395ac4259..c8d20ab0a91a 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -1 +1,2 @@
DIST zeroconf-0.17.4.tar.gz 18158 SHA256 8d91c5589693b1abbf173561b308c5bc0abf3d06fd6e40de8cd5ee9205afbe83 SHA512 1a01282d20e83a213156febaf2aa7f4b009f347062cc8c2d8bf503c1e8a1606a1dbffc18d93d1a183be568b7911f18abedbe6ca2d958fbc5b550fc67b92d2ce4 WHIRLPOOL e913104a7bbf69b66999d5766725ab9b2904eedda46be0b12c2557f25bbd3e705391690ae9d5dc9c1d370bc0ed533d8d3bb8d3f041218aec1721edf1e975e6f4
+DIST zeroconf-0.17.5.tar.gz 18428 SHA256 51ea8affc3512259d5e702a46031139c2eaefe2a0891990e5866d0b5a436112e SHA512 834f8d66bb92232474f60a5137ed7de3788fe1b7109cd5dd2100c3845a89bbb224df060bcb482b0c48b0a5849604247b8f29a902f9c78c35a72497a77f5323b3 WHIRLPOOL b18548e0ac1f7f4e03c4326d227ebcd6a56e43cfeb4ee4168ba47eae73675c131dda5d2840b506f56abf816517328eb2143c10afa52a6b972ee851be30f04736
diff --git a/dev-python/zeroconf/zeroconf-0.17.5.ebuild b/dev-python/zeroconf/zeroconf-0.17.5.ebuild
new file mode 100644
index 000000000000..37d1fbbc427b
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.17.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
+HOMEPAGE="https://github.com/jstasiak/python-zeroconf http://pypi.python.org/pypi/zeroconf"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+ dev-python/netifaces[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ virtual/python-enum34[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+# Not included
+RESTRICT="test"
+
+python_prepare_all() {
+ # It's virtual/python-enum34
+ sed \
+ -e "s:'enum-compat',::g" \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests --verbose || die
+}