Andreas Tille pushed to branch master at Debian Med / microbegps


Commits:
04d63eb9 by Andreas Tille at 2024-12-08T20:17:23+01:00
Fix Python3.12 string syntax Closes: #1085723

- - - - -
a45835c1 by Andreas Tille at 2024-12-08T20:20:17+01:00
Standards-Version: 4.7.0 (routine-update)

- - - - -
dce45771 by Andreas Tille at 2024-12-08T20:22:35+01:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/python3.12-syntax.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+microbegps (1.0.0-7) unstable; urgency=medium
+
+  * Fix Python3.12 string syntax
+    Closes: #1085723
+  * Standards-Version: 4.7.0 (routine-update)
+
+ -- Andreas Tille <[email protected]>  Sun, 08 Dec 2024 20:20:39 +0100
+
 microbegps (1.0.0-6) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -8,7 +8,7 @@ Build-Depends: debhelper-compat (= 13),
                python3,
                python3-setuptools,
                python3-pyqt5
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/microbegps
 Vcs-Git: https://salsa.debian.org/med-team/microbegps.git
 Homepage: http://sourceforge.net/projects/microbegps/


=====================================
debian/patches/python3.12-syntax.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix Python3.12 string syntax
+Bug-Debian: https://bugs.debian.org/1085723
+Author: Andreas Tille <[email protected]>
+Last-Update: 2024-06-06
+
+--- a/microbegps/gps.py
++++ b/microbegps/gps.py
+@@ -88,7 +88,7 @@ def __calculate_mapping_score_no_pysam(c
+       # get mismatches from SAM tag 'MD'
+       score += nm
+       # get all errors from cigar string
+-      for ln,er in re.findall('(\d+)([ID])',cigar):
++      for ln,er in re.findall(r'(\d+)([ID])',cigar):
+               score += float(ln)
+       return score/float(rlen)
+       


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 2to3.patch
 PyQt5.patch
 TkAgg.patch
+python3.12-syntax.patch



View it on GitLab: 
https://salsa.debian.org/med-team/microbegps/-/compare/f73c026a019d6f846501bb669504b171092a31dd...dce4577193f77c9a6279c5c8b0818477ef6324bc

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/microbegps/-/compare/f73c026a019d6f846501bb669504b171092a31dd...dce4577193f77c9a6279c5c8b0818477ef6324bc
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

Reply via email to