diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/zeroconf | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/zeroconf')
-rw-r--r-- | dev-python/zeroconf/Manifest | 3 | ||||
-rw-r--r-- | dev-python/zeroconf/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/zeroconf/zeroconf-0.19.1.ebuild | 43 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest new file mode 100644 index 000000000000..295ec744b4c8 --- /dev/null +++ b/dev-python/zeroconf/Manifest @@ -0,0 +1,3 @@ +DIST zeroconf-0.19.1.tar.gz 22769 BLAKE2B a63332d70c5610da4fe44cc32d106893241284c3f70b5d6f55f68e3b3dd045a9c39b1009e9dce0b80c836d5ab0693b99974901ee664513c36f34c31907162d46 SHA512 1a7ac803caca1b230eba6c4bcfb714613f218850d9373ea0de609a3c9a509d13acfd14d64f9efbab78637b74aebdf385cf2deded1ff871fc6f3aea4477a07730 +EBUILD zeroconf-0.19.1.ebuild 972 BLAKE2B c68705c728a4d40ae3ec40a9e1760e962ecee5c108473c70d68ff1f2dd4a0dde25b524b0832c71de4c0492db4321cec4a27857f4a2789a025f14302960d179f8 SHA512 a90e11f5e0a8fec1ae265ba5c93c2206a1581c6061a8770d23bd8ef2e8af60cebbc3814178c5a3eb383c3efc855b8adbc5b05dd7e05bd5ed474eb92eaa10bf9b +MISC metadata.xml 387 BLAKE2B 9dea981cf6247ad6fb6ddb3b060671ddb031ec703dc00e61e2efb4909478d01b5dfa309ed848dafe321d388156d16f44bc7b803dab79731205e374b5f046757c SHA512 ccee11a4aad084b1ac1dd901d966e1424b7ad3769b4bdf62c2dd44f9cbb6ec1a566443967ba45b37ef6241f43d2a06c17ebb5028254fbf40e0a480fcc3d76f89 diff --git a/dev-python/zeroconf/metadata.xml b/dev-python/zeroconf/metadata.xml new file mode 100644 index 000000000000..773c6eaa7922 --- /dev/null +++ b/dev-python/zeroconf/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <remote-id type="github">jstasiak/python-zeroconf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/zeroconf/zeroconf-0.19.1.ebuild b/dev-python/zeroconf/zeroconf-0.19.1.ebuild new file mode 100644 index 000000000000..f324059391b6 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.19.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE="https://github.com/jstasiak/python-zeroconf https://pypi.org/project/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 +} |