dev-embedded/esphome: remove stale file
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
af7009594e
commit
bead7fec3f
@ -13,5 +13,4 @@ EBUILD esphome-2024.3.2-r1.ebuild 3376 BLAKE2B 0be165e7f690571282b22df76b8bfb617
|
||||
EBUILD esphome-2024.5.2.ebuild 3330 BLAKE2B 55963de1f6704aa5630ff3210f8e81ab2ec81eb4d3b8b35f5bf2e6113f5f961b76f2b167c313db3a8360a750ad5c9c4a90c5ff957786f03e537d44afb148f6d0 SHA512 7706c8a358aa143cf57e908fe924b8a3466ae4a1733d5d55004c0c9a48ffc090e4cbc04bf59d7528dbaaa52bafdcc8dd7675952486752acd85fd33198aa6045a
|
||||
EBUILD esphome-2024.5.3-r1.ebuild 3463 BLAKE2B ae4bebe7c97a891765287a7e8f7ccd63aad12998e5dfd27d732af3ade5561f54d43864ea26090eee428510da9be18fc9172d749e3cb053ac111003e3f9580fa6 SHA512 72faa1c031fac08440c9f27f8083fc8c14c38ef2b0310c513266ee425c9491c918253763fa74272d5384bcc70ba0161cc660a8ff0ce8d05a9a602bde60bcc58c
|
||||
EBUILD esphome-9999.ebuild 3219 BLAKE2B 2bd978a559ffdfe08f8718a155b6df6df2b492f815997d51e9856d2ba048b0d41a65f8fa3eefbb7bed57cd697ee2bd9a89fdc80a262ee9020fe380a3e6f0ade8 SHA512 a9f5dbc7fc37a771ac9d18a52b2ebd9fb0bc6e5c3f23eec82248a9f91cc27e90ebd8b2f0725227cb12538a56f6b941a0f74457ac7df2cc63118bb93dc6d1ac8b
|
||||
MISC esphome-2024.5.3-r1.ebuild~ 3479 BLAKE2B ceef547d913c62430575adc8d49c1728213c6ddc0d974522f35fb56d412efa56294a743ecba57b085c1bbb7055ab23ab6f3d5162358f9c7a748d86bdafe645bb SHA512 692c11700ae32cf1466cd0e839073fb1ef605cbe2b5a37b9a0901f090adc7ba4bcb42789b4498db4e59f237a2c30464f1e92ccb7e5c6f979e9179d7332cfe372
|
||||
MISC metadata.xml 585 BLAKE2B 07113af8bf33f8ab4a457387804b65e5927bd40dc42de4931df0e78405ba49e2e9b695de6f3d919070b11e3edca32015f069217624b00549c38e608ffe680cf9 SHA512 fbd6544cfe0826fc63567c55f7882e4c6f61a2ebd337421353ae9afb8c2c66961f6328746fdfbe68ee47e5002193914c809c53a663d4a9a58f64166ba1346f20
|
||||
|
@ -1,114 +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..13} )
|
||||
|
||||
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/esphome/components/font/__init__.py pillow version check
|
||||
sed "s/10.2.0/10.3.0/g" -i esphome/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…
Reference in New Issue
Block a user