commit: 7d39953b57108bf11782328cc545b751d0680b27 Author: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com> AuthorDate: Thu Nov 13 20:34:54 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Nov 13 20:34:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d39953b
sci-physics/openmodelica: Remove obsolete patch Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com> .../files/openmodelica-1.24.0-raw_strings.patch | 29 ---------------------- 1 file changed, 29 deletions(-) diff --git a/sci-physics/openmodelica/files/openmodelica-1.24.0-raw_strings.patch b/sci-physics/openmodelica/files/openmodelica-1.24.0-raw_strings.patch deleted file mode 100644 index d2762d9c7a..0000000000 --- a/sci-physics/openmodelica/files/openmodelica-1.24.0-raw_strings.patch +++ /dev/null @@ -1,29 +0,0 @@ -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): - and converts spaces to hyphens. - """ - value = unicodedata.normalize('NFKD', value) -- value = re.sub('[^\w\s-]', '', value).strip().lower() -- value = re.sub('[-\s]+', '-', value) -+ value = re.sub(r'[^\w\s-]', '', value).strip().lower() -+ value = re.sub(r'[-\s]+', '-', value) - return value - - ---- a/OMSens/modelica_interface/run_omc.py -+++ b/OMSens/modelica_interface/run_omc.py -@@ -36,7 +36,8 @@ def writeOMCLog(log_str, output_path): - final_str = intro_str+separator_str+log_str - filesystem.files_aux.writeStrToFile(final_str,output_path) - return 0 -+ - def removeTemporaryFiles(folder_path): -- regex = '.*\.(c|o|h|makefile|log|libs|json)$' -+ regex = r'.*\.(c|o|h|makefile|log|libs|json)$' - filesystem.files_aux.removeFilesWithRegexAndPath(regex,folder_path) -
