old zeroconf needed by platformio, which in turn is needed by esphome

This commit is contained in:
2021-06-16 22:37:05 -07:00
parent 6da4c2f240
commit aeb6de156d
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST python-zeroconf-0.28.8.gh.tar.gz 62107 SHA256 5272431bf88611c722119504504b86738f9366f518781deb24e520e382d1f337 SHA512 ba599fdd44ecdf3da71ee2a155a47e6cf91c8f4fe3efac428f6e99feda052019423a8a3e775d6cc4624697fbfcbe207829a41ad76105082fe62e81eead2f7a34 WHIRLPOOL 1a698f1d54de9eba371eccaf68cd8ed3b71892027dc4639c980ca68bc1f155c3e0641e85eb77500979dcd94230c0ffb980d284c7da1b54e47e9bf0880526b573
EBUILD zeroconf-0.28.8.ebuild 1089 SHA256 0dd6d47d564c77418e3f45522e5a7aea87ed1bf712e3c041c807cd34f19bb018 SHA512 986a489207ea2c47bfd3cc02ff53a48e3f3925f6326f1c9911d2da4adc3619c53e671f25ad024168b048b93cef39b43d7f155c1baa379d791e1f06abb97c0aa0 WHIRLPOOL 53b9927e9c363abe53ce27705d28c249f562da11e04a9d99c038863fa0bf1ca238840bb7e621125af3ed80be30627315cf56fb6d2517dbdd7dcc439b92888344
MISC metadata.xml 412 SHA256 c7250fbd04514d45d44bc0567bc1bfb999c306ab3419dbfdf6eb50f7f6966160 SHA512 28bafc2919fa66c0f1e532798ac40c537a53c18e781590881116440886d09f5511425f2cddee912e3fc63ef92ee1a9c4da0f7f79cb44dab6e5f51d62202de844 WHIRLPOOL 10182a4534b332e86b6fcd608392b1a216db73cebcb220b2aea5a62382ab1600f2bfd9c005859ba02e10500951202ede9f83cc4554b5424572e7e28ac3a069c5

View File

@@ -0,0 +1,13 @@
<?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>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">zeroconf</remote-id>
<remote-id type="github">jstasiak/python-zeroconf</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
MY_P=python-zeroconf-${PV}
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="
https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
python_test() {
local excludes=(
# network
zeroconf/test.py::Framework::test_close_multiple_times
zeroconf/test.py::Framework::test_launch_and_close
zeroconf/test.py::Framework::test_launch_and_close_v4_v6
zeroconf/test.py::Framework::test_launch_and_close_v6_only
zeroconf/test.py::ServiceTypesQuery::test_integration_with_listener_ipv6
)
epytest ${excludes[@]/#/--deselect } zeroconf/test.py
}