From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 368601388BF for ; Wed, 17 Feb 2016 08:57:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C71A21C00F; Wed, 17 Feb 2016 08:57:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2919021C00F for ; Wed, 17 Feb 2016 08:57:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDB57340D17 for ; Wed, 17 Feb 2016 08:57:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1B9615FC for ; Wed, 17 Feb 2016 08:57:19 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1455699431.908fbf30751d39ab7f7f46280ef84e3473d50612.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zeroconf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zeroconf/Manifest dev-python/zeroconf/metadata.xml dev-python/zeroconf/zeroconf-0.17.4.ebuild X-VCS-Directories: dev-python/zeroconf/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 908fbf30751d39ab7f7f46280ef84e3473d50612 X-VCS-Branch: master Date: Wed, 17 Feb 2016 08:57:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5c510a66-d86c-4dba-baf9-43cfef548ca4 X-Archives-Hash: 70fe0acd238b33435f9eddd42e5c1c2c commit: 908fbf30751d39ab7f7f46280ef84e3473d50612 Author: Justin Lecher gentoo org> AuthorDate: Wed Feb 17 08:23:31 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Feb 17 08:57:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908fbf30 dev-python/zeroconf: New package, ebuild written by me Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/metadata.xml | 15 ++++++++++ dev-python/zeroconf/zeroconf-0.17.4.ebuild | 44 ++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest new file mode 100644 index 0000000..2bb395a --- /dev/null +++ b/dev-python/zeroconf/Manifest @@ -0,0 +1 @@ +DIST zeroconf-0.17.4.tar.gz 18158 SHA256 8d91c5589693b1abbf173561b308c5bc0abf3d06fd6e40de8cd5ee9205afbe83 SHA512 1a01282d20e83a213156febaf2aa7f4b009f347062cc8c2d8bf503c1e8a1606a1dbffc18d93d1a183be568b7911f18abedbe6ca2d958fbc5b550fc67b92d2ce4 WHIRLPOOL e913104a7bbf69b66999d5766725ab9b2904eedda46be0b12c2557f25bbd3e705391690ae9d5dc9c1d370bc0ed533d8d3bb8d3f041218aec1721edf1e975e6f4 diff --git a/dev-python/zeroconf/metadata.xml b/dev-python/zeroconf/metadata.xml new file mode 100644 index 0000000..0f2976f --- /dev/null +++ b/dev-python/zeroconf/metadata.xml @@ -0,0 +1,15 @@ + + + + + python@gentoo.org + Python + + + zeroconf + + UNKNOWN + Paul Scott-Murphy, William McBrine, Jakub Stasiak + + + diff --git a/dev-python/zeroconf/zeroconf-0.17.4.ebuild b/dev-python/zeroconf/zeroconf-0.17.4.ebuild new file mode 100644 index 0000000..37d1fbb --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.17.4.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 +}