diff options
author | Dennis Lamm <expeditioneer@gentoo.org> | 2021-12-30 18:56:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-07 05:06:47 +0000 |
commit | 3eee6cc0b921975976c70f61015b94c1ba39e7a1 (patch) | |
tree | ca21799bfc985484a8c035c5b86a46fa6cbda30e /dev-embedded/platformio | |
parent | www-apps/hugo: Remove old ebuild (diff) | |
download | gentoo-3eee6cc0b921975976c70f61015b94c1ba39e7a1.tar.gz gentoo-3eee6cc0b921975976c70f61015b94c1ba39e7a1.tar.bz2 gentoo-3eee6cc0b921975976c70f61015b94c1ba39e7a1.zip |
dev-embedded/platformio: install missing udev rule
Closes: https://bugs.gentoo.org/771102
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/23587
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded/platformio')
-rw-r--r-- | dev-embedded/platformio/platformio-5.2.3-r2.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/dev-embedded/platformio/platformio-5.2.3-r2.ebuild b/dev-embedded/platformio/platformio-5.2.3-r2.ebuild new file mode 100644 index 000000000000..d1a8b6826686 --- /dev/null +++ b/dev-embedded/platformio/platformio-5.2.3-r2.ebuild @@ -0,0 +1,73 @@ +# 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 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-0.7.0*[${PYTHON_USEDEP}] + <dev-python/bottle-0.13[${PYTHON_USEDEP}] + >=dev-python/click-7.1.2[${PYTHON_USEDEP}] + <dev-python/click-9[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + >=dev-python/pyserial-3[${PYTHON_USEDEP}] + <dev-python/pyserial-4[${PYTHON_USEDEP}] + >=dev-python/requests-2.4[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + >=dev-python/semantic_version-2.8.1[${PYTHON_USEDEP}] + <dev-python/semantic_version-3[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}] + <dev-python/tabulate-1[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + >=dev-python/pyelftools-0.25[${PYTHON_USEDEP}] + <dev-python/pyelftools-1[${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}] + ') + virtual/udev" +DEPEND="virtual/udev" +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 + +src_install() { + distutils-r1_src_install + udev_dorules scripts/99-platformio-udev.rules +} |