From a4853280a48c9a0d25a2bb322569d400cbcef241 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 15 Dec 2021 00:12:48 +0000 Subject: dev-embedded/platformio: add missing starlette dependency I added it specificially for this package and still forgot! Bug: https://bugs.gentoo.org/807748 Thanks-to: Nils Freydank Signed-off-by: Sam James --- dev-embedded/platformio/platformio-5.2.3-r1.ebuild | 66 ++++++++++++++++++++++ dev-embedded/platformio/platformio-5.2.3.ebuild | 65 --------------------- 2 files changed, 66 insertions(+), 65 deletions(-) create mode 100644 dev-embedded/platformio/platformio-5.2.3-r1.ebuild delete mode 100644 dev-embedded/platformio/platformio-5.2.3.ebuild (limited to 'dev-embedded/platformio') diff --git a/dev-embedded/platformio/platformio-5.2.3-r1.ebuild b/dev-embedded/platformio/platformio-5.2.3-r1.ebuild new file mode 100644 index 000000000000..9acf0d537f4d --- /dev/null +++ b/dev-embedded/platformio/platformio-5.2.3-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +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" + +RDEPEND=" + $(python_gen_cond_dep ' + =dev-python/aiofiles-0.7.0*[${PYTHON_USEDEP}] + =dev-python/click-7.1.2[${PYTHON_USEDEP}] + =dev-python/pyserial-3[${PYTHON_USEDEP}] + =dev-python/requests-2.4[${PYTHON_USEDEP}] + =dev-python/semantic_version-2.8.1[${PYTHON_USEDEP}] + =dev-python/tabulate-0.8.3[${PYTHON_USEDEP}] + =dev-python/pyelftools-0.25[${PYTHON_USEDEP}] + =dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}] + dev-python/starlette[${PYTHON_USEDEP}] + =dev-python/uvicorn-0.15*[${PYTHON_USEDEP}] + dev-python/wsproto[${PYTHON_USEDEP}] + dev-python/zeroconf[${PYTHON_USEDEP}] + ')" +BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )" + +# This list could be refined a bit to have individual tests which need network +# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now. +EPYTEST_IGNORE=( + # Requires network access + tests/test_builder.py + tests/package/test_manager.py + tests/package/test_manifest.py + tests/commands/test_platform.py + tests/commands/test_test.py + tests/commands/test_ci.py + tests/commands/test_init.py + tests/commands/test_lib.py + tests/commands/test_lib_complex.py + tests/commands/test_boards.py + tests/commands/test_check.py + tests/test_ino2cpp.py + tests/test_maintenance.py + tests/test_misc.py +) + +distutils_enable_tests pytest diff --git a/dev-embedded/platformio/platformio-5.2.3.ebuild b/dev-embedded/platformio/platformio-5.2.3.ebuild deleted file mode 100644 index 32e82e7714c2..000000000000 --- a/dev-embedded/platformio/platformio-5.2.3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10} ) -DISTUTILS_SINGLE_IMPL=1 - -inherit distutils-r1 - -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-0.7.0*[${PYTHON_USEDEP}] - =dev-python/click-7.1.2[${PYTHON_USEDEP}] - =dev-python/pyserial-3[${PYTHON_USEDEP}] - =dev-python/requests-2.4[${PYTHON_USEDEP}] - =dev-python/semantic_version-2.8.1[${PYTHON_USEDEP}] - =dev-python/tabulate-0.8.3[${PYTHON_USEDEP}] - =dev-python/pyelftools-0.25[${PYTHON_USEDEP}] - =dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}] - =dev-python/uvicorn-0.15*[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - dev-python/zeroconf[${PYTHON_USEDEP}] - ')" -BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )" - -# This list could be refined a bit to have individual tests which need network -# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now. -EPYTEST_IGNORE=( - # Requires network access - tests/test_builder.py - tests/package/test_manager.py - tests/package/test_manifest.py - tests/commands/test_platform.py - tests/commands/test_test.py - tests/commands/test_ci.py - tests/commands/test_init.py - tests/commands/test_lib.py - tests/commands/test_lib_complex.py - tests/commands/test_boards.py - tests/commands/test_check.py - tests/test_ino2cpp.py - tests/test_maintenance.py - tests/test_misc.py -) - -distutils_enable_tests pytest -- cgit v1.2.3-65-gdbad