commit: 8ae320d4ed93c4efc5dbef210d886b456c2159db
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 08:50:45 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 2 08:56:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae320d4
dev-embedded/platformio: Unpin wsproto, fix invalid dep spec
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{platformio-5.2.5.ebuild => platformio-5.2.5-r1.ebuild} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-embedded/platformio/platformio-5.2.5.ebuild
b/dev-embedded/platformio/platformio-5.2.5-r1.ebuild
similarity index 94%
rename from dev-embedded/platformio/platformio-5.2.5.ebuild
rename to dev-embedded/platformio/platformio-5.2.5-r1.ebuild
index 6d3c7cad5bfd..9c73bc3fd57d 100644
--- a/dev-embedded/platformio/platformio-5.2.5.ebuild
+++ b/dev-embedded/platformio/platformio-5.2.5-r1.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
>=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-1.0*[${PYTHON_USEDEP}]
+ dev-python/wsproto[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.37[${PYTHON_USEDEP}]
')
virtual/udev"
@@ -70,7 +70,10 @@ distutils_enable_tests pytest
src_prepare() {
# Allow newer versions of zeroconf, Bug #831181.
- sed -i '/zeroconf/s/==/>=/' "${S}"/setup.py || die
+ # Also wsproto.
+ sed -e '/zeroconf/s/==[0-9.*]*//' \
+ -e '/wsproto/s/==[0-9.*]*//' \
+ -i setup.py || die
default
}