summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-03-29 01:56:16 +0100
committerSam James <sam@gentoo.org>2023-03-29 01:56:22 +0100
commit4909e091bf283b113e54588aa568110ba8048ad7 (patch)
tree8d5275d8781ec4dcc133aea976d360cd2c10d06d /dev-embedded/platformio
parentdev-ruby/rmagick: Stabilize 4.3.0 ppc, #903445 (diff)
downloadgentoo-4909e091bf283b113e54588aa568110ba8048ad7.tar.gz
gentoo-4909e091bf283b113e54588aa568110ba8048ad7.tar.bz2
gentoo-4909e091bf283b113e54588aa568110ba8048ad7.zip
dev-embedded/platformio: loosen starlette, uvicorn deps
Tests pass. Closes: https://bugs.gentoo.org/888427 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded/platformio')
-rw-r--r--dev-embedded/platformio/platformio-6.1.6-r1.ebuild (renamed from dev-embedded/platformio/platformio-6.1.6.ebuild)18
1 files changed, 11 insertions, 7 deletions
diff --git a/dev-embedded/platformio/platformio-6.1.6.ebuild b/dev-embedded/platformio/platformio-6.1.6-r1.ebuild
index 6c0dd8fa4f4b..27e962933b2c 100644
--- a/dev-embedded/platformio/platformio-6.1.6.ebuild
+++ b/dev-embedded/platformio/platformio-6.1.6-r1.ebuild
@@ -36,8 +36,8 @@ RDEPEND="
>=dev-python/pyelftools-0.27[${PYTHON_USEDEP}]
<dev-python/pyelftools-1[${PYTHON_USEDEP}]
=dev-python/marshmallow-3*[${PYTHON_USEDEP}]
- =dev-python/starlette-0.21*[${PYTHON_USEDEP}]
- =dev-python/uvicorn-0.19*[${PYTHON_USEDEP}]
+ >=dev-python/starlette-0.21[${PYTHON_USEDEP}]
+ >=dev-python/uvicorn-0.19[${PYTHON_USEDEP}]
dev-python/wsproto[${PYTHON_USEDEP}]
')
virtual/udev"
@@ -82,17 +82,21 @@ EPYTEST_DESELECT=(
distutils_enable_tests pytest
-src_prepare() {
- # Allow newer versions of zeroconf, Bug #831181.
- # Also wsproto.
- # ... and semantic_version, bug #853247.
+python_prepare_all() {
+ # Allow newer versions of:
+ # - zeroconf, bug #831181.
+ # - wsproto
+ # - semantic_version, bug #853247
+ # - starlette & uvicorn, bug #888427
sed \
-e '/zeroconf/s/<[0-9.*]*//' \
-e '/wsproto/s/==.*/"/' \
-e '/semantic_version/s/==[0-9.*]*//' \
+ -e '/starlette/s/==.*/"/' \
+ -e '/uvicorn/s/==.*/"/' \
-i setup.py || die
- default
+ distutils-r1_python_prepare_all
}
python_test() {