1 |
commit: 8ae320d4ed93c4efc5dbef210d886b456c2159db |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 08:50:45 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 08:56:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae320d4 |
7 |
|
8 |
dev-embedded/platformio: Unpin wsproto, fix invalid dep spec |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../{platformio-5.2.5.ebuild => platformio-5.2.5-r1.ebuild} | 7 +++++-- |
13 |
1 file changed, 5 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-embedded/platformio/platformio-5.2.5.ebuild b/dev-embedded/platformio/platformio-5.2.5-r1.ebuild |
16 |
similarity index 94% |
17 |
rename from dev-embedded/platformio/platformio-5.2.5.ebuild |
18 |
rename to dev-embedded/platformio/platformio-5.2.5-r1.ebuild |
19 |
index 6d3c7cad5bfd..9c73bc3fd57d 100644 |
20 |
--- a/dev-embedded/platformio/platformio-5.2.5.ebuild |
21 |
+++ b/dev-embedded/platformio/platformio-5.2.5-r1.ebuild |
22 |
@@ -39,7 +39,7 @@ RDEPEND=" |
23 |
>=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}] |
24 |
=dev-python/starlette-0.18*[${PYTHON_USEDEP}] |
25 |
=dev-python/uvicorn-0.17*[${PYTHON_USEDEP}] |
26 |
- =dev-python/wsproto-1.0*[${PYTHON_USEDEP}] |
27 |
+ dev-python/wsproto[${PYTHON_USEDEP}] |
28 |
>=dev-python/zeroconf-0.37[${PYTHON_USEDEP}] |
29 |
') |
30 |
virtual/udev" |
31 |
@@ -70,7 +70,10 @@ distutils_enable_tests pytest |
32 |
|
33 |
src_prepare() { |
34 |
# Allow newer versions of zeroconf, Bug #831181. |
35 |
- sed -i '/zeroconf/s/==/>=/' "${S}"/setup.py || die |
36 |
+ # Also wsproto. |
37 |
+ sed -e '/zeroconf/s/==[0-9.*]*//' \ |
38 |
+ -e '/wsproto/s/==[0-9.*]*//' \ |
39 |
+ -i setup.py || die |
40 |
default |
41 |
} |