dev-embedded/esphome: drop 2023.10.6, 2023.11.6, 2024.3.0
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
b1759cdcaf
commit
98c4090306
@ -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 1845 Ebuilds in total, 1834 of them have in total 1856 (42 different) licenses assigned.
|
||||
There are 1842 Ebuilds in total, 1831 of them have in total 1853 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1062|
|
||||
|MIT|1059|
|
||||
|Apache-2.0|406|
|
||||
|BSD|108|
|
||||
|GPL-3|107|
|
||||
|
@ -2,18 +2,12 @@ AUX esphome.conf.d 349 BLAKE2B 54df063ef9805fd8de3eeb4f77331b22c256786817a305d9b
|
||||
AUX esphome.init.d-r1 605 BLAKE2B c6443e2a9730638bda08bda51638d4cd8ee965526ae0fdb04d74a1b376ea7b461d5925b0fe8cb35cc991709a824c1c942902cfbdbe99823b39bd80abf46ca5f3 SHA512 98ef2a6d5524152e24b04b1e644e5672e6bebee8b68fbcc37b46f403fdbf1de24547e394ce52281b6ff5711a987c56c9f55c36b9ae871433ca7a4d3fc6e19297
|
||||
AUX esphome.init.d-r2 650 BLAKE2B 106e71245d76858dcd3deccfae0f4880053a39d7c280ca79a74adbf44ebff73c56fe7903a3dc1c1a3088d513be2e98c6edc2742ff137b384cbf088967395c09b SHA512 b983ca4b4645e5b79cab2804bc6fc0220a61e2b0234d6f7655c7eaef6cf507bc9791ec16843bee0767c9f3f0dbd88e28b93c39a9e945ca6a5e849dec5c58aa64
|
||||
AUX esphome.init.d-r3 650 BLAKE2B dc3750f8749e6183d0496b575a46fc55430b89bf973c75bf83c91b688f67e458d828b116e207042797852d5340967609224b806dc09190f92b8ebdcbf55e5388 SHA512 48cbcc982e95ff4d4486edf8ca91f742026f1745f23e4339d01dca016461ff0da2c37ee1539a5750e2d0ee339408bfbe16ff4b8c6cb2dcbbd97e382b7f0759d3
|
||||
DIST esphome-2023.10.6.tar.gz 1911193 BLAKE2B 447cb63d291ec5009c9ed99a35540d6ea5074127f32725fa204d47cfeb715e2d03c14f98b8290abd36eace5685eace214150ef0481a48f654c826b59084b1dd4 SHA512 0b67f836d0e05c34893f7e9b5f6a5de91fec68ddf137bf72a04599089a233f2df0c8dbbd165d5262fa70f29e22a1f91f2cc38b3c05eba3eff76624acaab3d6df
|
||||
DIST esphome-2023.11.6.tar.gz 1986566 BLAKE2B b43642e0bec333729bcd2cd738c65816b7556a3bee29dcabd056dc06deddda7fd39ce308fb2c158afe44df9d25c864ee230c400d5577b6cef98b6d94324b5868 SHA512 fe8fc28d261b5ab1bc23e67000377907edbf4db1526431f0b51e9a772fd7799e6fb9a4be3d0248909603cfa021a9b433a69cf3c710363ce74e2662c6869964ae
|
||||
DIST esphome-2023.12.9.tar.gz 2064985 BLAKE2B 38d7a842a461aebed8352f54093259f8c5a845c2a7f487216a77ecc4179dbe2e6848e2255428711f67a54e598c7c97709a23458d6092d37995031f86069b9157 SHA512 5065ea80fc3296612427a365dfdb98d6f7befa6b0e5f7abd22e82b1617c247245c780ec6c0303b8c7f0a9e3334bd90be84d97e0fb768dfcc09032966cbec830b
|
||||
DIST esphome-2024.2.2.tar.gz 2127565 BLAKE2B 52aa760c3c9050640aaabe51ea9f01ed146b76c2ff0a48de855f027c9c92c2df3fb05eb81a4dda27f51cef061116c8b7088864db68756bd918a113807ef693fb SHA512 0f1e4277a0bd12adff8e4cfec702e9e00c6023fa8682d1f247d0153739153cc14956a94044a634afaf3d0a311543a5a4a8c04dd7c791c5c61c994625118b300c
|
||||
DIST esphome-2024.3.0.tar.gz 2236732 BLAKE2B 349223e4e06c811925e2fbb7974954f43a9af9fa6b84d4e5b1751bc955afbed1d6b7682fc1471cbeab3142245576161f57e4ea0769ae061a65ff53739650ef36 SHA512 c54184c85b11a0ea331b6d751acf24c72548ad446c3d226266c1223829671cf78cb2f14e4a577873c08c82d8150ba61f02114308dcfebabed89fbf718eb52641
|
||||
DIST esphome-2024.3.2.tar.gz 2236891 BLAKE2B 8d3d5845a0735c0c3c60163a4709265d6ecb2326a0cba969897a794cc4154f4538c49bdcbcb32236e1053389b647c3bb9fdad55844aa1af3d888acaeb465db2b SHA512 8d3273a886987118865e9bbffe7edfe5922fab670387f093b111b07497b5165040fa1f452c7687b322704446fc0c61df08bc06987e43ab46d62d5e10b08abd14
|
||||
DIST esphome-2024.5.2.tar.gz 2429586 BLAKE2B ac8cfaca5cb5874fe39f2f1091f1fd1eea721acf7b80201d50867c279b9bd83d80de798820e4427571307749738cb9ed19276b17018d8f456cf8b361e45fa8f9 SHA512 b9dad971a483d38f17ff0d9ca2d6080b22c003e2d5163c32e1e550224e158fd83f35c4ac0cee10b5a834b7acf715def7b8caff9c7ebf21a8361131ccce701133
|
||||
EBUILD esphome-2023.10.6.ebuild 3003 BLAKE2B 4daeb36a1081b6608dee0a50836812abe9bca242a06b59223f7c8ed97a0e10c95d059264e1519123f24cdafe2e3d73e28629d13144b4d1ab180ba0d5da9e354d SHA512 c804ce991fada5225e0303cecb44e31b567ce0ed5f0f39550715051a0976afd9c8ab542c8df3b19819827d8e981ad205a1a36a2fa7419748248e3a33853000b8
|
||||
EBUILD esphome-2023.11.6.ebuild 3063 BLAKE2B 2389d0dc3fd36d89041b632227b5d0e06d68e88075263fa6b60848625dff3f3098dda8c557e28952ecf48f11656170700e3246859861e6500ea8f65adb34f4cc SHA512 594a88da89f265d7278bc8df8cab5567beb20f0d3ae65c3993c473886afb7a078ad7d8da36469f1663269be54a5c132aaf01b828d1446c9c45ba24cc5b5aede3
|
||||
EBUILD esphome-2023.12.9.ebuild 3114 BLAKE2B e6ba9c1299d960c69dba6d1b5ffebb71bfa708d21b3bdec867d4e73107d3f78255322229f5f9651fd8522cf97f35f7d95cdeb5a8c1c17cda0e20386de6b037c4 SHA512 ceee6bb8e5d67fa5cece7ada37e1580f48351f068583ef757f988915d3c3c07149259b713bdd2b759d5c312b08f4853f5a800237769edaf5c6568449131d6e43
|
||||
EBUILD esphome-2024.2.2.ebuild 3181 BLAKE2B 66739de0635c499a4cba796999f6177cb42264a87ddc41a9f0cfc4e8d333b353da9f2f1f0b6fe95b7363a02a6a5bbe7f25d3ca14f5eced83671836eff099a606 SHA512 3a8157f256da934d01183425957ddcd6849bd78928a6e6d4e5268a1ad2018b5c1487b4a573f326c2f16843bdfab6339380ee34fe126c54c6f86a4cc2045cc628
|
||||
EBUILD esphome-2024.3.0.ebuild 3383 BLAKE2B 53277fbdc0f7b64ec51d138ab4689f9ff4c41876aeab139009244b04aa55a558878a40123376fd9b332fb88e30acb7b3cad95b58ad80782a343586768958e252 SHA512 7639e4a4a827c5e745ac570dbd139f34ecf404f6758443709e9bd77f32b4fe224cfb60a117875df3a367ca40716eb552ce4435b53960a00c392db8f4e5f5894a
|
||||
EBUILD esphome-2024.3.2-r1.ebuild 3376 BLAKE2B 6cb4ef37a4db313e39166570fa892144d5105377750ede5cbe8f227f1a4380949e87eca14958e83b9781451a0e99e4c645b4b7749209613bdc845d0d810a4082 SHA512 6e76bd6102b34421d8d2d6691e5318660c3260430d00671901901c0118e73b11aecb5f135609e6030ca5bfca792a1ed97c873ec121e8e06b2a94717703bd4115
|
||||
EBUILD esphome-2024.5.2.ebuild 3379 BLAKE2B 1dea110d29b22b966feef250a8841cbb6f76741aff853dd77a537ee61ac3916ae56c1171605a05009c62821893aeee7750acf57ca75f58fb8d42d304e8cb8ece SHA512 86e4285ca2b6f9937fed17107b1ad62ce553629e08c2f5cd802b29f2fad7ac42beac12b8e0a5bc3bac974c7e47bfbcf24d727316fcb1b373cd29e065166d63ab
|
||||
EBUILD esphome-9999.ebuild 3219 BLAKE2B df2d86fc84e7ac2baeb1c36dd21931cb353b74e340eed316a606db8d96fc4df0ea48bb25cb9615dbeac0b72f766205bb5ae98abfc305c71049e8faac327b512c SHA512 6f678afd7ed7fbba3e76b4accd0d873db286ec3d97abac3bb1414eb6dde76a22931eaa48909786b5e0e6b6f434ba36b685a8417f6bc93991aada4e9cc55dd620
|
||||
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2024 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=( python3_{11..12} )
|
||||
|
||||
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/voluptuous-0.13.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
server? ( ~dev-python/tornado-6.3.3[${PYTHON_USEDEP}] )
|
||||
~dev-python/tzlocal-5.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/tzdata-2021.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
|
||||
~dev-embedded/platformio-6.1.11[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-embedded/esptool-4.6.2[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-python/click-8.1.7[${PYTHON_USEDEP}]
|
||||
~dev-embedded/esphome-dashboard-20230904.0[${PYTHON_USEDEP}]
|
||||
dev-python/aioesphomeapi[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
~dev-python/kconfiglib-13.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3.0[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
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
|
||||
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,105 +0,0 @@
|
||||
# Copyright 1999-2024 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=( python3_{11..12} )
|
||||
|
||||
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/voluptuous-0.13.1[${PYTHON_USEDEP}]
|
||||
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
~dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
server? ( ~dev-python/tornado-6.3.3[${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.11[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-embedded/esptool-4.6.2[${PYTHON_SINGLE_USEDEP}]
|
||||
~dev-python/click-8.1.7[${PYTHON_USEDEP}]
|
||||
~dev-embedded/esphome-dashboard-20231107.0[${PYTHON_USEDEP}]
|
||||
dev-python/aioesphomeapi[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
~dev-python/python-magic-0.4.27[${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
|
||||
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,111 +0,0 @@
|
||||
# Copyright 1999-2024 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=( python3_{11..12} )
|
||||
|
||||
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_SINGLE_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
|
Loading…
x
Reference in New Issue
Block a user