Skip to content

Commit a2b3b67

Browse files
committed
dev-embedded/platformio: add 6.1.13
Signed-off-by: Andreas Billmeier <[email protected]>
1 parent a85e4e1 commit a2b3b67

File tree

4 files changed

+122
-6
lines changed

4 files changed

+122
-6
lines changed

dev-embedded/platformio/Manifest

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
DIST platformio-6.1.11.gh.tar.gz 296333 BLAKE2B 17672b499eca9c828cd7c6ea6a4c8acea7287f42bb78d4fc5fbd11bb93175bb87d9c2d100270869bc99bc0db550b49c163555ddd8edb17b6b33ccc5f3623f768 SHA512 450e3d1dc3b9c8124b6254fbf0a05b207b834aa0661f083ee2915bde5064498b6d5af666ad851b737fa5627ed436db983e038f83ed0437a1e248749a0dcc99ba
2-
EBUILD platformio-6.1.11-r1.ebuild 3304 BLAKE2B fd1c5324777853aa2f0d03f56abf87cfd9d9c2e948d9a65878a2d8d8672febcddc429fa2b55ca839c009cff9d89b5b5b1800cb405119e483afe6fa12efd1ca6e SHA512 ceddf77267224e8d68e73dabaf4afeaa0f86d578db8850b2c4a40036ec6ec78879432da2c46d3cdb6b0413c4f95f1a49fb887756232393a33b638877e6015c3d
3-
EBUILD platformio-6.1.11.ebuild 3396 BLAKE2B 6b8dad253b68adc8df03e453170153e5da79a14dfa470a67501ce4a2d2eabd771b63926b033258b8a5a110b18e04c731810873793611b8d7da3d4facc319a42c SHA512 c1e6090981a1fdcb5263774a4aa3cef9bfefc8ad70c2bf17af3f4cb1345fd775550345c1876eb91e3c91304cb395b86eb58f09e870572e310ef801a03cc24c7b
2+
DIST platformio-6.1.13.gh.tar.gz 298899 BLAKE2B 9b1916bb72d1aea0c9a930a9a681e97a7f2c0ef2c266526f3359ec3cde84dffc1b982e3f46d2cd99051d7dbed3877a11812ad3a7ea21599c9bd05470f35d8c85 SHA512 cd71720c5a293299bc357d9eee82344bea61f44c68bc1b0d287a14c3531cd1f0d8d1d265e7c4a670935b69f93d9f360216cfc613c0c9c3f653415df8ae8f8069
3+
EBUILD platformio-6.1.11-r1.ebuild 3304 BLAKE2B 9b03272e74ed8070d9c9f4d885791ca03d1298bfe3d9100a933fc4b6a2cfa8f8ee18d6ba956609901797a4e6dafc286a912fb582bbcad2860a46f7def1c602a7 SHA512 400ed333d1a198d672bb90f8cacc18516f7e91d1173d1b16802dfadffaf11a8f9e532543167150448ecbb875cdb4cacae892ca6e0e2135fd72b148126e322e1e
4+
EBUILD platformio-6.1.11.ebuild 3396 BLAKE2B 5cc2767edc5c081755524f6eee94235c961de3bc49268e0d62e2a41f789d237b85ecbc24cdde037a77dfe3e50c6b42c26527d9e5b68ea192dae272815de24d5b SHA512 07518a41c199c44d975bdf657c8dd2f7eb2481e74af6258976bf8553664de709ebb528234e7909b82a7d8938de69cc3462997aab61b156e5280a9f7485e152e9
5+
EBUILD platformio-6.1.13.ebuild 3180 BLAKE2B 3434f3fbfc0d60bcefe4fe9dc8a20e1a08b107f8e6f367ee657b780d241914ee44d0b8a5ad8fd0794eeee775384eb9a79a978b789c1b5317f3f8364364d92220 SHA512 1c8afc6282a4304c6e0324b4d60c8697049833bc1cd38e08bb61ad32d187687f9f6bd6be57c1f727af0d5751ea853d8ac05f9fdd8858d52c93c5fa3573a8c6d4
46
MISC metadata.xml 525 BLAKE2B 40eb042e66855b7a7f76251fb994cbe9318bfa5227c529086e5b7e30130df8767cadddd6a58ec5590deb350381f024050a3590919baf6f0b239866611b643733 SHA512 4809b8b1deaa62246ee1dac2f62074c6a2d62f3a7013eec24aafeb1986049776bd8a4f81a10698ea26171cabe1d9d9778428d0cd361adaf23118fd4122d95f70

dev-embedded/platformio/platformio-6.1.11-r1.ebuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Copyright 1999-2023 Gentoo Authors
1+
# Copyright 1999-2024 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=8
55

66
DISTUTILS_SINGLE_IMPL=1
77
DISTUTILS_USE_PEP517=setuptools
8-
PYTHON_COMPAT=( python3_{10..12} )
8+
PYTHON_COMPAT=( python3_{11..12} )
99

1010
inherit distutils-r1 udev
1111

dev-embedded/platformio/platformio-6.1.11.ebuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Copyright 1999-2023 Gentoo Authors
1+
# Copyright 1999-2024 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=8
55

66
DISTUTILS_SINGLE_IMPL=1
77
DISTUTILS_USE_PEP517=setuptools
8-
PYTHON_COMPAT=( python3_{10..12} )
8+
PYTHON_COMPAT=( python3_{11..12} )
99

1010
inherit distutils-r1 udev
1111

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_SINGLE_IMPL=1
7+
DISTUTILS_USE_PEP517=setuptools
8+
PYTHON_COMPAT=( python3_{11..12} )
9+
10+
inherit distutils-r1 udev
11+
12+
DESCRIPTION="An open source ecosystem for IoT development"
13+
HOMEPAGE="https://platformio.org/"
14+
SRC_URI="https://github.com/platformio/platformio-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
15+
S="${WORKDIR}"/${PN}-core-${PV}
16+
17+
LICENSE="BSD"
18+
SLOT="0"
19+
KEYWORDS="amd64 arm arm64 x86"
20+
21+
RDEPEND="
22+
$(python_gen_cond_dep '
23+
~dev-python/bottle-0.12.25[${PYTHON_USEDEP}]
24+
>=dev-python/click-8.0.4[${PYTHON_USEDEP}]
25+
<dev-python/click-9[${PYTHON_USEDEP}]
26+
dev-python/colorama[${PYTHON_USEDEP}]
27+
~dev-python/marshmallow-3.21.1[${PYTHON_USEDEP}]
28+
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
29+
dev-python/requests[${PYTHON_USEDEP}]
30+
>=dev-python/semantic-version-2.10[${PYTHON_USEDEP}]
31+
<dev-python/semantic-version-3[${PYTHON_USEDEP}]
32+
<dev-python/tabulate-1[${PYTHON_USEDEP}]
33+
~dev-python/ajsonrpc-1.2.0[${PYTHON_USEDEP}]
34+
>=dev-python/starlette-0.21[${PYTHON_USEDEP}]
35+
>=dev-python/uvicorn-0.19[${PYTHON_USEDEP}]
36+
dev-python/wsproto[${PYTHON_USEDEP}]
37+
>=dev-python/pyelftools-0.27[${PYTHON_USEDEP}]
38+
<dev-python/pyelftools-1[${PYTHON_USEDEP}]
39+
')
40+
virtual/udev"
41+
DEPEND="virtual/udev"
42+
BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )"
43+
44+
# This list could be refined a bit to have individual tests which need network
45+
# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now.
46+
EPYTEST_IGNORE=(
47+
# Requires network access
48+
tests/test_builder.py
49+
tests/package/test_manager.py
50+
tests/package/test_manifest.py
51+
tests/commands/test_platform.py
52+
tests/commands/test_test.py
53+
tests/commands/test_ci.py
54+
tests/commands/test_init.py
55+
tests/commands/test_lib.py
56+
tests/commands/test_lib_complex.py
57+
tests/commands/test_boards.py
58+
tests/commands/test_check.py
59+
tests/commands/test_run.py
60+
tests/commands/pkg/test_exec.py
61+
tests/commands/pkg/test_list.py
62+
tests/commands/pkg/test_outdated.py
63+
tests/commands/pkg/test_search.py
64+
tests/commands/pkg/test_show.py
65+
tests/commands/pkg/test_install.py
66+
tests/commands/pkg/test_uninstall.py
67+
tests/commands/pkg/test_update.py
68+
tests/misc/ino2cpp/test_ino2cpp.py
69+
tests/test_maintenance.py
70+
tests/test_misc.py
71+
)
72+
73+
EPYTEST_DESELECT=(
74+
# Requires network access
75+
tests/misc/test_maintenance.py::test_check_pio_upgrade
76+
tests/misc/test_misc.py::test_ping_internet_ips
77+
tests/misc/test_misc.py::test_api_cache
78+
)
79+
80+
distutils_enable_tests pytest
81+
82+
python_prepare_all() {
83+
# Allow newer versions of:
84+
# - zeroconf, bug #831181.
85+
# - wsproto
86+
# - semantic_version, bug #853247
87+
# - starlette & uvicorn, bug #888427
88+
sed \
89+
-e '/zeroconf/s/<[0-9.*]*//' \
90+
-e '/wsproto/s/==.*/"/' \
91+
-e '/semantic_version/s/==[0-9.*]*//' \
92+
-e '/starlette/s/==.*/"/' \
93+
-e '/uvicorn/s/==.*/"/' \
94+
-i setup.py || die
95+
96+
distutils-r1_python_prepare_all
97+
}
98+
99+
python_test() {
100+
epytest -k "not skip_ci"
101+
}
102+
103+
src_install() {
104+
distutils-r1_src_install
105+
udev_dorules platformio/assets/system/99-platformio-udev.rules
106+
}
107+
108+
pkg_postinst() {
109+
udev_reload
110+
}
111+
112+
pkg_postrm() {
113+
udev_reload
114+
}

0 commit comments

Comments
 (0)