mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
games-util/input-remapper: 9999: Handle build system changes
The dev has dropped setup.py but continues to use setuptools. Two patches introduced: 1. Dev has not specified a build-backend in pyproject.toml 2. mo-file generation manual execution (used to get handled by setup.py) Also "pydbus" has been replaced with "dasbus" Signed-off-by: Erica Nebula <EricaNebula@Proton.me>
This commit is contained in:
21
games-util/input-remapper/files/mo-files.patch
Normal file
21
games-util/input-remapper/files/mo-files.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
diff --git a/install/language.py b/install/language.py
|
||||
index 93dbac8..9bc7cad 100644
|
||||
--- a/install/language.py
|
||||
+++ b/install/language.py
|
||||
@@ -32,10 +32,7 @@ def make_lang(root: str) -> None:
|
||||
for po_file in glob.glob("po/*.po"):
|
||||
lang = splitext(basename(po_file))[0]
|
||||
target = join(
|
||||
- root,
|
||||
- "usr",
|
||||
- "share",
|
||||
- "input-remapper",
|
||||
+ "mo",
|
||||
"lang",
|
||||
lang,
|
||||
"LC_MESSAGES",
|
||||
@@ -52,3 +49,4 @@ def make_lang(root: str) -> None:
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
+make_lang("");
|
||||
Reference in New Issue
Block a user