[med-svn] [Git][med-team/ctdconverter][master] 3 commits: Fix Python3 syntax

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Jul 13 16:37:51 BST 2023



Andreas Tille pushed to branch master at Debian Med / ctdconverter


Commits:
feb2a6f8 by Andreas Tille at 2023-07-13T17:34:19+02:00
Fix Python3 syntax

- - - - -
a2e11b98 by Andreas Tille at 2023-07-13T17:35:07+02:00
routine-update: Standards-Version: 4.6.2

- - - - -
41629a31 by Andreas Tille at 2023-07-13T17:36:28+02:00
routine-update: Ready to upload to unstable

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+ctdconverter (2.1-6) unstable; urgency=medium
+
+  * Team upload.
+  * Fix Python3 syntax
+    Closes: #1040294
+  * Standards-Version: 4.6.2 (routine-update)
+
+ -- Andreas Tille <tille at debian.org>  Thu, 13 Jul 2023 17:35:37 +0200
+
 ctdconverter (2.1-5) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -13,7 +13,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-ctdopts,
                help2man,
                2to3
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/ctdconverter
 Vcs-Git: https://salsa.debian.org/med-team/ctdconverter.git
 Homepage: https://github.com/WorkflowConversion/CTDConverter


=====================================
debian/patches/python3-syntax.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix Python3 syntax
+Bug-Debian: https://bugs.debian.org/1040294
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 13 Jul 2023 17:33:30 +0200
+
+--- a/galaxy/converter.py
++++ b/galaxy/converter.py
+@@ -394,7 +394,7 @@ def create_command(tool, model, **kwargs
+                     command += "#if " + actual_parameter + ":\n"
+                     command += "  %s\n" % command_line_prefix
+                     command += "#end if\n" 
+-                elif TYPE_TO_GALAXY_TYPE[param.type] is 'text':
++                elif TYPE_TO_GALAXY_TYPE[param.type] == 'text':
+                     command += "#if " + actual_parameter + ":\n"
+                     command += "  %s " % command_line_prefix
+                     command += "    \"" + actual_parameter + "\"\n"


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ add_setup.py.patch
 upgrade_deprecated_strip
 correct_name
 py3_compat
+python3-syntax.patch



View it on GitLab: https://salsa.debian.org/med-team/ctdconverter/-/compare/19c900e6df868b0b17a54f42b21b1fb2ae54c91a...41629a314773785b09490b2f32b4bd2529827725

-- 
View it on GitLab: https://salsa.debian.org/med-team/ctdconverter/-/compare/19c900e6df868b0b17a54f42b21b1fb2ae54c91a...41629a314773785b09490b2f32b4bd2529827725
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/20230713/d5a41323/attachment-0001.htm>


More information about the debian-med-commit mailing list