1 |
commit: 3eee6cc0b921975976c70f61015b94c1ba39e7a1 |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 30 17:56:10 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 7 05:06:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eee6cc0 |
7 |
|
8 |
dev-embedded/platformio: install missing udev rule |
9 |
|
10 |
Closes: https://bugs.gentoo.org/771102 |
11 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/23587 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-embedded/platformio/platformio-5.2.3-r2.ebuild | 73 ++++++++++++++++++++++ |
17 |
1 file changed, 73 insertions(+) |
18 |
|
19 |
diff --git a/dev-embedded/platformio/platformio-5.2.3-r2.ebuild b/dev-embedded/platformio/platformio-5.2.3-r2.ebuild |
20 |
new file mode 100644 |
21 |
index 000000000000..d1a8b6826686 |
22 |
--- /dev/null |
23 |
+++ b/dev-embedded/platformio/platformio-5.2.3-r2.ebuild |
24 |
@@ -0,0 +1,73 @@ |
25 |
+# Copyright 1999-2021 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=8 |
29 |
+ |
30 |
+PYTHON_COMPAT=( python3_{8,9,10} ) |
31 |
+DISTUTILS_SINGLE_IMPL=1 |
32 |
+ |
33 |
+inherit distutils-r1 udev |
34 |
+ |
35 |
+DESCRIPTION="An open source ecosystem for IoT development" |
36 |
+HOMEPAGE="https://platformio.org/" |
37 |
+SRC_URI="https://github.com/platformio/platformio-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+S="${WORKDIR}"/${PN}-core-${PV} |
39 |
+ |
40 |
+LICENSE="BSD" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ $(python_gen_cond_dep ' |
46 |
+ =dev-python/aiofiles-0.7.0*[${PYTHON_USEDEP}] |
47 |
+ <dev-python/bottle-0.13[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/click-7.1.2[${PYTHON_USEDEP}] |
49 |
+ <dev-python/click-9[${PYTHON_USEDEP}] |
50 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pyserial-3[${PYTHON_USEDEP}] |
52 |
+ <dev-python/pyserial-4[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/requests-2.4[${PYTHON_USEDEP}] |
54 |
+ <dev-python/requests-3[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/semantic_version-2.8.1[${PYTHON_USEDEP}] |
56 |
+ <dev-python/semantic_version-3[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}] |
58 |
+ <dev-python/tabulate-1[${PYTHON_USEDEP}] |
59 |
+ dev-python/twisted[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pyelftools-0.25[${PYTHON_USEDEP}] |
61 |
+ <dev-python/pyelftools-1[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}] |
63 |
+ dev-python/starlette[${PYTHON_USEDEP}] |
64 |
+ =dev-python/uvicorn-0.15*[${PYTHON_USEDEP}] |
65 |
+ dev-python/wsproto[${PYTHON_USEDEP}] |
66 |
+ dev-python/zeroconf[${PYTHON_USEDEP}] |
67 |
+ ') |
68 |
+ virtual/udev" |
69 |
+DEPEND="virtual/udev" |
70 |
+BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )" |
71 |
+ |
72 |
+# This list could be refined a bit to have individual tests which need network |
73 |
+# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now. |
74 |
+EPYTEST_IGNORE=( |
75 |
+ # Requires network access |
76 |
+ tests/test_builder.py |
77 |
+ tests/package/test_manager.py |
78 |
+ tests/package/test_manifest.py |
79 |
+ tests/commands/test_platform.py |
80 |
+ tests/commands/test_test.py |
81 |
+ tests/commands/test_ci.py |
82 |
+ tests/commands/test_init.py |
83 |
+ tests/commands/test_lib.py |
84 |
+ tests/commands/test_lib_complex.py |
85 |
+ tests/commands/test_boards.py |
86 |
+ tests/commands/test_check.py |
87 |
+ tests/test_ino2cpp.py |
88 |
+ tests/test_maintenance.py |
89 |
+ tests/test_misc.py |
90 |
+) |
91 |
+ |
92 |
+distutils_enable_tests pytest |
93 |
+ |
94 |
+src_install() { |
95 |
+ distutils-r1_src_install |
96 |
+ udev_dorules scripts/99-platformio-udev.rules |
97 |
+} |