dev-embedded/platformio-6.1.4: fix bad deps in Gentoo's Ebuild
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
e8afbef5cd
commit
56bc55db0c
|
@ -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 1529 Ebuilds in total, 1522 of them have in total 1530 (34 different) licenses assigned.
|
||||
There are 1530 Ebuilds in total, 1523 of them have in total 1531 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|882|
|
||||
|Apache-2.0|320|
|
||||
|GPL-3|96|
|
||||
|BSD|89|
|
||||
|BSD|90|
|
||||
|LGPL-3|23|
|
||||
|GPL-2|19|
|
||||
|GPL-3+|14|
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
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
|
||||
DIST platformio-6.0.2.gh.tar.gz 285452 BLAKE2B c70523837b5118fcc1209a36a425fb6ab0aac73e56732916ff3d39fe87d50a47bf7d31d77324f491093ed366b1b3e4f88274e973bc896b164f5a07687a53bd12 SHA512 a2e48ad9ca22024a06509a9e36e5a7586088d0e8abd67d309d1988a8a112a41e301f077f1b466b5db390dc4048add570acd5bb762bbf22db69715dead0d8fc89
|
||||
DIST platformio-6.1.4.gh.tar.gz 290408 BLAKE2B 41a977d9b5e51a1e65ef61973301ab6e7e9ad0adbe6d4df2640b13f46623055df8303435a664acdd267ad8811229687b6abb088d5b331c33fb46bbe33ab188b1 SHA512 8c46b21212de2fb7579540c51b17061666b8abe4706800fe30fea053cb4233c17a03c2388295f9fb3a21602126f0c2c13f1dd80db962ef1b3d5c31c9a30791c7
|
||||
EBUILD platformio-5.2.5-r1.ebuild 2529 BLAKE2B 0cba1938b448e77d8a77a341116e3fbd8f5275dce179c16c606c28f6ae6e51b26039827a94f095ef90f39cd26ff3cdb2d03a43052442d053a4b34e2fd6bff56f SHA512 256084a14e054cc719387fe1a29fc975353431d2da28ecebfaf204f8c531ca140c9487c489bee654dee901da2da68d8840fae06a228b80f3ed9debad00f05f3d
|
||||
EBUILD platformio-6.0.2-r2.ebuild 3303 BLAKE2B 67760c6a0fa315c6ad30a5a6c493c8e0a2107a9545e52c6d5f542052b3e980ac2ac93eb4ff0f78b3da0f26ae1f08149840d2b72f84e37f540f3c184da2f89629 SHA512 2b03216bfc6415817affcd067857c4fb8071685a5719a33d48df3045702fbe621fd3de0e04397a1791899daf6294eb505b4aa28a982f31ba65a32e604d97d873
|
||||
EBUILD platformio-6.1.4-r1.ebuild 3308 BLAKE2B 170c7e762ae7db06347290e93519fca04e5d98adfd2c83efb3b1bb067b5a39a2d1681ad5f6cc13c6f682f06da57ae4f2fdde48e5a6936df09ca71b6e5adc8b5b SHA512 d49e9682db59d7fc424e5d89df0923222d17b054e47369263aec9335ef34d6a1c6aeab6ad2fba9647f84ea1c2626ca0802fbc26dbceeae422eb0c8bff261fee5
|
||||
MISC metadata.xml 457 BLAKE2B 558c6e7f69c6ede09bcd9cc706a3d0186a67ab8911b4278e4ed669cae32790db1ca282abc527e757345f91303eea337c03594a47777d50fb4609e9e9eae2dc8f SHA512 478409895f41c84f1c85c17c58f9a41cec864ed6df0b24b01d3d3b117b1109ae2bf15fc70871159193e514b64e108dbb37162517aa183c8c33fc350054dd81d4
|
||||
|
|
|
@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{8..11} )
|
|||
|
||||
inherit distutils-r1 udev
|
||||
|
||||
DESCRIPTION="A professional collaborative platform for embedded development. Cross-platform IDE and Unified Debugger."
|
||||
DESCRIPTION="A professional collaborative platform for embedded development."
|
||||
HOMEPAGE="https://platformio.org https://github.com/platformio/platformio-core/ https://pypi.org/project/platformio/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ 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"
|
||||
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"
|
||||
|
|
|
@ -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}.gh.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.5[${PYTHON_USEDEP}]
|
||||
<dev-python/pyserial-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.4[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-3[${PYTHON_USEDEP}]
|
||||
~dev-python/semantic_version-2.10.0[${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/python-zeroconf-0.37[${PYTHON_USEDEP}]
|
||||
>=dev-python/marshmallow-3[${PYTHON_USEDEP}]
|
||||
=dev-python/starlette-0.20*[${PYTHON_USEDEP}]
|
||||
=dev-python/uvicorn-0.18*[${PYTHON_USEDEP}]
|
||||
=dev-python/wsproto-1.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
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue