From: Michał Górny Date: Sat, 8 Feb 2020 06:27:34 +0000 (+0100) Subject: dev-embedded/platformio: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8b6adf9a0d6942b062d5f4e0e46bbb23e08fc462;p=gentoo.git dev-embedded/platformio: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- diff --git a/dev-embedded/platformio/platformio-4.1.0-r1.ebuild b/dev-embedded/platformio/platformio-4.1.0-r1.ebuild new file mode 100644 index 000000000000..0c28bb271d22 --- /dev/null +++ b/dev-embedded/platformio/platformio-4.1.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +DESCRIPTION="An open source ecosystem for IoT development" +HOMEPAGE="https://platformio.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_MULTI_USEDEP}] + ')" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + =dev-python/click-5[${PYTHON_MULTI_USEDEP}] + =dev-python/pyserial-3[${PYTHON_MULTI_USEDEP}] + =dev-python/requests-2.4[${PYTHON_MULTI_USEDEP}] + =dev-python/semantic_version-2.8.1[${PYTHON_MULTI_USEDEP}] + =dev-python/tabulate-0.8.3[${PYTHON_MULTI_USEDEP}] + =dev-python/pyelftools-0.25[${PYTHON_MULTI_USEDEP}] + =dev-python/marshmallow-2.20.5[${PYTHON_MULTI_USEDEP}] +