summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-02 10:50:45 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-02 10:56:32 +0200
commit8ae320d4ed93c4efc5dbef210d886b456c2159db (patch)
tree3e3f011291d01e50bd8a9612110171e04a204a9e /dev-embedded
parentapp-shells/zsh: Revbump to fix performance regression (diff)
downloadgentoo-8ae320d4ed93c4efc5dbef210d886b456c2159db.tar.gz
gentoo-8ae320d4ed93c4efc5dbef210d886b456c2159db.tar.bz2
gentoo-8ae320d4ed93c4efc5dbef210d886b456c2159db.zip
dev-embedded/platformio: Unpin wsproto, fix invalid dep spec
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/platformio/platformio-5.2.5-r1.ebuild (renamed from dev-embedded/platformio/platformio-5.2.5.ebuild)7
1 files 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
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
}