# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 udev DESCRIPTION="An open source ecosystem for IoT development" HOMEPAGE="https://platformio.org/" SRC_URI="https://github.com/platformio/platformio-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}"/${PN}-core-${PV} LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" $(python_gen_cond_dep ' =dev-python/aiofiles-22.1*[${PYTHON_USEDEP}] dev-python/ajsonrpc[${PYTHON_USEDEP}] =dev-python/pyserial-3[${PYTHON_USEDEP}] =dev-python/python-zeroconf-0.37[${PYTHON_USEDEP}] =dev-python/requests-2*[${PYTHON_USEDEP}] >=dev-python/semantic_version-2.9[${PYTHON_USEDEP}] =dev-python/pyelftools-0.27[${PYTHON_USEDEP}]