From 8b6adf9a0d6942b062d5f4e0e46bbb23e08fc462 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Feb 2020 07:27:34 +0100 Subject: [PATCH] dev-embedded/platformio: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../platformio/platformio-4.1.0-r1.ebuild | 42 +++++++++++++++++++ .../platformio/platformio-4.1.0.ebuild | 38 ----------------- 2 files changed, 42 insertions(+), 38 deletions(-) create mode 100644 dev-embedded/platformio/platformio-4.1.0-r1.ebuild delete mode 100644 dev-embedded/platformio/platformio-4.1.0.ebuild 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}] +