dev-embedded/esphome: drop 2024.3.2-r1, 2024.5.3-r1, 2024.7.0-r1
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/n Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
b8eb24153c
commit
943ada9cac
@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 2402 Ebuilds in total, 2384 of them have in total 2423 (44 different) licenses assigned.
|
||||
There are 2399 Ebuilds in total, 2381 of them have in total 2420 (44 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1368|
|
||||
|MIT|1365|
|
||||
|Apache-2.0|555|
|
||||
|GPL-3|148|
|
||||
|BSD|127|
|
||||
|
@ -3,15 +3,9 @@ AUX esphome.init.d-r1 605 BLAKE2B c6443e2a9730638bda08bda51638d4cd8ee965526ae0fd
|
||||
AUX esphome.init.d-r2 650 BLAKE2B 106e71245d76858dcd3deccfae0f4880053a39d7c280ca79a74adbf44ebff73c56fe7903a3dc1c1a3088d513be2e98c6edc2742ff137b384cbf088967395c09b SHA512 b983ca4b4645e5b79cab2804bc6fc0220a61e2b0234d6f7655c7eaef6cf507bc9791ec16843bee0767c9f3f0dbd88e28b93c39a9e945ca6a5e849dec5c58aa64
|
||||
AUX esphome.init.d-r3 650 BLAKE2B dc3750f8749e6183d0496b575a46fc55430b89bf973c75bf83c91b688f67e458d828b116e207042797852d5340967609224b806dc09190f92b8ebdcbf55e5388 SHA512 48cbcc982e95ff4d4486edf8ca91f742026f1745f23e4339d01dca016461ff0da2c37ee1539a5750e2d0ee339408bfbe16ff4b8c6cb2dcbbd97e382b7f0759d3
|
||||
DIST esphome-2024.10.2.tar.gz 2660377 BLAKE2B 8eae8112f75272496db46073f29c5f53e5845bc8d32e53115141a5629eecee9efa1f81bfa88a519919eea6b5a07b9162e2b3aa1996cccdf3ab55f547a5affdc8 SHA512 2871f2332c5b9c90cd7a999457471b80fadf395de6e93b3aa38511fbc94ecf97cde0ee8c71adba4fbb312d0c8661d6e955c2fad67c34e5a6d4ea95dff986094c
|
||||
DIST esphome-2024.3.2.tar.gz 2236891 BLAKE2B 8d3d5845a0735c0c3c60163a4709265d6ecb2326a0cba969897a794cc4154f4538c49bdcbcb32236e1053389b647c3bb9fdad55844aa1af3d888acaeb465db2b SHA512 8d3273a886987118865e9bbffe7edfe5922fab670387f093b111b07497b5165040fa1f452c7687b322704446fc0c61df08bc06987e43ab46d62d5e10b08abd14
|
||||
DIST esphome-2024.5.3.tar.gz 2429815 BLAKE2B 68a419e5539d4c5a2c8de81f2a9cf769ed324afbc888e6020cb89b7c397a84bec589193a1cecddc7427bef618893a2c67297e9e681d83dbfb399116e7fc994fe SHA512 6411bb3a486eee485c007f8067a424b2800405b44f54d1f14d98a21dddafe172432bc044db73ff41644d43e9bbf2b0ba319fab3f978c86164140032ad630a3a6
|
||||
DIST esphome-2024.7.0.tar.gz 2496095 BLAKE2B 6a4a6071790447d49d17dbb892a7df9b670bfe3151649a747fde5d95e52692ff5be28eff4b2f9377654514f89910f85a8e4154a653d935364881cf2c619b1339 SHA512 e30f1912f94692b6ade2b7eeb8894f30bf7e74c438c9229d7733357e8c3d568430b757581b6e0bb1233b36140f662b383249a5c7561242e546f57049aeb7093e
|
||||
DIST esphome-2025.2.2.tar.gz 2816216 BLAKE2B 39d0b3f4d40d1939476243ef2a95b33982e5b25c957d63733ec1b390e0d3c126c26f5e6d0939c1a999dfcc3611e73b6137b68045edb04652a22f36ddbf047f0d SHA512 5e15c4beb68be0fc78e6bd96716e0b82ae11015ce7397b8840627fffb75ae86fa6e1893ac37bc1e7395141af727ff848a4508cdede6bbee44f4fa0e3d1422c0f
|
||||
DIST esphome-2025.8.2.tar.gz 3265437 BLAKE2B 766a56bb51fcf353c094b95ea93ed5d431056204b1381681f1607a4f9c3b21095ba2e4f5a22e1ca08ff348b307a1b82b674a63ab45336f8f3f4b43f159438795 SHA512 e731bbc4a6c9d9accfdd4543677bfa1d8548103ed3246253279badada41a9bacf67a228e3625dd7c0912f98cbd2df065ef8e8526360a01c1ea05eca0bf668fd9
|
||||
EBUILD esphome-2024.10.2-r2.ebuild 3637 BLAKE2B f5309fc432b1d5d252c7c7d14e469fa181723fc752dbd8662b319187da472c1ec2a8bf622ede35460940619540b0f8da3df8a315d403daded7d20545bec8f11e SHA512 8b24f919bb63d47e20acf35c3fe8bd346474b2ff9e87c3b601dd18035862bca5b992c58ce3ba4d79275321999fb92c7e57d391a6b8999fca7ed4ccc16eb25631
|
||||
EBUILD esphome-2024.3.2-r1.ebuild 3385 BLAKE2B d967a9f2c0ff8911ee06459f29484357ae4e73d38a85d1ede82f6bb9f702d584797e162167a88e62e00e2be4df3989e7a6fa0a2e02c37e4327dfd4acc4c16560 SHA512 e73fe69029541b17d39c7810cb6e8c135fbf8b2ba8d9659f0796c17c747ca2c7f5a6e1cd3c16b4cb0d17ddca7ff8c7a699940f6fb42d936d195b31701c10ed91
|
||||
EBUILD esphome-2024.5.3-r1.ebuild 3472 BLAKE2B 1e1836dc3277a4ba6b702e54475e0c9497f228f590f8a1e9ad1a6307cbcab3151bdc11a8da467e1c5faedaa5e573d17e6faf25596315a08c1851e78c63437217 SHA512 8c66a5f424e78cca7a7ff8ed80080998c8e36926cb2c0ff9d83ff7cd8eea331e5e704d3f341b7b17513c84a1e7ef6b5e268095d6d407055e40ad49475bd09fbb
|
||||
EBUILD esphome-2024.7.0-r1.ebuild 3590 BLAKE2B 61478dbde706455dbafa56d16ab1949ffd9d5751370a6c2c2c74b70716c038b3cfbf1879b4f2b30f8148a4e6fe59d2103d5a08ea844b9ca2b4023d385bac10ac SHA512 54bda69d87a4c2245fcc340a827e4c37d8f94066e07eac642c2806f3a7a2103e4c79bde3802b5aea4aecc94bf257a5bffcf4093409afdfa9b32ec5b1e37227a4
|
||||
EBUILD esphome-2025.2.2.ebuild 3817 BLAKE2B 6735949c41002c209eba97371e67dde7c66eda84177b9e678cbd871664b5334a73a49b1c64de1a4986e1654ecb71c03206261a593f0a95485a6253ff691559ec SHA512 35fd0ba9448b045a796daaf7ad6c6fa54e3e49c15299ae9210c6320d26d0c8b9cf54dd970c965a7a6ec2ed2aff20e38ad109e3ea9f951420c691e8143dc737ac
|
||||
EBUILD esphome-2025.8.2.ebuild 3963 BLAKE2B e234ace99cf9d7906f80e55b7bc86f9daa3ed0bd6a5f7ca5e98312769fd74c39bbbcd4c364225e26a353666bc9179d7c6cdbd6a951bd07881ddd45068e54045f SHA512 4f9f4feff49145f40ec4be951a75c8508b9edc2fc52dc9f5fa42687a85d8ec3a1973034b9b3441e971be8d291e0306924f58f1969d5cb6e87ac0e4c797641747
|
||||
MISC metadata.xml 585 BLAKE2B 07113af8bf33f8ab4a457387804b65e5927bd40dc42de4931df0e78405ba49e2e9b695de6f3d919070b11e3edca32015f069217624b00549c38e608ffe680cf9 SHA512 fbd6544cfe0826fc63567c55f7882e4c6f61a2ebd337421353ae9afb8c2c66961f6328746fdfbe68ee47e5002193914c809c53a663d4a9a58f64166ba1346f20
|
||||
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
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
|
||||
inherit pypi
|
||||
MY_P=${P/_beta/b}
|
||||
MY_PV=${PV/_beta/b}
|
||||
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 arm arm64 x86"
|
||||
IUSE="+server test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="
|
||||
server? ( acct-group/${PN} acct-user/${PN} )
|
||||
$(python_gen_cond_dep '
|
||||
~dev-python/cryptography-42.0.5[${PYTHON_USEDEP}]
|
||||
dev-python/voluptuous[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
|
||||
dev-python/icmplib[${PYTHON_USEDEP}]
|
||||
server? ( ~dev-python/tornado-6.4[${PYTHON_USEDEP}] )
|
||||
~dev-python/tzlocal-5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/tzdata-2021.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
|
||||
~dev-embedded/platformio-6.1.13[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-embedded/esptool-4.7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/click-8.1.7[${PYTHON_USEDEP}]
|
||||
~dev-embedded/esphome-dashboard-20240319.0[${PYTHON_USEDEP}]
|
||||
dev-python/aioesphomeapi[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
~dev-python/python-magic-0.4.27[${PYTHON_USEDEP}]
|
||||
~dev-python/ruamel-yaml-0.18.6[${PYTHON_USEDEP}]
|
||||
~dev-python/kconfiglib-13.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/argcomplete-2.0.0[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/asyncmock[${PYTHON_USEDEP}]
|
||||
dev-python/hypothesis[${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
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed "/aioesphomeapi==/c\aioesphomeapi" -i requirements.txt || die
|
||||
sed "/click==/c\click" -i requirements.txt || die
|
||||
sed "/colorama==/c\colorama" -i requirements.txt || die
|
||||
sed "/zeroconf==/c\zeroconf" -i requirements.txt || die
|
||||
sed "/voluptuous==/c\voluptuous" -i requirements.txt || die
|
||||
sed "/cryptography==/c\cryptography" -i requirements.txt || die
|
||||
sed "/icmplib==/c\icmplib" -i requirements.txt || die
|
||||
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-r3" "${PN}"
|
||||
readme.gentoo_create_doc
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use server; then
|
||||
readme.gentoo_print_elog
|
||||
fi
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
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
|
||||
inherit pypi
|
||||
MY_P=${P/_beta/b}
|
||||
MY_PV=${PV/_beta/b}
|
||||
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 arm arm64 x86"
|
||||
IUSE="+server test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="
|
||||
server? ( acct-group/${PN} acct-user/${PN} )
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/voluptuous[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
|
||||
dev-python/icmplib[${PYTHON_USEDEP}]
|
||||
server? ( ~dev-python/tornado-6.4[${PYTHON_USEDEP}] )
|
||||
~dev-python/tzlocal-5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/tzdata-2021.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
|
||||
~dev-embedded/platformio-6.1.15[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-embedded/esptool-4.7.0[${PYTHON_USEDEP}]
|
||||
~dev-python/click-8.1.7[${PYTHON_USEDEP}]
|
||||
~dev-embedded/esphome-dashboard-20240412.0[${PYTHON_USEDEP}]
|
||||
dev-python/aioesphomeapi[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
~dev-python/python-magic-0.4.27[${PYTHON_USEDEP}]
|
||||
~dev-python/ruamel-yaml-0.18.6[${PYTHON_USEDEP}]
|
||||
~dev-python/kconfiglib-13.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/argcomplete-2.0.0[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
test? (
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/asyncmock[${PYTHON_USEDEP}]
|
||||
dev-python/hypothesis[${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
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed "/aioesphomeapi==/c\aioesphomeapi" -i requirements.txt || die
|
||||
sed "/click==/c\click" -i requirements.txt || die
|
||||
sed "/colorama==/c\colorama" -i requirements.txt || die
|
||||
sed "/zeroconf==/c\zeroconf" -i requirements.txt || die
|
||||
sed "/voluptuous==/c\voluptuous" -i requirements.txt || die
|
||||
sed "/cryptography==/c\cryptography" -i requirements.txt || die
|
||||
sed "/icmplib==/c\icmplib" -i requirements.txt || die
|
||||
|
||||
# esphome/components/font/__init__.py pillow version check
|
||||
sed "s/10.2.0/10.3.0/g" -i esphome/components/font/__init__.py || die
|
||||
|
||||
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-r3" "${PN}"
|
||||
readme.gentoo_create_doc
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use server; then
|
||||
readme.gentoo_print_elog
|
||||
fi
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
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
|
||||
inherit pypi
|
||||
MY_P=${P/_beta/b}
|
||||
MY_PV=${PV/_beta/b}
|
||||
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 arm arm64 x86"
|
||||
IUSE="+server test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="
|
||||
server? ( acct-group/${PN} acct-user/${PN} )
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/voluptuous[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
|
||||
~dev-python/colorama-0.4.6[${PYTHON_USEDEP}]
|
||||
dev-python/icmplib[${PYTHON_USEDEP}]
|
||||
server? ( ~dev-python/tornado-6.4.1[${PYTHON_USEDEP}] )
|
||||
~dev-python/tzlocal-5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/tzdata-2021.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
|
||||
~dev-embedded/platformio-6.1.15[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-embedded/esptool-4.7.0[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-python/click-8.1.7[${PYTHON_USEDEP}]
|
||||
~dev-embedded/esphome-dashboard-20240620.0[${PYTHON_USEDEP}]
|
||||
dev-python/aioesphomeapi[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
~dev-python/python-magic-0.4.27[${PYTHON_USEDEP}]
|
||||
~dev-python/ruamel-yaml-0.18.6[${PYTHON_USEDEP}]
|
||||
~dev-python/kconfiglib-13.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/argcomplete-2.0.0[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
test? (
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/asyncmock[${PYTHON_USEDEP}]
|
||||
dev-python/hypothesis[${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
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed "/aioesphomeapi==/c\aioesphomeapi" -i requirements.txt || die
|
||||
sed "/click==/c\click" -i requirements.txt || die
|
||||
sed "/tornado==/c\tornado" -i requirements.txt || die
|
||||
sed "/colorama==/c\colorama" -i requirements.txt || die
|
||||
sed "/zeroconf==/c\zeroconf" -i requirements.txt || die
|
||||
sed "/voluptuous==/c\voluptuous" -i requirements.txt || die
|
||||
sed "/cryptography==/c\cryptography" -i requirements.txt || die
|
||||
sed "/icmplib==/c\icmplib" -i requirements.txt || die
|
||||
sed "/pyyaml==/c\pyyaml" -i requirements.txt || die
|
||||
|
||||
# esphome/components/font/__init__.py pillow version check
|
||||
sed "s/10.2.0/10.3.0/g" -i esphome/components/font/__init__.py || die
|
||||
|
||||
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-r3" "${PN}"
|
||||
readme.gentoo_create_doc
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use server; then
|
||||
readme.gentoo_print_elog
|
||||
fi
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
Loading…
x
Reference in New Issue
Block a user