From 419615c336444c4988958dfc7d2ad84bf27f412e Mon Sep 17 00:00:00 2001
From: Emmanuel Arias <eamanu@debian.org>
Date: Mon, 1 Jul 2024 08:45:25 -0300
Subject: [PATCH] Team Upload.

* Team Upload.
* d/tests/avoid_syntax_warning_in_regex.patch: Add patch to fix a syntax warning
  in a regex expresion (Closes: #1061824).
---
 debian/changelog                              |  8 ++++++++
 .../avoid_syntax_warning_in_regex.patch       | 19 +++++++++++++++++++
 debian/patches/series                         |  1 +
 3 files changed, 28 insertions(+)
 create mode 100644 debian/patches/avoid_syntax_warning_in_regex.patch

diff --git a/debian/changelog b/debian/changelog
index 38ff9b9..0aa0646 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-cloudflare (2.11.1-2) UNRELEASED; urgency=medium
+
+  * Team Upload.
+  * d/tests/avoid_syntax_warning_in_regex.patch: Add patch to fix a syntax warning
+    in a regex expresion (Closes: #1061824).
+
+ -- Emmanuel Arias <eamanu@debian.org>  Mon, 01 Jul 2024 08:42:32 -0300
+
 python-cloudflare (2.11.1-1) unstable; urgency=medium
 
   * Update d/watch to use github API
diff --git a/debian/patches/avoid_syntax_warning_in_regex.patch b/debian/patches/avoid_syntax_warning_in_regex.patch
new file mode 100644
index 0000000..b096694
--- /dev/null
+++ b/debian/patches/avoid_syntax_warning_in_regex.patch
@@ -0,0 +1,19 @@
+Description: Avoid SyntaxWarning in regex for a not valid char
+ A backslash-character pair that is not a valid escape sequence now generates a SyntaxWarning. This patch change the regular string for a raw string.
+Author: Emmanuel Arias <eamanu@debian.org>
+Bug-Debian: https://bugs.debian.org/1061824
+Forwarded: no
+Last-Update: 2024-06-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/CloudFlare/api_decode_from_openapi.py
++++ b/CloudFlare/api_decode_from_openapi.py
+@@ -7,7 +7,7 @@
+ 
+ API_TYPES = ['GET', 'POST', 'PATCH', 'PUT', 'DELETE']
+ 
+-match_identifier = re.compile('\{[A-Za-z0-9_]*\}')
++match_identifier = re.compile(r'\{[A-Za-z0-9_]*\}')
+ 
+ def do_path(cmd, info):
+     """ do_path() """
diff --git a/debian/patches/series b/debian/patches/series
index aa91428..f672f3a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-stop-build-of-cli.patch
 0002-use-python3-interpreter.patch
+avoid_syntax_warning_in_regex.patch
-- 
GitLab