update esphome-1.14.5-r2, Python 3.8 for myproduction box
This commit is contained in:
parent
0145f860a8
commit
feeb84a173
@ -9,6 +9,7 @@
|
||||
* link dev-python/PyDispatcher again
|
||||
* small version fixes
|
||||
* fix deps in hass-nabucasa-0.37.0, some cleanup
|
||||
* update esphome-1.14.5-r2, Python 3.8 for my production box
|
||||
|
||||
2020-09-11 homeassistant-0.115.0_beta5
|
||||
* bump numpy-1.19.2
|
||||
|
@ -23,6 +23,7 @@ EBUILD esphome-1.14.3-r7.ebuild 3013 BLAKE2B 678007ee580a99524d580ba3f88b55a4138
|
||||
EBUILD esphome-1.14.4-r1.ebuild 2711 BLAKE2B bf65b215742a22ff040725336afa61e368730f4b5deaa57b90be280de09643dfcabe719f2f6c27bdfc766aa3f5908b53946b49560c206fec3507f78fdfa25b9b SHA512 1f3613c273228434edcc48fde6030f67974c3b286e6040fa8107bde2dde79d1585a2ca7f691ea178c8811f417338e8ad5af487ee587a28446de0ef1fe2b7fdd8
|
||||
EBUILD esphome-1.14.4.ebuild 2622 BLAKE2B cb7fe05d60c25fa68ceec541d2a7fd9627e9be2ca07a85303a6e094d9a7bbaaf8d47b2acd67a9568c4e02e78bee6e6a5f0d4c9f809804d6f6a2281922cbd0d7e SHA512 348ee862c4ad8a7b71ee6368a66a983c2d84c094008e8495733cdba3b19e323acc98ad16e6446bdfbdcfc15fb9a1b2ac04013e6dcb78b5c855942289e7e4671d
|
||||
EBUILD esphome-1.14.5-r1.ebuild 2805 BLAKE2B 34b36be57674e5c9ed0977d97e829556697ff611d7f603d7d3093498f647057aeda70d751d647f9f81cffa788513f38e961799fc2d5fe4f338d65222088fac28 SHA512 122cf77f547f9f1a78393fa0702cc0fd15019cbf9d01f2dfeae8094eee41d0f5944f10dd3098b5303229af91e2939988dc2247b3dce6800e3cd82d81835caab1
|
||||
EBUILD esphome-1.14.5-r2.ebuild 2890 BLAKE2B cfa11c851df57722f7c019016ef653887d7102cc68fc1c143eae34baa62e5ccdf9daccdc9f69fc1b2d6cabc6176c2d38564db6fc5877952f8bd96ea3790e67c0 SHA512 7de580038ee2bbf8785cf5ac4a97539e8131a289ad10c85ae0296ec8f92229bf30b052160b419e080df83404e83832db340e7ee52ee3326bcce1dcef2626b001
|
||||
EBUILD esphome-1.14.5.ebuild 2711 BLAKE2B af450032767c0d0f37acfa5ae27a2f7af86b22cb68774a640e6d9bd4ac0424c3c7d947691218463de05ece500588c81b518b0c9c47865452776e91f013cc97e5 SHA512 28b64c51ecec5b4c0c02c45a0b9ddb90137decadacf5cabf52b8a83a1810567a33435b1d4ae3236a90c4b3d150e0c36358fee5e78caad2283a50ad61e6dbea21
|
||||
EBUILD esphome-1.15.0_beta1.ebuild 2809 BLAKE2B 53697a8facd55ff909a360764131f071fb86f065de279d00bc7df8fa5d8794d218c624c2ad6b4843657273b0e4e2c14fe606329660e67203c0e82a0bd21a0923 SHA512 c824319d1f2922ac9986a251174ac0f5ab2edb50363d92608c56f69da43d89a27fa4625904bbd0ae64b586e667c50504fa024f9e020f221ff84efb2a80a59254
|
||||
EBUILD esphome-1.15.0_beta2.ebuild 2809 BLAKE2B 53697a8facd55ff909a360764131f071fb86f065de279d00bc7df8fa5d8794d218c624c2ad6b4843657273b0e4e2c14fe606329660e67203c0e82a0bd21a0923 SHA512 c824319d1f2922ac9986a251174ac0f5ab2edb50363d92608c56f69da43d89a27fa4625904bbd0ae64b586e667c50504fa024f9e020f221ff84efb2a80a59254
|
||||
|
108
dev-embedded/esphome/esphome-1.14.5-r2.ebuild
Normal file
108
dev-embedded/esphome/esphome-1.14.5-r2.ebuild
Normal file
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..8} )
|
||||
|
||||
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/voluptuous-0.11.7[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||
~dev-python/paho-mqtt-1.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/colorlog[${PYTHON_USEDEP}]
|
||||
~dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
|
||||
~www-servers/tornado-6.0.4[${PYTHON_USEDEP}]
|
||||
~dev-python/protobuf-python-3.12.4[${PYTHON_USEDEP}]
|
||||
~dev-libs/protobuf-3.12.4
|
||||
~dev-python/tzlocal-2.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pytz-2020.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyserial-3.4[${PYTHON_USEDEP}]
|
||||
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
~dev-embedded/platformio-4.3.4
|
||||
~dev-embedded/esptool-2.8[${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;tornado==5.1.1;tornado==6.0.4;' \
|
||||
-i esphome.egg-info/requires.txt \
|
||||
-i setup.py
|
||||
sed -e 's;protobuf==3.11.3;protobuf==3.12.4;' \
|
||||
-i esphome.egg-info/requires.txt \
|
||||
-i setup.py
|
||||
sed -e 's;tzlocal==2.0.0;tzlocal==2.1;' \
|
||||
-i esphome.egg-info/requires.txt \
|
||||
-i setup.py
|
||||
sed -e 's;ifaddr==0.1.6;ifaddr==0.1.7;' \
|
||||
-i esphome.egg-info/requires.txt \
|
||||
-i setup.py
|
||||
sed -e 's;colorlog==4.1.0;colorlog;' \
|
||||
-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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user