1 |
commit: ecc2b632d84cca11c5b408adbb0f2a248af79dd6 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 14 20:15:31 2022 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 14 20:20:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc2b632 |
7 |
|
8 |
dev-embedded/platformio: add 6.1.4 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/862085 |
11 |
Signed-off-by: Alexey Shvetsov (Alexey Shvetsov) <alexxy <AT> gentoo.org> |
12 |
|
13 |
dev-embedded/platformio/Manifest | 1 + |
14 |
dev-embedded/platformio/platformio-6.1.4.ebuild | 116 ++++++++++++++++++++++++ |
15 |
2 files changed, 117 insertions(+) |
16 |
|
17 |
diff --git a/dev-embedded/platformio/Manifest b/dev-embedded/platformio/Manifest |
18 |
index 9756ab40a050..c0feb85128e1 100644 |
19 |
--- a/dev-embedded/platformio/Manifest |
20 |
+++ b/dev-embedded/platformio/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST platformio-6.0.2.tar.gz 285452 BLAKE2B c70523837b5118fcc1209a36a425fb6ab0aac73e56732916ff3d39fe87d50a47bf7d31d77324f491093ed366b1b3e4f88274e973bc896b164f5a07687a53bd12 SHA512 a2e48ad9ca22024a06509a9e36e5a7586088d0e8abd67d309d1988a8a112a41e301f077f1b466b5db390dc4048add570acd5bb762bbf22db69715dead0d8fc89 |
23 |
+DIST platformio-6.1.4.tar.gz 290408 BLAKE2B 41a977d9b5e51a1e65ef61973301ab6e7e9ad0adbe6d4df2640b13f46623055df8303435a664acdd267ad8811229687b6abb088d5b331c33fb46bbe33ab188b1 SHA512 8c46b21212de2fb7579540c51b17061666b8abe4706800fe30fea053cb4233c17a03c2388295f9fb3a21602126f0c2c13f1dd80db962ef1b3d5c31c9a30791c7 |
24 |
|
25 |
diff --git a/dev-embedded/platformio/platformio-6.1.4.ebuild b/dev-embedded/platformio/platformio-6.1.4.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..827140a1feaa |
28 |
--- /dev/null |
29 |
+++ b/dev-embedded/platformio/platformio-6.1.4.ebuild |
30 |
@@ -0,0 +1,116 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_SINGLE_IMPL=1 |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit distutils-r1 udev |
41 |
+ |
42 |
+DESCRIPTION="An open source ecosystem for IoT development" |
43 |
+HOMEPAGE="https://platformio.org/" |
44 |
+SRC_URI="https://github.com/platformio/platformio-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}"/${PN}-core-${PV} |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ <dev-python/aiofiles-0.9[${PYTHON_USEDEP}] |
54 |
+ dev-python/ajsonrpc[${PYTHON_USEDEP}] |
55 |
+ <dev-python/bottle-0.13[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/click-8[${PYTHON_USEDEP}] |
57 |
+ <dev-python/click-9[${PYTHON_USEDEP}] |
58 |
+ dev-python/colorama[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pyserial-3[${PYTHON_USEDEP}] |
60 |
+ <dev-python/pyserial-4[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/requests-2.4[${PYTHON_USEDEP}] |
62 |
+ <dev-python/requests-3[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/semantic_version-2.9[${PYTHON_USEDEP}] |
64 |
+ <dev-python/semantic_version-3[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}] |
66 |
+ <dev-python/tabulate-1[${PYTHON_USEDEP}] |
67 |
+ dev-python/twisted[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/pyelftools-0.25[${PYTHON_USEDEP}] |
69 |
+ <dev-python/pyelftools-1[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}] |
71 |
+ =dev-python/starlette-0.18*[${PYTHON_USEDEP}] |
72 |
+ =dev-python/uvicorn-0.17*[${PYTHON_USEDEP}] |
73 |
+ dev-python/wsproto[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/zeroconf-0.37[${PYTHON_USEDEP}] |
75 |
+ ') |
76 |
+ virtual/udev" |
77 |
+DEPEND="virtual/udev" |
78 |
+BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )" |
79 |
+ |
80 |
+# This list could be refined a bit to have individual tests which need network |
81 |
+# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now. |
82 |
+EPYTEST_IGNORE=( |
83 |
+ # Requires network access |
84 |
+ tests/test_builder.py |
85 |
+ tests/package/test_manager.py |
86 |
+ tests/package/test_manifest.py |
87 |
+ tests/commands/test_platform.py |
88 |
+ tests/commands/test_test.py |
89 |
+ tests/commands/test_ci.py |
90 |
+ tests/commands/test_init.py |
91 |
+ tests/commands/test_lib.py |
92 |
+ tests/commands/test_lib_complex.py |
93 |
+ tests/commands/test_boards.py |
94 |
+ tests/commands/test_check.py |
95 |
+ tests/commands/test_run.py |
96 |
+ tests/commands/pkg/test_exec.py |
97 |
+ tests/commands/pkg/test_list.py |
98 |
+ tests/commands/pkg/test_outdated.py |
99 |
+ tests/commands/pkg/test_search.py |
100 |
+ tests/commands/pkg/test_show.py |
101 |
+ tests/commands/pkg/test_install.py |
102 |
+ tests/commands/pkg/test_uninstall.py |
103 |
+ tests/commands/pkg/test_update.py |
104 |
+ tests/misc/ino2cpp/test_ino2cpp.py |
105 |
+ tests/test_maintenance.py |
106 |
+ tests/test_misc.py |
107 |
+) |
108 |
+ |
109 |
+EPYTEST_DESELECT=( |
110 |
+ # Requires network access |
111 |
+ tests/misc/test_maintenance.py::test_check_pio_upgrade |
112 |
+ tests/misc/test_misc.py::test_ping_internet_ips |
113 |
+ tests/misc/test_misc.py::test_api_cache |
114 |
+) |
115 |
+ |
116 |
+distutils_enable_tests pytest |
117 |
+ |
118 |
+src_prepare() { |
119 |
+ # Allow newer versions of zeroconf, Bug #831181. |
120 |
+ # Also wsproto. |
121 |
+ # ... and semantic_version, bug #853247. |
122 |
+ sed \ |
123 |
+ -e '/zeroconf/s/<[0-9.*]*//' \ |
124 |
+ -e '/wsproto/s/==.*/"/' \ |
125 |
+ -e '/semantic_version/s/==[0-9.*]*//' \ |
126 |
+ -i setup.py || die |
127 |
+ |
128 |
+ default |
129 |
+} |
130 |
+ |
131 |
+python_test() { |
132 |
+ epytest -k "not skip_ci" |
133 |
+} |
134 |
+ |
135 |
+src_install() { |
136 |
+ distutils-r1_src_install |
137 |
+ udev_dorules scripts/99-platformio-udev.rules |
138 |
+} |
139 |
+ |
140 |
+pkg_postinst() { |
141 |
+ udev_reload |
142 |
+} |
143 |
+ |
144 |
+pkg_postrm() { |
145 |
+ udev_reload |
146 |
+} |