a4b4a90557
* external/lxml/Wincompatible-function-pointer-types.patch: fixed upstream. * backport external/lxml/0001-Make-regexp-string-raw-to-correct-its-escape-sequenc.patch.1 from <https://github.com/lxml/lxml/pull/371>. Changelog: https://lxml.de/4.9/changes-4.9.2.html Change-Id: I8ea947b3b1fb30b9427d066bd41a5d4693ceedbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153863 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
31 lines
928 B
Groff
31 lines
928 B
Groff
From 9686dd9c7670d18acff6360c8444520273d5f1b2 Mon Sep 17 00:00:00 2001
|
|
From: Jakub Wilk <jwilk@jwilk.net>
|
|
Date: Fri, 16 Jun 2023 09:24:21 +0200
|
|
Subject: [PATCH] Make regexp string raw to correct its escape sequence usage
|
|
(GH-371)
|
|
|
|
Fixes:
|
|
|
|
$ python3 -Wd setup.py
|
|
setup.py:117: DeprecationWarning: invalid escape sequence \.
|
|
...
|
|
---
|
|
setup.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 709cbc68..7a3f46e5 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -114,7 +114,7 @@ extra_options['packages'] = [
|
|
|
|
def setup_extra_options():
|
|
is_interesting_package = re.compile('^(libxml|libxslt|libexslt)$').match
|
|
- is_interesting_header = re.compile('^(zconf|zlib|.*charset)\.h$').match
|
|
+ is_interesting_header = re.compile(r'^(zconf|zlib|.*charset)\.h$').match
|
|
|
|
def extract_files(directories, pattern='*'):
|
|
def get_files(root, dir_path, files):
|
|
--
|
|
2.39.2
|
|
|