From e050ecc546754eca728e87b3477ede7b24f9881d Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Thu, 1 Aug 2024 00:41:39 +0200 Subject: [PATCH] sci-physics/openmodelica: add patch description https://github.com/gentoo/guru/commit/27eb38d18856f0e508b046fcb46db6737e557fb5#r144754597 Signed-off-by: Lucio Sauer --- .../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 73e169b36a..d2762d9c7a 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):