summaryrefslogtreecommitdiff
path: root/dev-embedded
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-14 23:11:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-14 23:11:36 +0100
commit5bcf7bb4786021fc77303fae7934b17d525f9ad6 (patch)
treef8170834574db8e79d032c124f76fd052a787e0b /dev-embedded
parent50878a9089d38edec91fb6a8035f9681695189b7 (diff)
gentoo auto-resync : 14:09:2022 - 23:11:36
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/Manifest.gzbin9208 -> 9209 bytes
-rw-r--r--dev-embedded/platformio/Manifest6
-rw-r--r--dev-embedded/platformio/platformio-6.0.2-r1.ebuild (renamed from dev-embedded/platformio/platformio-6.0.2.ebuild)8
-rw-r--r--dev-embedded/platformio/platformio-6.1.4.ebuild (renamed from dev-embedded/platformio/platformio-5.2.5-r2.ebuild)45
4 files changed, 48 insertions, 11 deletions
diff --git a/dev-embedded/Manifest.gz b/dev-embedded/Manifest.gz
index ed0591004752..027d1ccdd402 100644
--- a/dev-embedded/Manifest.gz
+++ b/dev-embedded/Manifest.gz
Binary files differ
diff --git a/dev-embedded/platformio/Manifest b/dev-embedded/platformio/Manifest
index 7302d5f033ba..66aebfbdd6c6 100644
--- a/dev-embedded/platformio/Manifest
+++ b/dev-embedded/platformio/Manifest
@@ -1,6 +1,6 @@
AUX platformio-5.2.5-fix-semantic-version-dep.patch 267 BLAKE2B d15be62a0a01a82ca217d614029c1bafaeda6dc078d975a36f1036da9d453f584b1ca8d8487a0f8995d6eea27a1b34403e53f3ff96ac506d40a5a056b9dc29c5 SHA512 ca59d2df4667a5ec59f35f0b6071fa60d81d24a3fe90129634e802cc850fa4d05380806b3e71192110d96df119f82f27a75eaca41df4d31dac5ffd0c9bba44c1
-DIST platformio-5.2.5.tar.gz 254813 BLAKE2B 96911a64f8e73567820ef2c7b2297ed9e32c36c65c49572af6037c2666da4072bdf920dc31e8de7e07296eb7f1b407c47191d68a80ed212a9c351dfca604b408 SHA512 cf939254c231bb2cb97ac509175b7235a6a2ba447e55a2d9a59a9fe610656743c190f00cb7bfa1fc2e6b64487be7f02a193e2f270236bbb9200537f19175dc22
DIST platformio-6.0.2.tar.gz 285452 BLAKE2B c70523837b5118fcc1209a36a425fb6ab0aac73e56732916ff3d39fe87d50a47bf7d31d77324f491093ed366b1b3e4f88274e973bc896b164f5a07687a53bd12 SHA512 a2e48ad9ca22024a06509a9e36e5a7586088d0e8abd67d309d1988a8a112a41e301f077f1b466b5db390dc4048add570acd5bb762bbf22db69715dead0d8fc89
-EBUILD platformio-5.2.5-r2.ebuild 2617 BLAKE2B 48f779ce26c27e31beb69349cd8cf621d49112e93eb9f8bd3450afa04ef2e2c9879317436b104bc5992c59ec661323628a6c93d4640088a280a3f9a0af2ae2f5 SHA512 54680dda63927f8435ebc8f302f16cbccbd96d6440d581a51fd472ad513f8c3a62c2f1c78ffa7a840d6993354d383746f1d1a44fd55f4f479bff7358d4d82a64
-EBUILD platformio-6.0.2.ebuild 3221 BLAKE2B fed27e95a092cc7a28dd42d595320ff601ff2493afbbf522edd0c79fe9fd98262b863e5fab7892708269d04353284f7228606b775dab52ec818a1b433722dadb SHA512 70c0fe0ecaa281a109273a88cb6bd35b57321d39ddf0870dcacc153db71b020de7d8519e1bc4a5c5a05832f506a15f767e736ace6cf745df82dbf802f8c6e45e
+DIST platformio-6.1.4.tar.gz 290408 BLAKE2B 41a977d9b5e51a1e65ef61973301ab6e7e9ad0adbe6d4df2640b13f46623055df8303435a664acdd267ad8811229687b6abb088d5b331c33fb46bbe33ab188b1 SHA512 8c46b21212de2fb7579540c51b17061666b8abe4706800fe30fea053cb4233c17a03c2388295f9fb3a21602126f0c2c13f1dd80db962ef1b3d5c31c9a30791c7
+EBUILD platformio-6.0.2-r1.ebuild 3285 BLAKE2B c9927e1d362ba403eb535001db9defad34117c840c6baf6e7377affcd4ee9bc948362d579ab68058c386b52f3c81d2ad2bac783c8cc21c59479b5b73960b47bb SHA512 a6e7dd3dc3fbdaf84a03e2d06beb0bc7968e1e6ed680257c88a0067680f3caef15c650eb99d86438e119d6bb78a67ccb2d1d187772e0fd893a63cf764a63b84a
+EBUILD platformio-6.1.4.ebuild 3285 BLAKE2B c9927e1d362ba403eb535001db9defad34117c840c6baf6e7377affcd4ee9bc948362d579ab68058c386b52f3c81d2ad2bac783c8cc21c59479b5b73960b47bb SHA512 a6e7dd3dc3fbdaf84a03e2d06beb0bc7968e1e6ed680257c88a0067680f3caef15c650eb99d86438e119d6bb78a67ccb2d1d187772e0fd893a63cf764a63b84a
MISC metadata.xml 249 BLAKE2B 0d8c6b8e9873180a796f77c5194270389ae642d0d888d7fa1bbada89861dc1ba1bd9f238acd76f7a07a3eb694ac8bdb19927012814a03ed8d3e87f40676979d1 SHA512 1ac8ddbe837cb8db85bb6e4ee59a6e98554c04231c54cb5158fbe7dda3230aaeb02ab66ff374f5bb348e84159588b0740c43acd99ed590939db70bbd2f15d265
diff --git a/dev-embedded/platformio/platformio-6.0.2.ebuild b/dev-embedded/platformio/platformio-6.0.2-r1.ebuild
index bf24334631e4..827140a1feaa 100644
--- a/dev-embedded/platformio/platformio-6.0.2.ebuild
+++ b/dev-embedded/platformio/platformio-6.0.2-r1.ebuild
@@ -106,3 +106,11 @@ src_install() {
distutils-r1_src_install
udev_dorules scripts/99-platformio-udev.rules
}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/dev-embedded/platformio/platformio-5.2.5-r2.ebuild b/dev-embedded/platformio/platformio-6.1.4.ebuild
index 9c0cbfa5bbd5..827140a1feaa 100644
--- a/dev-embedded/platformio/platformio-5.2.5-r2.ebuild
+++ b/dev-embedded/platformio/platformio-6.1.4.ebuild
@@ -3,8 +3,9 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8,9,10} )
DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 udev
@@ -61,27 +62,55 @@ EPYTEST_IGNORE=(
tests/commands/test_lib_complex.py
tests/commands/test_boards.py
tests/commands/test_check.py
- tests/test_ino2cpp.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
)
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.2.5-fix-semantic-version-dep.patch
+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.
- sed -e '/zeroconf/s/==[0-9.*]*//' \
- -e '/wsproto/s/==[0-9.*]*//' \
+ # ... 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
+}