diff options
Diffstat (limited to 'dev-python/zeroconf')
-rw-r--r-- | dev-python/zeroconf/Manifest | 4 | ||||
-rw-r--r-- | dev-python/zeroconf/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/zeroconf/zeroconf-0.17.5.ebuild | 43 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest new file mode 100644 index 000000000000..e06f1bbe3103 --- /dev/null +++ b/dev-python/zeroconf/Manifest @@ -0,0 +1,4 @@ +DIST zeroconf-0.17.5.tar.gz 18428 SHA256 51ea8affc3512259d5e702a46031139c2eaefe2a0891990e5866d0b5a436112e SHA512 834f8d66bb92232474f60a5137ed7de3788fe1b7109cd5dd2100c3845a89bbb224df060bcb482b0c48b0a5849604247b8f29a902f9c78c35a72497a77f5323b3 WHIRLPOOL b18548e0ac1f7f4e03c4326d227ebcd6a56e43cfeb4ee4168ba47eae73675c131dda5d2840b506f56abf816517328eb2143c10afa52a6b972ee851be30f04736 +EBUILD zeroconf-0.17.5.ebuild 974 SHA256 b237e3c66845919e7dbe9e646f2103189b39e98d29f1d96ae6abb0c63771f846 SHA512 78d1e3bb8457a2419b0610e8046f96e9ff5a67370a6bbaeb303c20ecde52aabf27745336a24f01d1717596e7779a6ca3c90a705ce525eb1a3e3c9d96e1aeb3ca WHIRLPOOL c31133536b13c806fe699c1319e58d91f4a94cb320f9e9ae66ef57788e77ee1f4bd0615a39d5399fc1da726bc5c3289b1179d98592eb533460608d5ca682990b +MISC ChangeLog 780 SHA256 05e76245803cac614397d52e4c0be28d517c984d0f6c56d9167c383d34ad882b SHA512 7ae43b41e852d5aabf072307d9f6091c013b1f12bfe884204838384ce9294dd9d19093f1e25f369f67abd5026450284a1665ae42a7b7e0bcdf1a5468d5fdfb9c WHIRLPOOL 896e83bf22b0fbd818af63dac077fb83692ab560dcd08ca7942c4deb302a354015959ae54c235982ebb729db6ef9f8f211383590d9dc087d403b7adfc4c053d4 +MISC metadata.xml 387 SHA256 af654efdc998a325ac15acd0d1f4036d28ebd2db0c345ee02e71088f06e972b4 SHA512 ccee11a4aad084b1ac1dd901d966e1424b7ad3769b4bdf62c2dd44f9cbb6ec1a566443967ba45b37ef6241f43d2a06c17ebb5028254fbf40e0a480fcc3d76f89 WHIRLPOOL 5873c700a076524eb93a6745019d4f5df4820ac1652fff8b70c865873aae1f868c3b7c4ffc4fac019c03ff5d2e42f61b07f88a6318053e46f47469aa78461827 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.17.5.ebuild b/dev-python/zeroconf/zeroconf-0.17.5.ebuild new file mode 100644 index 000000000000..a4dde5ce34c7 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.17.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,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 +} |