aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-08-01 00:41:39 +0200
committerLucio Sauer <watermanpaint@posteo.net>2024-08-01 00:44:48 +0200
commite050ecc546754eca728e87b3477ede7b24f9881d (patch)
tree5c0c09e00fc0807213bbaa254e72b8fdc36f32e1
parentnet-im/chatterino: drop 2.4.6 (diff)
downloadguru-e050ecc546754eca728e87b3477ede7b24f9881d.tar.gz
guru-e050ecc546754eca728e87b3477ede7b24f9881d.tar.bz2
guru-e050ecc546754eca728e87b3477ede7b24f9881d.zip
sci-physics/openmodelica: add patch description
https://github.com/gentoo/guru/commit/27eb38d18856f0e508b046fcb46db6737e557fb5#r144754597 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
-rw-r--r--sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch8
1 files 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):