commit: e050ecc546754eca728e87b3477ede7b24f9881d Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> AuthorDate: Wed Jul 31 22:41:39 2024 +0000 Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> CommitDate: Wed Jul 31 22:44:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e050ecc5
sci-physics/openmodelica: add patch description https://github.com/gentoo/guru/commit/27eb38d18856f0e508b046fcb46db6737e557fb5#r144754597 Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net> .../openmodelica/files/openmodelica-1.23.1-raw_strings.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch b/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch index 73e169b36..d2762d9c7 100644 --- a/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch +++ b/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch @@ -1,5 +1,7 @@ -diff --git a/OMSens/analysis/indiv_sens.py b/analysis/indiv_sens.py -index 676c0b6..e12f022 100644 +Regular expression strings are not explicitly defined as raw strings. This +causes modern python versions (tested with 3.12) to trigger warnings/errors. + +See-also: https://github.com/OpenModelica/OpenModelica/issues/12757 --- a/OMSens/analysis/indiv_sens.py +++ b/OMSens/analysis/indiv_sens.py @@ -323,8 +323,8 @@ def slugify(value): @@ -13,8 +15,6 @@ index 676c0b6..e12f022 100644 return value -diff --git a/OMSens/modelica_interface/run_omc.py b/modelica_interface/run_omc.py -index 583e0d6..1cd67e4 100644 --- a/OMSens/modelica_interface/run_omc.py +++ b/OMSens/modelica_interface/run_omc.py @@ -36,7 +36,8 @@ def writeOMCLog(log_str, output_path):
