Andreas Tille pushed to branch master at Debian Med / porechop
Commits: 3c75adb2 by Andreas Tille at 2024-12-08T20:49:43+01:00 Fix Python3.12 string syntax Closes: #1085786 - - - - - 406097e1 by Andreas Tille at 2024-12-08T20:51:11+01:00 Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update) - - - - - a23d69b1 by Andreas Tille at 2024-12-08T20:52:03+01:00 routine-update: Ready to upload to unstable - - - - - 5 changed files: - debian/changelog - debian/control - + debian/patches/python3.12-syntax.patch - debian/patches/series - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +porechop (0.2.4+dfsg-7) unstable; urgency=medium + + * Fix Python3.12 string syntax + Closes: #1085786 + * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update) + + -- Andreas Tille <[email protected]> Sun, 08 Dec 2024 20:51:18 +0100 + porechop (0.2.4+dfsg-6) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -5,7 +5,7 @@ Uploaders: Cédric Lood <[email protected]>, Section: science Priority: optional Build-Depends: debhelper-compat (= 13), - dh-python, + dh-sequence-python3, libseqan2-dev, python3-dev, python3-setuptools ===================================== debian/patches/python3.12-syntax.patch ===================================== @@ -0,0 +1,16 @@ +Description: Fix Python3.12 string syntax +Bug-Debian: https://bugs.debian.org/1085786 +Author: Andreas Tille <[email protected]> +Last-Update: 2024-06-08 + +--- a/porechop/misc.py ++++ b/porechop/misc.py +@@ -258,7 +258,7 @@ def print_table(table, print_dest, align + for text, colour_name in sub_colour.items(): + row_str = row_str.replace(text, colour(text, colour_name)) + if j < row_rows - 1 and UNDERLINE in row_str: +- row_str = re.sub('\033\[4m', '', row_str) ++ row_str = re.sub(r'\033\[4m', '', row_str) + if return_str: + full_table_str += indenter + row_str + '\n' + else: ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ add_python_interpreter_line.patch no_soname.patch define-all-attribute-in-clean.patch +python3.12-syntax.patch ===================================== debian/rules ===================================== @@ -8,7 +8,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all export PYBUILD_DISABLE=test %: - dh $@ --with python3 --buildsystem pybuild + dh $@ --buildsystem pybuild override_dh_python3: dh_python3 --no-ext-rename View it on GitLab: https://salsa.debian.org/med-team/porechop/-/compare/4e0873727f113ff6baf8503ceafc11a76cf183dd...a23d69b106331df800aaf085e74c3c838d2f67ae -- View it on GitLab: https://salsa.debian.org/med-team/porechop/-/compare/4e0873727f113ff6baf8503ceafc11a76cf183dd...a23d69b106331df800aaf085e74c3c838d2f67ae 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
