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