[med-svn] [Git][med-team/python-pyfaidx][master] 4 commits: New upstream version 0.5.5.2

Andreas Tille gitlab at salsa.debian.org
Sat Oct 27 06:17:48 BST 2018


Andreas Tille pushed to branch master at Debian Med / python-pyfaidx


Commits:
064d13a0 by Andreas Tille at 2018-10-27T05:08:14Z
New upstream version 0.5.5.2
- - - - -
b6161e92 by Andreas Tille at 2018-10-27T05:08:15Z
Update upstream source from tag 'upstream/0.5.5.2'

Update to upstream version '0.5.5.2'
with Debian dir fe56955d3ad058de805d3e9fd0497ac105e4906e
- - - - -
a2c50811 by Andreas Tille at 2018-10-27T05:09:16Z
New upstream version closes #911874

- - - - -
4a9dc17a by Andreas Tille at 2018-10-27T05:14:00Z
Upload to unstable

- - - - -


3 changed files:

- .travis.yml
- debian/changelog
- pyfaidx/__init__.py


Changes:

=====================================
.travis.yml
=====================================
@@ -1,7 +1,9 @@
 language: python
-sudo: false
+sudo: required
+dist: xenial
 python:
     - 'nightly'
+    - '3.7'
     - '3.6'
     - '3.5'
     - '3.4'
@@ -36,7 +38,7 @@ deploy:
     secure: MbSaeuitkVTZqxa0PJ3RcR1aMf+B/sMbcx2sWOo9xfLlRFDFpYWJZ0EfXWEhrVu2YWXpBsasgunTDWSi0jNcZMH92MzOC+UTVYr45LO5sy6hm4iSiAgm/DPgYWdjP0SFKr7eL/HWPS+gHvgkXL1upleX21O358bxaezoasuKFvs=
   on:
     all_branches: true
-    python: 2.7
+    python: 3.6
     tags: true
     repo: mdshw5/pyfaidx
 matrix:


=====================================
debian/changelog
=====================================
@@ -1,10 +1,11 @@
-python-pyfaidx (0.5.5.1-1) UNRELEASED; urgency=medium
+python-pyfaidx (0.5.5.2-1) unstable; urgency=medium
 
   * New upstream version
+    Closes: #911874
   * Standards-Version: 4.2.1
   * Secure URI in copyright format
 
- -- Andreas Tille <tille at debian.org>  Thu, 25 Oct 2018 20:30:14 +0200
+ -- Andreas Tille <tille at debian.org>  Sat, 27 Oct 2018 07:11:40 +0200
 
 python-pyfaidx (0.5.4-1) unstable; urgency=medium
 


=====================================
pyfaidx/__init__.py
=====================================
@@ -25,7 +25,7 @@ if sys.version_info > (3, ):
 
 dna_bases = re.compile(r'([ACTGNactgnYRWSKMDVHBXyrwskmdvhbx]+)')
 
-__version__ = '0.5.5.1'
+__version__ = '0.5.5.2'
 
 
 class KeyFunctionError(ValueError):
@@ -813,7 +813,7 @@ class FastaRecord(object):
             raise
 
     def __iter__(self):
-        """ Construct a line-based iterator that respects the original line lengths. """
+        """ Construct a line-based generator that respects the original line lengths. """
         line_len = self._fa.faidx.index[self.name].lenc
         start = 0
         while True:
@@ -822,11 +822,11 @@ class FastaRecord(object):
                 yield self[start:end]
             else:
                 yield self[start:]
-                raise StopIteration
+                return
             start += line_len
 
     def __reversed__(self):
-        """ Reverse line-based iterator """
+        """ Reverse line-based generator """
         line_len = self._fa.faidx.index[self.name].lenc
         # have to determine last line length
         last_line = len(self) % line_len
@@ -839,7 +839,7 @@ class FastaRecord(object):
                 yield self[start:end][::-1]
             else:
                 yield self[:end][::-1]
-                raise StopIteration
+                return
             if end == len(self):  # first iteration
                 end -= last_line
             else:



View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/compare/e4da1ad0d1b2bd35a32dcba87569ca00f6f2d58f...4a9dc17a2b2c01c3d67168e90079c29efedc37ba

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/compare/e4da1ad0d1b2bd35a32dcba87569ca00f6f2d58f...4a9dc17a2b2c01c3d67168e90079c29efedc37ba
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/20181027/57529551/attachment-0001.html>


More information about the debian-med-commit mailing list