[med-svn] [Git][med-team/paleomix][master] 3 commits: shlex.patch: new: replace deprecated pipes by shlex.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Wed Oct 9 16:52:07 BST 2024



Étienne Mollier pushed to branch master at Debian Med / paleomix


Commits:
9c693b7a by Étienne Mollier at 2024-10-09T17:50:14+02:00
shlex.patch: new: replace deprecated pipes by shlex.

Closes: #1084684

- - - - -
80edda7c by Étienne Mollier at 2024-10-09T17:50:50+02:00
d/control: declare compliance to standards version 4.7.0.

- - - - -
ccbb6a56 by Étienne Mollier at 2024-10-09T17:51:41+02:00
Ready for upload to unstable.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/patches/series
- + debian/patches/shlex.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+paleomix (1.3.8-2) unstable; urgency=medium
+
+  * shlex.patch: new: replace deprecated pipes by shlex. (Closes: #1084684)
+  * d/control: declare compliance to standards version 4.7.0.
+
+ -- Étienne Mollier <emollier at debian.org>  Wed, 09 Oct 2024 17:51:31 +0200
+
 paleomix (1.3.8-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
@@ -19,7 +19,7 @@ Build-Depends: debhelper-compat (= 13),
                rsync,
                examl,
                picard-tools
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/paleomix
 Vcs-Git: https://salsa.debian.org/med-team/paleomix.git
 Homepage: https://geogenetics.ku.dk/publications/paleomix


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 xfail_command_tests.patch
 python3.11.patch
+shlex.patch


=====================================
debian/patches/shlex.patch
=====================================
@@ -0,0 +1,29 @@
+Description: replace pipes.quote by shlex.quote.
+ The affected hunk does not appear in upstream source code, so the patch
+ will probably be dropped by next release.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/1084684
+Forwarded: not-needed
+Last-Update: 2024-10-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- paleomix.orig/paleomix/atomiccmd/pprint.py
++++ paleomix/paleomix/atomiccmd/pprint.py
+@@ -21,7 +21,7 @@
+ # SOFTWARE.
+ #
+ import os
+-import pipes
++import shlex
+ import subprocess
+ 
+ 
+@@ -168,7 +168,7 @@
+     to be exceeded."""
+     result = [[]]
+     current_width = 0
+-    for item in (pipes.quote(str(value)) for value in lst):
++    for item in (shlex.quote(str(value)) for value in lst):
+         if current_width + len(item) + 1 > width:
+             if not result[-1]:
+                 result[-1] = [item]



View it on GitLab: https://salsa.debian.org/med-team/paleomix/-/compare/344bb62070ae45317dfb9d939d88c91962831571...ccbb6a565f6d38cd57730cd8638e9b872ae8aad4

-- 
View it on GitLab: https://salsa.debian.org/med-team/paleomix/-/compare/344bb62070ae45317dfb9d939d88c91962831571...ccbb6a565f6d38cd57730cd8638e9b872ae8aad4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20241009/5ea6cf66/attachment-0001.htm>


More information about the debian-med-commit mailing list