# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/espressif/esp-pylib
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 pypi

DESCRIPTION="library for logging, utils and constants for Espressif Systems' Python projects"
HOMEPAGE="
	https://github.com/espressif/esp-pylib/
	https://pypi.org/project/esp-pylib/
"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-python/click[${PYTHON_USEDEP}]
	dev-python/pyserial[${PYTHON_USEDEP}]
	dev-python/rich-click[${PYTHON_USEDEP}]
	dev-python/websockets[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=( )
distutils_enable_tests pytest
