bump platformio-6.0.2-r2, fix deps

This commit is contained in:
Andreas Billmeier 2022-11-01 18:18:29 +01:00 committed by Andreas Billmeier
parent a6fdb6f41d
commit 580316cbfc
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 120 additions and 2 deletions

View File

@ -573,14 +573,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1523 Ebuilds in total, 1516 of them have in total 1524 (34 different) licenses assigned.
There are 1524 Ebuilds in total, 1517 of them have in total 1525 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|882|
|Apache-2.0|314|
|GPL-3|97|
|BSD|88|
|BSD|89|
|LGPL-3|23|
|GPL-2|19|
|GPL-3+|14|

View File

@ -1,3 +1,5 @@
DIST platformio-5.2.5.tar.gz 218705 BLAKE2B b46568460c32613015f9cb3087a66f26a80c57592304f5a2043df9633b4b7eebc6f76723251fa0d20252faad0f7f9400c60f5d2cade18c41cebf090aee870fd2 SHA512 e4c03602c9331cd5a6b979f67e82b125cd2b441d80033806ebf5c993976c5cff8bbc7b65cf687e85676876a96dbf530872dbd2a8e2114ee10b094ac77ccd6fbf
DIST platformio-6.0.2.tar.gz 285452 BLAKE2B c70523837b5118fcc1209a36a425fb6ab0aac73e56732916ff3d39fe87d50a47bf7d31d77324f491093ed366b1b3e4f88274e973bc896b164f5a07687a53bd12 SHA512 a2e48ad9ca22024a06509a9e36e5a7586088d0e8abd67d309d1988a8a112a41e301f077f1b466b5db390dc4048add570acd5bb762bbf22db69715dead0d8fc89
EBUILD platformio-5.2.5-r1.ebuild 2570 BLAKE2B 51862d8b976308a72a32dd0957f9a8e010b48fff484f950b45872e22254e2de95314f4e8cd7ee85d96556e1b0a25cdb82cbd1a6526473e0235e2b6bb7f9892bc SHA512 12a0566ac0209a3e9ab89d6963faeb6e18be3e83c8ecd2d6f50837682934187c3debe547000f20b9bb6d374e4b562261fc93e9466e50ad0849eb8963f8fcbc0a
EBUILD platformio-6.0.2-r2.ebuild 3300 BLAKE2B 440ea03b38462d774e1dccd425d4d99b33421077985bc54f843f0ad1d8c7f206334c8af231898a092164d83f1fc0d9ef9ed90e3f55c2eed5e902388fef421b35 SHA512 afd6eadc196b75630d0ead91dbae19633d74baa746d2e74d6c43072bacbfc01916b2596e2d8deb3b3b434c16b941988d30ab608cfc1ca8a0b297c1ed82a5bd4c
MISC metadata.xml 457 BLAKE2B 558c6e7f69c6ede09bcd9cc706a3d0186a67ab8911b4278e4ed669cae32790db1ca282abc527e757345f91303eea337c03594a47777d50fb4609e9e9eae2dc8f SHA512 478409895f41c84f1c85c17c58f9a41cec864ed6df0b24b01d3d3b117b1109ae2bf15fc70871159193e514b64e108dbb37162517aa183c8c33fc350054dd81d4

View File

@ -0,0 +1,116 @@
# Copyright 1999-2022 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_{8..11} )
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}.tar.gz"
S="${WORKDIR}"/${PN}-core-${PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
<dev-python/aiofiles-0.9[${PYTHON_USEDEP}]
dev-python/ajsonrpc[${PYTHON_USEDEP}]
<dev-python/bottle-0.13[${PYTHON_USEDEP}]
>=dev-python/click-8[${PYTHON_USEDEP}]
<dev-python/click-9[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
>=dev-python/pyserial-3[${PYTHON_USEDEP}]
<dev-python/pyserial-4[${PYTHON_USEDEP}]
>=dev-python/python-zeroconf-0.37[${PYTHON_USEDEP}]
>=dev-python/requests-2.4[${PYTHON_USEDEP}]
<dev-python/requests-3[${PYTHON_USEDEP}]
>=dev-python/semantic_version-2.9[${PYTHON_USEDEP}]
<dev-python/semantic_version-3[${PYTHON_USEDEP}]
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]
<dev-python/tabulate-1[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
>=dev-python/pyelftools-0.27[${PYTHON_USEDEP}]
<dev-python/pyelftools-1[${PYTHON_USEDEP}]
>=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}]
=dev-python/starlette-0.20*[${PYTHON_USEDEP}]
=dev-python/uvicorn-0.17*[${PYTHON_USEDEP}]
dev-python/wsproto[${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
src_prepare() {
# Allow newer versions of zeroconf, Bug #831181.
# Also wsproto.
# ... and semantic_version, bug #853247.
sed \
-e '/zeroconf/s/<[0-9.*]*//' \
-e '/wsproto/s/==.*/"/' \
-e '/semantic_version/s/==[0-9.*]*//' \
-i setup.py || die
default
}
python_test() {
epytest -k "not skip_ci"
}
src_install() {
distutils-r1_src_install
udev_dorules scripts/99-platformio-udev.rules
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}