public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/platformio/
Date: Fri, 28 Jan 2022 08:02:12 +0000 (UTC)	[thread overview]
Message-ID: <1643356852.e5b43e9c3b5083981a76f8f5a02e48763e7d756c.sam@gentoo> (raw)

commit:     e5b43e9c3b5083981a76f8f5a02e48763e7d756c
Author:     Matthew Smith <matt <AT> offtopica <DOT> uk>
AuthorDate: Fri Jan 14 10:36:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 28 08:00:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b43e9c

dev-embedded/platformio: Relax zeroconf requirement

Closes: https://bugs.gentoo.org/831181
Signed-off-by: Matthew Smith <matt <AT> offtopica.uk>
Closes: https://github.com/gentoo/gentoo/pull/23788
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-embedded/platformio/platformio-5.2.4-r1.ebuild | 80 ++++++++++++++++++++++
 1 file changed, 80 insertions(+)

diff --git a/dev-embedded/platformio/platformio-5.2.4-r1.ebuild b/dev-embedded/platformio/platformio-5.2.4-r1.ebuild
new file mode 100644
index 000000000000..16e980cb005a
--- /dev/null
+++ b/dev-embedded/platformio/platformio-5.2.4-r1.ebuild
@@ -0,0 +1,80 @@
+# 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"
+
+RDEPEND="
+	$(python_gen_cond_dep '
+		>=dev-python/aiofiles-0.8.0[${PYTHON_USEDEP}]
+		dev-python/ajsonrpc[${PYTHON_USEDEP}]
+		<dev-python/bottle-0.13[${PYTHON_USEDEP}]
+		>=dev-python/click-7.1.2[${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/requests-2.4[${PYTHON_USEDEP}]
+		<dev-python/requests-3[${PYTHON_USEDEP}]
+		>=dev-python/semantic_version-2.8.1[${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.25[${PYTHON_USEDEP}]
+		<dev-python/pyelftools-1[${PYTHON_USEDEP}]
+		>=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}]
+		>=dev-python/starlette-0.17[${PYTHON_USEDEP}]
+		>=dev-python/uvicorn-0.16[${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
+
+src_prepare() {
+	# Allow newer versions of zeroconf, Bug #831181.
+	sed -i '/zeroconf/s/==/>=/' "${S}"/setup.py
+	default
+}
+
+src_install() {
+	distutils-r1_src_install
+	udev_dorules scripts/99-platformio-udev.rules
+}


             reply	other threads:[~2022-01-28  8:02 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28  8:02 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-09 19:57 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/platformio/ Alexey Shvetsov
2023-04-09  5:57 Sam James
2023-03-29  0:56 Sam James
2023-03-29  0:46 Sam James
2023-03-29  0:46 Sam James
2023-02-22 16:21 Sam James
2022-11-04  6:10 Michał Górny
2022-11-02 23:34 Sam James
2022-11-02 23:34 Sam James
2022-11-02 23:34 Sam James
2022-09-14 20:21 Alexey Shvetsov
2022-09-14 20:21 Alexey Shvetsov
2022-06-25  2:42 Sam James
2022-05-02  8:56 Michał Górny
2022-03-21 10:03 Alexey Shvetsov
2022-01-28  8:02 Sam James
2022-01-26 21:27 Jakov Smolić
2022-01-13 16:00 Alexey Shvetsov
2022-01-09  7:09 Sam James
2022-01-09  7:09 Sam James
2022-01-07  5:14 Sam James
2021-12-15  7:34 Arthur Zamarin
2021-12-15  0:13 Sam James
2021-12-12  8:19 Sam James
2021-12-12  8:18 Sam James
2021-12-12  6:12 Sam James
2021-09-25  9:03 Jakov Smolić
2021-06-02 16:53 Alexey Shvetsov
2020-10-14 10:43 Alexey Shvetsov
2020-07-20 21:26 Alexey Shvetsov
2020-05-18  8:21 Alexey Shvetsov
2020-04-17 18:48 Alexey Shvetsov
2020-04-17 18:48 Alexey Shvetsov
2020-01-16  6:05 Michał Górny
2019-12-12 21:28 Alexey Shvetsov
2019-10-04 11:14 Alexey Shvetsov
2019-07-12  8:32 Alexey Shvetsov
2019-04-25 15:10 Alexey Shvetsov
2019-04-10 11:35 Alexey Shvetsov
2019-02-14 17:16 Alexey Shvetsov
2018-11-01 20:09 Alexey Shvetsov
2018-08-10  7:12 Alexey Shvetsov
2018-07-10 21:39 Alexey Shvetsov
2018-06-23 21:48 Aaron Bauman
2018-06-22  9:02 Alexey Shvetsov
2018-06-14 14:11 Alexey Shvetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1643356852.e5b43e9c3b5083981a76f8f5a02e48763e7d756c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox