# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi systemd DESCRIPTION="ESPHome is a system to configure your microcontrollers by simple yet powerful configuration files and control them remotely through Home Automation systems" HOMEPAGE=" https://esphome.io/ https://github.com/esphome/esphome https://pypi.org/project/esphome/ " LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" RDEPEND=" >=dev-python/cryptography-46.0.5[${PYTHON_USEDEP}] >=dev-python/voluptuous-0.16.0[${PYTHON_USEDEP}] >=dev-python/paho-mqtt-1.6.1[${PYTHON_USEDEP}] >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] >=dev-python/icmplib-3.0.4[${PYTHON_USEDEP}] >=dev-python/tornado-6.5.5[${PYTHON_USEDEP}] >=dev-python/tzlocal-5.3.1[${PYTHON_USEDEP}] >=dev-python/tzdata-2021.1[${PYTHON_USEDEP}] >=dev-python/pyserial-3.5[${PYTHON_USEDEP}] >=dev-embedded/platformio-6.1.19[${PYTHON_USEDEP}] >=dev-embedded/esptool-4.2.0 >=dev-python/click-8.3.1[${PYTHON_USEDEP}] >=dev-python/esphome-dashboard-20260210.0[${PYTHON_USEDEP}] >=dev-python/aioesphomeapi-44.5.1[${PYTHON_USEDEP}] >=dev-python/zeroconf-0.148.0[${PYTHON_USEDEP}] >=dev-python/puremagic-1.30[${PYTHON_USEDEP}] >=dev-python/ruamel-yaml-0.19.1[${PYTHON_USEDEP}] >=dev-python/ruamel-yaml-clib-0.2.15[${PYTHON_USEDEP}] >=dev-python/esphome-glyphsets-0.2.0[${PYTHON_USEDEP}] >=dev-python/pillow-12.1.1[${PYTHON_USEDEP}] >=dev-python/freetype-py-2.5.1[${PYTHON_USEDEP}] >=dev-python/jinja2-3.1.6[${PYTHON_USEDEP}] >=dev-python/bleak-2.1.1[${PYTHON_USEDEP}] >=dev-python/smpclient-6.0.0[${PYTHON_USEDEP}] >=dev-python/requests-2.32.5[${PYTHON_USEDEP}] >=dev-python/pyparsing-3.0[${PYTHON_USEDEP}] >=dev-python/argcomplete-2.0.0[${PYTHON_USEDEP}] acct-user/esphome acct-group/esphome " src_install() { distutils-r1_src_install systemd_newunit "${FILESDIR}/esphome.service" "esphome.service" } pkg_postinst() { elog "Start service with: systemctl enable --now esphome" }