Sascha Steinbiss pushed to branch master at Debian Med / gfapy
Commits: d9f778e6 by Sascha Steinbiss at 2024-10-27T12:37:03+01:00 add patch to use raw strings where regexes are included - - - - - 4f82bda7 by Sascha Steinbiss at 2024-10-27T12:37:17+01:00 bump Standards-Version - - - - - 90605162 by Sascha Steinbiss at 2024-10-27T12:37:24+01:00 bump copyright date for debian/ directory - - - - - 6 changed files: - debian/changelog - debian/control - debian/copyright - debian/lintian-overrides - + debian/patches/regex-raw-strings.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,12 @@ +gfapy (1.2.3+dfsg-3) unstable; urgency=medium + + * Add patch to use raw strings where regexes are included. + Closes: #1085607 + * Bump Standards-Version to 4.7.0 (no changes needed) + * Bump copyright date for debian/ directory. + + -- Sascha Steinbiss <[email protected]> Sun, 27 Oct 2024 11:12:43 +0100 + gfapy (1.2.3+dfsg-2) unstable; urgency=medium * Team Upload. ===================================== debian/control ===================================== @@ -10,7 +10,7 @@ Build-Depends: debhelper-compat (= 13), python3-setuptools, python3-pytest, txt2man -Standards-Version: 4.6.1 +Standards-Version: 4.7.0 Rules-Requires-Root: no Vcs-Browser: https://salsa.debian.org/med-team/gfapy Vcs-Git: https://salsa.debian.org/med-team/gfapy.git ===================================== debian/copyright ===================================== @@ -11,7 +11,7 @@ License: ISC Comment: Please see the CONTRIBUTORS file for more names. Files: debian/* -Copyright: © 2017 Debian Med Packaging Team <[email protected]> +Copyright: © 2017-2024 Debian Med Packaging Team <[email protected]> License: ISC License: ISC ===================================== debian/lintian-overrides ===================================== @@ -1,2 +1,2 @@ # this package is primarily a library -python3-gfapy: library-package-name-for-application usr/bin/gfapy-* +python3-gfapy: library-package-name-for-application * ===================================== debian/patches/regex-raw-strings.patch ===================================== @@ -0,0 +1,16 @@ +Description: use raw strings for regex + Fixes a SyntaxWarning in later Python versions. +Author: Sascha Steinbiss <[email protected]> +Forwarded: https://github.com/ggonnella/gfapy/pull/34 +Last-Update: 2024-10-27 +--- a/gfapy/field/float.py ++++ b/gfapy/field/float.py +@@ -17,7 +17,7 @@ + if not re.match(r"^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$", string): + raise gfapy.FormatError( + "{} does not represent a valid float\n".format(repr(string)) + +- "(it does not match [-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)") ++ r"(it does not match [-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?)") + + def unsafe_encode(obj): + return str(obj) ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ switch-to-pytest.patch +regex-raw-strings.patch View it on GitLab: https://salsa.debian.org/med-team/gfapy/-/compare/b82385bfdea73ea9a7eea54435319841661d0760...90605162a6a65ce452f18ea3dfe8187ffe0d9f6a -- View it on GitLab: https://salsa.debian.org/med-team/gfapy/-/compare/b82385bfdea73ea9a7eea54435319841661d0760...90605162a6a65ce452f18ea3dfe8187ffe0d9f6a You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
