dev-python/zeroconf: New package, ebuild written by me

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2016-02-17 09:23:31 +01:00
parent a0bc6034e2
commit 908fbf3075
3 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST zeroconf-0.17.4.tar.gz 18158 SHA256 8d91c5589693b1abbf173561b308c5bc0abf3d06fd6e40de8cd5ee9205afbe83 SHA512 1a01282d20e83a213156febaf2aa7f4b009f347062cc8c2d8bf503c1e8a1606a1dbffc18d93d1a183be568b7911f18abedbe6ca2d958fbc5b550fc67b92d2ce4 WHIRLPOOL e913104a7bbf69b66999d5766725ab9b2904eedda46be0b12c2557f25bbd3e705391690ae9d5dc9c1d370bc0ed533d8d3bb8d3f041218aec1721edf1e975e6f4

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">zeroconf</remote-id>
<maintainer status="unknown">
<email>UNKNOWN</email>
<name>Paul Scott-Murphy, William McBrine, Jakub Stasiak</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -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
}