Andreas Tille pushed to branch debian/experimental at Debian Med / porechop
Commits: 2f53db8f by Andreas Tille at 2024-12-08T21:05:58+01:00 Fix Python3.12 string syntax Closes: #1085786 - - - - - 7bb467bd by Andreas Tille at 2024-12-08T21:07:16+01:00 Build-Depends: s/dh-python/dh-sequence-python3/ - - - - - d6a8bc53 by Andreas Tille at 2024-12-08T21:08:09+01:00 Upload to exprimental - - - - - 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-8) experimental; urgency=medium + + * Fix Python3.12 string syntax + Closes: #1085786 + * Build-Depends: s/dh-python/dh-sequence-python3/ + + -- Andreas Tille <[email protected]> Sun, 08 Dec 2024 21:07:46 +0100 + porechop (0.2.4+dfsg-7) experimental; urgency=medium [ Enrico Seiler ] ===================================== 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 (= 2.5.0~rc3+dfsg-1), 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 ===================================== @@ -3,3 +3,4 @@ no_soname.patch define-all-attribute-in-clean.patch 0004-Upgrade-to-SeqAn-2.5.0.patch hardening +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/7751992ca479c38a79247e685a66afde4e4f9e10...d6a8bc531d9269818104fe8b76c7c516f3b7b507 -- View it on GitLab: https://salsa.debian.org/med-team/porechop/-/compare/7751992ca479c38a79247e685a66afde4e4f9e10...d6a8bc531d9269818104fe8b76c7c516f3b7b507 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
