mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/python-sdbus-modemmanager: fix sdbus-modemmanager intall path
Since the last version bump in commit [1] python-sdbus-modemmanager
install step miss-behave following the switch to poetry (as reported
by [2]).
The sdbus-modemmanager python module is intalled in a second
"modemmanager" subdirectory:
$(TARGET_DIR)/lib/python3.14/site-packages/sdbus_block/modemmanager/modemmanager/
This break existing python script using:
from sdbus_block.modemmanager import MMBearer
Fix tool.poetry install step by removing one "modemmanager".
[1] 7c30b1e522
[2] https://github.com/zhanglongqi/python-sdbus-modemmanager/issues/24
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/13904075359
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
258128aefe
commit
af2f3208cf
@@ -0,0 +1,50 @@
|
||||
From 7a99efa663bf9602099f0658aecbec6b5dce778a Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@smile.fr>
|
||||
Date: Sat, 9 May 2026 00:29:59 +0200
|
||||
Subject: [PATCH] pyproject.toml: fix sdbus-modemmanager intall path
|
||||
|
||||
Since the switch to poetry in 1.0.3 [1] python-sdbus-modemmanager
|
||||
install step miss-behave (as reported by [2]).
|
||||
|
||||
The sdbus-modemmanager python module is intalled in a second
|
||||
"modemmanager" subdirectory:
|
||||
|
||||
/lib/python3.14/site-packages/sdbus_block/modemmanager/modemmanager/
|
||||
|
||||
This break existing python script using:
|
||||
|
||||
from sdbus_block.modemmanager import MMBearer
|
||||
|
||||
Fix tool.poetry install step by removing one "modemmanager".
|
||||
|
||||
[1] 0d8ae7217841ab1bc12282076f766f94415573f5
|
||||
[2] https://github.com/zhanglongqi/python-sdbus-modemmanager/issues/24
|
||||
|
||||
Fixes:
|
||||
https://gitlab.com/buildroot.org/buildroot/-/jobs/13904075359
|
||||
|
||||
Upstream: https://github.com/zhanglongqi/python-sdbus-modemmanager/pull/25
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
pyproject.toml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 5e57df6..bf97a5d 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -27,8 +27,8 @@ classifiers = [
|
||||
|
||||
[tool.poetry]
|
||||
packages = [
|
||||
- { include = "modemmanager", from="sdbus_async", to="sdbus_async/modemmanager" },
|
||||
- { include = "modemmanager", from="sdbus_block", to="sdbus_block/modemmanager" },
|
||||
+ { include = "modemmanager", from="sdbus_async", to="sdbus_async" },
|
||||
+ { include = "modemmanager", from="sdbus_block", to="sdbus_block" },
|
||||
]
|
||||
|
||||
[build-system]
|
||||
--
|
||||
2.54.0
|
||||
|
||||
Reference in New Issue
Block a user