dev-embedded/esphome: add 2023.11.6
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
cfe4f54171
commit
7f1e6eb042
@ -612,11 +612,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 1765 Ebuilds in total, 1754 of them have in total 1775 (43 different) licenses assigned.
|
||||
There are 1766 Ebuilds in total, 1755 of them have in total 1776 (43 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1030|
|
||||
|MIT|1031|
|
||||
|Apache-2.0|371|
|
||||
|GPL-3|106|
|
||||
|BSD|100|
|
||||
@ -660,9 +660,9 @@ There are 1765 Ebuilds in total, 1754 of them have in total 1775 (43 different)
|
||||
|GPL-2+|1|
|
||||
|GPL-2-with-linking-exception|1|
|
||||
|
||||
(Last counted: 11/12/2023)
|
||||
(Last counted: 12/12/2023)
|
||||
|
||||
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
|
||||
|
||||
A big thanks goes to Iris for reviewing this README.
|
||||
Last updated: 11/12/2023
|
||||
Last updated: 12/12/2023
|
||||
|
||||
@ -6,9 +6,11 @@ DIST esphome-2023.10.1.tar.gz 1908857 BLAKE2B d22108dd0d8153b0e5c297f0c13611d325
|
||||
DIST esphome-2023.10.6.tar.gz 1911193 BLAKE2B 447cb63d291ec5009c9ed99a35540d6ea5074127f32725fa204d47cfeb715e2d03c14f98b8290abd36eace5685eace214150ef0481a48f654c826b59084b1dd4 SHA512 0b67f836d0e05c34893f7e9b5f6a5de91fec68ddf137bf72a04599089a233f2df0c8dbbd165d5262fa70f29e22a1f91f2cc38b3c05eba3eff76624acaab3d6df
|
||||
DIST esphome-2023.11.3.tar.gz 1984861 BLAKE2B 563ef4095be1592751402f63f211fcfa472e1ad08b1afab7fc4dc219768c7de40f492bec1048b5daf40b1c65db1f95f008f2a5344861f54953bf09ec077d3e88 SHA512 ed1d14d682d4191400e3b739505be6d0c4b386e930037d6508b70cb893d388e782ec53fdc72c933969cca2245e511949265a6e03204b993e1e779a8d9d0ca796
|
||||
DIST esphome-2023.11.4.tar.gz 1986278 BLAKE2B ab127301fa734b4465d95fd57390dde465f774b724122ac92c0b50333b7b19c576e04e72ba6ca9b8d537a129a3333649a4e41e15a4321a246611e9bb1f62424c SHA512 5542cb78c3caf1e341e2e75c7c040dc039b0239a9b42c120791ca73206e5a6be5094f93845dbcdb8956fb9dcb700ca33da94ec3d3b4c6c35312c60b3c881b46b
|
||||
DIST esphome-2023.11.6.tar.gz 1986566 BLAKE2B b43642e0bec333729bcd2cd738c65816b7556a3bee29dcabd056dc06deddda7fd39ce308fb2c158afe44df9d25c864ee230c400d5577b6cef98b6d94324b5868 SHA512 fe8fc28d261b5ab1bc23e67000377907edbf4db1526431f0b51e9a772fd7799e6fb9a4be3d0248909603cfa021a9b433a69cf3c710363ce74e2662c6869964ae
|
||||
EBUILD esphome-2023.10.1.ebuild 2954 BLAKE2B 8e757631a43be265fb253ca4a2072cbec2e7ef572b46baee7798b616a96a4699cecb66e758eff1d5abacda27e67a89f3f8bb09d019bd0afb234171d926eae626 SHA512 01f6ab89220ef3f8ebeb9dacb40885577691c0c9fd97b5f2700ce198137a6c001db4d4ce2c9da6a0769326dd88f1bd8a91a5c2e52a95092be1785a4855d366e4
|
||||
EBUILD esphome-2023.10.6.ebuild 3003 BLAKE2B 98d6bcc56d1fc44c9cbaf02729c293f6903d05fd7a56e88146f334a61702003df8ba42ad0c825c038909b4bf5cbcf37bbf6bef894b577b98aa5404f50ed31625 SHA512 61fe410085bee8fb252b375659660a7890099db9ddb230b2ebb32d97785f034775e3435fdad31933c27b2d5c20f10dad425984f73ef534a001d960b99a35a0b3
|
||||
EBUILD esphome-2023.11.3.ebuild 3052 BLAKE2B 3b17c19adf2ee295af13120017ac6ef0e93ff18fe21494eecd0d3216e704c32a595be8ca153b4bd198a8abd668b6e8c4a0a7d696b5be8bae53ad91a014bb96ec SHA512 c25fde9276053680d007f0e6d7550a210b4057f0ed87166a4b5b83ea07e76d8a8ef8a42d02c7730081e41ee55aaecaaa4720e9b58626f90cbfa836d9f626a8fd
|
||||
EBUILD esphome-2023.11.4.ebuild 3063 BLAKE2B 58aff5ecc274b0b19f2df4d1465c9447282ddf72cbff18327d4cf50d563ad5a228a76ff2268719815193f580f5a64bc0aaac572264f8ce9a8b1ce88a54490d0d SHA512 2c3442a3752acf595530abdf6f44dcf2af390f1fd1c552487912c3f6a90b0fd5906a56c6671591969edd4e66ae2bc1ec4f7b78e010a96e12cbe9273eea8f4875
|
||||
EBUILD esphome-2023.11.6.ebuild 3063 BLAKE2B 58aff5ecc274b0b19f2df4d1465c9447282ddf72cbff18327d4cf50d563ad5a228a76ff2268719815193f580f5a64bc0aaac572264f8ce9a8b1ce88a54490d0d SHA512 2c3442a3752acf595530abdf6f44dcf2af390f1fd1c552487912c3f6a90b0fd5906a56c6671591969edd4e66ae2bc1ec4f7b78e010a96e12cbe9273eea8f4875
|
||||
EBUILD esphome-9999.ebuild 3013 BLAKE2B 3f4bc2dc6a77704c93c58d79b9a9222e7d12db4c8b08f72b7d6c63f4070675ef5818f837448ebbb2a6b03b6a17f38ae30d2c23a595f186cc9ae4887521a54385 SHA512 20a0d0c32b177ffa135178ef0ae03f0943648c2fcb70010b30407e24c1445d7cd76185e50199f3fe88a0f63d6f290019ca6ecca57dd3955e969039ee39d84023
|
||||
MISC metadata.xml 585 BLAKE2B 07113af8bf33f8ab4a457387804b65e5927bd40dc42de4931df0e78405ba49e2e9b695de6f3d919070b11e3edca32015f069217624b00549c38e608ffe680cf9 SHA512 fbd6544cfe0826fc63567c55f7882e4c6f61a2ebd337421353ae9afb8c2c66961f6328746fdfbe68ee47e5002193914c809c53a663d4a9a58f64166ba1346f20
|
||||
|
||||
105
dev-embedded/esphome/esphome-2023.11.6.ebuild
Normal file
105
dev-embedded/esphome/esphome-2023.11.6.ebuild
Normal file
@ -0,0 +1,105 @@
|
||||
# Copyright 1999-2023 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_{10..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
|
||||
Loading…
x
Reference in New Issue
Block a user