[med-svn] [Git][med-team/mirtop][master] 4 commits: Fix Python3 syntax

Andreas Tille (@tille) gitlab at salsa.debian.org
Mon Jul 10 13:16:25 BST 2023



Andreas Tille pushed to branch master at Debian Med / mirtop


Commits:
8ec74b5c by Andreas Tille at 2023-07-10T14:12:52+02:00
Fix Python3 syntax

- - - - -
eb970f14 by Andreas Tille at 2023-07-10T14:13:19+02:00
routine-update: Standards-Version: 4.6.2

- - - - -
2017454e by Andreas Tille at 2023-07-10T14:13:30+02:00
Set upstream metadata fields: Repository.

Changes-By: lintian-brush

- - - - -
d6e7d244 by Andreas Tille at 2023-07-10T14:15:32+02:00
routine-update: Ready to upload to unstable

- - - - -


5 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+mirtop (0.4.25-3) unstable; urgency=medium
+
+  * Team upload.
+  * Fix Python3 syntax
+    Closes: #1040287
+  * Standards-Version: 4.6.2 (routine-update)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 10 Jul 2023 14:13:45 +0200
+
 mirtop (0.4.25-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -15,7 +15,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-pybedtools,
                python3-pandas,
                python3-biopython
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/med-team/mirtop
 Vcs-Git: https://salsa.debian.org/med-team/mirtop.git
 Homepage: https://github.com/miRTop/mirtop


=====================================
debian/patches/python3-syntax.patch
=====================================
@@ -0,0 +1,16 @@
+Descriptiosn: Fix Python3 syntax
+Bug-Debian: https://bugs.debian.org/1040287
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 10 Jul 2023 14:11:25 +0200
+
+--- a/mirtop/mirna/mintplates.py
++++ b/mirtop/mirna/mintplates.py
+@@ -509,7 +509,7 @@ def encode_sequence(sequence, prefix):
+     """
+     length = len(sequence)
+     # Encode label
+-    if prefix is '':
++    if prefix == '':
+         final_result = [(str(length) + '-')]
+     else:
+         final_result = [prefix + "-" + str(length) + "-"]


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 spelling
 fix-circular-import.patch
 pytest.patch
+python3-syntax.patch


=====================================
debian/upstream/metadata
=====================================
@@ -42,7 +42,7 @@ Registry:
   - Name: conda:bioconda
     Entry: mirtop
 Archive: GitHub
-Repository: https://github.com/miRTop/mirtop
+Repository: https://github.com/miRTop/mirtop.git
 Repository-Browse: https://github.com/miRTop/mirtop
 Bug-Database: https://github.com/miRTop/mirtop/issues
 Bug-Submit: https://github.com/miRTop/mirtop/issues/new



View it on GitLab: https://salsa.debian.org/med-team/mirtop/-/compare/faf3dd99c0fdcc0dbfe453288fd321ab761a53b0...d6e7d244d785dec8fb92a25133e6731c2e34737b

-- 
View it on GitLab: https://salsa.debian.org/med-team/mirtop/-/compare/faf3dd99c0fdcc0dbfe453288fd321ab761a53b0...d6e7d244d785dec8fb92a25133e6731c2e34737b
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/20230710/ee4b6888/attachment-0001.htm>


More information about the debian-med-commit mailing list