From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D123158094 for ; Wed, 14 Sep 2022 20:21:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7668E0921; Wed, 14 Sep 2022 20:21:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 903E3E0921 for ; Wed, 14 Sep 2022 20:21:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 662E9340D94 for ; Wed, 14 Sep 2022 20:21:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AA85576 for ; Wed, 14 Sep 2022 20:21:00 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1663186839.d133328a074da76a1f0172968f5fb360453bf725.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/platformio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/platformio/Manifest dev-embedded/platformio/platformio-5.2.5-r2.ebuild dev-embedded/platformio/platformio-6.0.2-r1.ebuild dev-embedded/platformio/platformio-6.0.2.ebuild X-VCS-Directories: dev-embedded/platformio/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: d133328a074da76a1f0172968f5fb360453bf725 X-VCS-Branch: master Date: Wed, 14 Sep 2022 20:21:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c2382d53-6678-45f3-8bee-5b2cbd6bc52c X-Archives-Hash: 1517be40997dfca11c51cac2338e6aff commit: d133328a074da76a1f0172968f5fb360453bf725 Author: Alexey Shvetsov gentoo org> AuthorDate: Wed Sep 14 20:13:52 2022 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Wed Sep 14 20:20:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d133328a dev-embedded/platformio: Add udev_reload Closes: https://bugs.gentoo.org/842096 Signed-off-by: Alexey Shvetsov (Alexey Shvetsov) gentoo.org> dev-embedded/platformio/Manifest | 1 - dev-embedded/platformio/platformio-5.2.5-r2.ebuild | 87 ---------------------- ...mio-6.0.2.ebuild => platformio-6.0.2-r1.ebuild} | 8 ++ 3 files changed, 8 insertions(+), 88 deletions(-) diff --git a/dev-embedded/platformio/Manifest b/dev-embedded/platformio/Manifest index 51724e0adc5b..9756ab40a050 100644 --- a/dev-embedded/platformio/Manifest +++ b/dev-embedded/platformio/Manifest @@ -1,2 +1 @@ -DIST platformio-5.2.5.tar.gz 254813 BLAKE2B 96911a64f8e73567820ef2c7b2297ed9e32c36c65c49572af6037c2666da4072bdf920dc31e8de7e07296eb7f1b407c47191d68a80ed212a9c351dfca604b408 SHA512 cf939254c231bb2cb97ac509175b7235a6a2ba447e55a2d9a59a9fe610656743c190f00cb7bfa1fc2e6b64487be7f02a193e2f270236bbb9200537f19175dc22 DIST platformio-6.0.2.tar.gz 285452 BLAKE2B c70523837b5118fcc1209a36a425fb6ab0aac73e56732916ff3d39fe87d50a47bf7d31d77324f491093ed366b1b3e4f88274e973bc896b164f5a07687a53bd12 SHA512 a2e48ad9ca22024a06509a9e36e5a7586088d0e8abd67d309d1988a8a112a41e301f077f1b466b5db390dc4048add570acd5bb762bbf22db69715dead0d8fc89 diff --git a/dev-embedded/platformio/platformio-5.2.5-r2.ebuild b/dev-embedded/platformio/platformio-5.2.5-r2.ebuild deleted file mode 100644 index 9c0cbfa5bbd5..000000000000 --- a/dev-embedded/platformio/platformio-5.2.5-r2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10} ) -DISTUTILS_SINGLE_IMPL=1 - -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 ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - =dev-python/click-8[${PYTHON_USEDEP}] - =dev-python/pyserial-3[${PYTHON_USEDEP}] - =dev-python/requests-2.4[${PYTHON_USEDEP}] - =dev-python/semantic_version-2.9[${PYTHON_USEDEP}] - =dev-python/tabulate-0.8.3[${PYTHON_USEDEP}] - =dev-python/pyelftools-0.25[${PYTHON_USEDEP}] - =dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}] - =dev-python/starlette-0.18*[${PYTHON_USEDEP}] - =dev-python/uvicorn-0.17*[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - >=dev-python/zeroconf-0.37[${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/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 -) - -src_prepare() { - # Allow newer versions of zeroconf, Bug #831181. - # Also wsproto. - sed -e '/zeroconf/s/==[0-9.*]*//' \ - -e '/wsproto/s/==[0-9.*]*//' \ - -i setup.py || die - default -} - -src_install() { - distutils-r1_src_install - udev_dorules scripts/99-platformio-udev.rules -} diff --git a/dev-embedded/platformio/platformio-6.0.2.ebuild b/dev-embedded/platformio/platformio-6.0.2-r1.ebuild similarity index 98% rename from dev-embedded/platformio/platformio-6.0.2.ebuild rename to 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 +}