dev-embedded/platformio: add 6.1.13

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-03-24 10:26:38 +01:00
parent a85e4e1d1a
commit a2b3b671ea
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 122 additions and 6 deletions

View File

@ -1,4 +1,6 @@
DIST platformio-6.1.11.gh.tar.gz 296333 BLAKE2B 17672b499eca9c828cd7c6ea6a4c8acea7287f42bb78d4fc5fbd11bb93175bb87d9c2d100270869bc99bc0db550b49c163555ddd8edb17b6b33ccc5f3623f768 SHA512 450e3d1dc3b9c8124b6254fbf0a05b207b834aa0661f083ee2915bde5064498b6d5af666ad851b737fa5627ed436db983e038f83ed0437a1e248749a0dcc99ba
EBUILD platformio-6.1.11-r1.ebuild 3304 BLAKE2B fd1c5324777853aa2f0d03f56abf87cfd9d9c2e948d9a65878a2d8d8672febcddc429fa2b55ca839c009cff9d89b5b5b1800cb405119e483afe6fa12efd1ca6e SHA512 ceddf77267224e8d68e73dabaf4afeaa0f86d578db8850b2c4a40036ec6ec78879432da2c46d3cdb6b0413c4f95f1a49fb887756232393a33b638877e6015c3d
EBUILD platformio-6.1.11.ebuild 3396 BLAKE2B 6b8dad253b68adc8df03e453170153e5da79a14dfa470a67501ce4a2d2eabd771b63926b033258b8a5a110b18e04c731810873793611b8d7da3d4facc319a42c SHA512 c1e6090981a1fdcb5263774a4aa3cef9bfefc8ad70c2bf17af3f4cb1345fd775550345c1876eb91e3c91304cb395b86eb58f09e870572e310ef801a03cc24c7b
DIST platformio-6.1.13.gh.tar.gz 298899 BLAKE2B 9b1916bb72d1aea0c9a930a9a681e97a7f2c0ef2c266526f3359ec3cde84dffc1b982e3f46d2cd99051d7dbed3877a11812ad3a7ea21599c9bd05470f35d8c85 SHA512 cd71720c5a293299bc357d9eee82344bea61f44c68bc1b0d287a14c3531cd1f0d8d1d265e7c4a670935b69f93d9f360216cfc613c0c9c3f653415df8ae8f8069
EBUILD platformio-6.1.11-r1.ebuild 3304 BLAKE2B 9b03272e74ed8070d9c9f4d885791ca03d1298bfe3d9100a933fc4b6a2cfa8f8ee18d6ba956609901797a4e6dafc286a912fb582bbcad2860a46f7def1c602a7 SHA512 400ed333d1a198d672bb90f8cacc18516f7e91d1173d1b16802dfadffaf11a8f9e532543167150448ecbb875cdb4cacae892ca6e0e2135fd72b148126e322e1e
EBUILD platformio-6.1.11.ebuild 3396 BLAKE2B 5cc2767edc5c081755524f6eee94235c961de3bc49268e0d62e2a41f789d237b85ecbc24cdde037a77dfe3e50c6b42c26527d9e5b68ea192dae272815de24d5b SHA512 07518a41c199c44d975bdf657c8dd2f7eb2481e74af6258976bf8553664de709ebb528234e7909b82a7d8938de69cc3462997aab61b156e5280a9f7485e152e9
EBUILD platformio-6.1.13.ebuild 3180 BLAKE2B 3434f3fbfc0d60bcefe4fe9dc8a20e1a08b107f8e6f367ee657b780d241914ee44d0b8a5ad8fd0794eeee775384eb9a79a978b789c1b5317f3f8364364d92220 SHA512 1c8afc6282a4304c6e0324b4d60c8697049833bc1cd38e08bb61ad32d187687f9f6bd6be57c1f727af0d5751ea853d8ac05f9fdd8858d52c93c5fa3573a8c6d4
MISC metadata.xml 525 BLAKE2B 40eb042e66855b7a7f76251fb994cbe9318bfa5227c529086e5b7e30130df8767cadddd6a58ec5590deb350381f024050a3590919baf6f0b239866611b643733 SHA512 4809b8b1deaa62246ee1dac2f62074c6a2d62f3a7013eec24aafeb1986049776bd8a4f81a10698ea26171cabe1d9d9778428d0cd361adaf23118fd4122d95f70

View File

@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 udev

View File

@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 udev

View File

@ -0,0 +1,114 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..12} )
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}.gh.tar.gz"
S="${WORKDIR}"/${PN}-core-${PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
~dev-python/bottle-0.12.25[${PYTHON_USEDEP}]
>=dev-python/click-8.0.4[${PYTHON_USEDEP}]
<dev-python/click-9[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
~dev-python/marshmallow-3.21.1[${PYTHON_USEDEP}]
~dev-python/pyserial-3.5[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/semantic-version-2.10[${PYTHON_USEDEP}]
<dev-python/semantic-version-3[${PYTHON_USEDEP}]
<dev-python/tabulate-1[${PYTHON_USEDEP}]
~dev-python/ajsonrpc-1.2.0[${PYTHON_USEDEP}]
>=dev-python/starlette-0.21[${PYTHON_USEDEP}]
>=dev-python/uvicorn-0.19[${PYTHON_USEDEP}]
dev-python/wsproto[${PYTHON_USEDEP}]
>=dev-python/pyelftools-0.27[${PYTHON_USEDEP}]
<dev-python/pyelftools-1[${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/commands/test_run.py
tests/commands/pkg/test_exec.py
tests/commands/pkg/test_list.py
tests/commands/pkg/test_outdated.py
tests/commands/pkg/test_search.py
tests/commands/pkg/test_show.py
tests/commands/pkg/test_install.py
tests/commands/pkg/test_uninstall.py
tests/commands/pkg/test_update.py
tests/misc/ino2cpp/test_ino2cpp.py
tests/test_maintenance.py
tests/test_misc.py
)
EPYTEST_DESELECT=(
# Requires network access
tests/misc/test_maintenance.py::test_check_pio_upgrade
tests/misc/test_misc.py::test_ping_internet_ips
tests/misc/test_misc.py::test_api_cache
)
distutils_enable_tests pytest
python_prepare_all() {
# Allow newer versions of:
# - zeroconf, bug #831181.
# - wsproto
# - semantic_version, bug #853247
# - starlette & uvicorn, bug #888427
sed \
-e '/zeroconf/s/<[0-9.*]*//' \
-e '/wsproto/s/==.*/"/' \
-e '/semantic_version/s/==[0-9.*]*//' \
-e '/starlette/s/==.*/"/' \
-e '/uvicorn/s/==.*/"/' \
-i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
epytest -k "not skip_ci"
}
src_install() {
distutils-r1_src_install
udev_dorules platformio/assets/system/99-platformio-udev.rules
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}