ESPHome-1.14.3-r7 now loves tornado-6.0.4

This commit is contained in:
Andreas Billmeier 2020-05-16 20:02:03 +02:00
parent b53f1bceba
commit d0a322226f
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 112 additions and 0 deletions

View File

@ -48,6 +48,7 @@
* update homeassistant-0.110.0_beta3
* remove obsolete Python 3.6 parts from README.md
* RepoMan complaints corrected
* ESPHome-1.14.3-r7 now loves tornado-6.04
2020-05-09 homeassistant-0.109.6
* aiohttp-cors-0.7.0-r1 from main repo is now OK again

View File

@ -16,5 +16,6 @@ EBUILD esphome-1.14.2.ebuild 2356 BLAKE2B 552a84f37b608ae783cdd78d5f86e2f9057d98
EBUILD esphome-1.14.3-r4.ebuild 2763 BLAKE2B f9d0159c047a772162fc10ae1a9579a39e7db107f7f774490d8c5355ae9fe7104ae6d8620f0a8c3484b475a15f6b289d2d164481490509ea097862df6c9ebdef SHA512 0cdf1b06135f2a64b1194edcd79d1be8c2fdf7aee8d5c7cc20c155a9f32096a0af2e5ab66b02e59c12d78ee477a8cb51982706a17e3523e7ed59c6a8dd775a0e
EBUILD esphome-1.14.3-r5.ebuild 2960 BLAKE2B 1c54714046adaaff7639c8d2673edecf0a9896827c39fd8831ebfe2ac8f8abf2187e51a03a198319cba708987f82bd3a5e257f6f6249d0d0403286d1800933ee SHA512 a7f714597a60310cb138b14d2669ca186a629b836dfe53257aa110b5f354b8d137a541fe1bc87df79f7249b7b80875cb94db06563b8a6d64b5700e5aa5e89dec
EBUILD esphome-1.14.3-r6.ebuild 2918 BLAKE2B ec6955d37c8a87894fc7c204393b447ee803f9edde4683e56d0d19ef1b19e1070704d640450b78729dda0fc794745f6a940d5d4575ec45338d9e906afccc1f5b SHA512 728f9a0ba4236f62d294ba182c26d8859eda5be880382006a1a28756c640485d153b3730b21217a5e2f0b3b08bcd94d4e0fe0ad682598b7acbb230e151b1acf6
EBUILD esphome-1.14.3-r7.ebuild 3013 BLAKE2B 678007ee580a99524d580ba3f88b55a41388b3b31e63e14edd500c35e37e3695302201031556e49fd15698f6d241ef276e529da8fa17ca58907378ab2fe04293 SHA512 32b5c8bcd5bb38f597817ce53bb016f70506044122edfe1ebb6572264e813db876e8079b08bb465745be8abf9877c154a613fd16fb6ed44610daa73fc9cd73f2
EBUILD esphome-9999.ebuild 2923 BLAKE2B bb3e25659b9539b662fb41bddf58e78842e7e2e36a30039f8e35caf9021041a0c4cf3cecc2a1dd32d4e22688f00aa3a2a0b69d79cb2920fe267cc2d8e421eb05 SHA512 e565bb64a7b75fe83946a02ed5efa90918af80edfa176088541ebf823fa11ed2352066206a490ee5a7d372100eb4dc888e7ab0e0556241c7d68279ca65953fce
MISC metadata.xml 568 BLAKE2B bf87d46e048c7db7d8bcbf2a4c9e730e3b084504ca3708520635c92805f99554ad88fe15eba5c9566f5db8c977bf11014aa8f4a94dcc3f5a9e633f15c7438516 SHA512 c84dd850464fa34e84576c1548c2a17b036543b682a2693ca3d95bdde62014e632116a84479ac42539e9d04e97386aa3326fe587043443dd1895d01bf70463c2

View File

@ -0,0 +1,110 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7} )
inherit readme.gentoo-r1 distutils-r1
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/esphome/esphome.git"
EGIT_BRANCH="dev"
S="${WORKDIR}/${P}/"
else
MY_P=${P/_beta/b}
MY_PV=${PV/_beta/b}
# SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
S="${WORKDIR}/${MY_P}/"
fi
DESCRIPTION="Make creating custom firmwares for ESP32/ESP8266 super easy."
HOMEPAGE="https://github.com/esphome/esphome https://pypi.org/project/esphome/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="server test"
RDEPEND=""
DEPEND="${RDEPEND}
server? ( acct-group/${PN} acct-user/${PN} )
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/tzlocal-2.0.0[${PYTHON_USEDEP}]
>=dev-python/voluptuous-0.11.7[${PYTHON_USEDEP}]
~dev-embedded/esptool-2.7[${PYTHON_USEDEP}]
~dev-python/protobuf-python-3.11.4[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.4[${PYTHON_USEDEP}]
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
server? ( >=dev-python/ifaddr-0.1.6
~www-servers/tornado-6.0.4[${PYTHON_USEDEP}] )
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)
~dev-libs/protobuf-3.11.4
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}]
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
~dev-embedded/platformio-4.3.1
~dev-python/colorlog-4.1.0[${PYTHON_USEDEP}]
"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The ESPHome dashboard listens on port 6052
ESPHome configuration is in: /etc/${PN}
dashboard command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{dashboard,warnings}.log
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
DOCS="README.md"
src_prepare() {
sed -e 's;protobuf==3.10.0;protobuf==3.11.4;' \
-i esphome.egg-info/requires.txt \
-i setup.py
sed -e 's;paho-mqtt==1.4.0;paho-mqtt==1.5.0;' \
-i esphome.egg-info/requires.txt \
-i setup.py
sed -e 's;PyYAML==5.1.2;PyYAML==5.3.1;' \
-i esphome.egg-info/requires.txt \
-i setup.py
sed -e 's;platformio==4.0.3;platformio==4.3.1;' \
-i esphome.egg-info/requires.txt \
-i setup.py
sed -e 's;colorlog==4.0.2;colorlog==4.1.0;' \
-i esphome.egg-info/requires.txt \
-i setup.py
sed -e 's;tornado==5.1.1;tornado==6.0.4;' \
-i esphome.egg-info/requires.txt \
-i setup.py
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
if use server; then
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d-r2" "${PN}"
readme.gentoo_create_doc
fi
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
pkg_postinst() {
if use server; then
readme.gentoo_print_elog
fi
}