[med-svn] [Git][med-team/python-xopen][master] 6 commits: New upstream version 0.3.3

Andreas Tille gitlab at salsa.debian.org
Wed May 2 14:59:52 BST 2018


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


Commits:
10b4d8c4 by Andreas Tille at 2018-04-16T14:50:48+02:00
New upstream version 0.3.3
- - - - -
9beae6cb by Andreas Tille at 2018-04-16T14:50:48+02:00
Update upstream source from tag 'upstream/0.3.3'

Update to upstream version '0.3.3'
with Debian dir e2da6b1725c5eb746768bd92f2761aca1055915a
- - - - -
63ab0f3a by Andreas Tille at 2018-04-16T14:50:48+02:00
New upstream version

- - - - -
68c8e360 by Andreas Tille at 2018-04-16T14:50:50+02:00
Point Vcs fields to salsa.debian.org

- - - - -
b6ade054 by Andreas Tille at 2018-04-16T14:50:50+02:00
Standards-Version: 4.1.4

- - - - -
a9bb0b99 by Andreas Tille at 2018-04-16T14:53:43+02:00
Testsuite: autopkgtest-pkg-python

- - - - -


4 changed files:

- debian/changelog
- debian/control
- setup.py
- xopen.py


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-xopen (0.3.3-1) UNRELEASED; urgency=medium
+
+  * New upstream version
+  * Point Vcs fields to salsa.debian.org
+  * Standards-Version: 4.1.4
+  * Testsuite: autopkgtest-pkg-python
+
+ -- Andreas Tille <tille at debian.org>  Mon, 16 Apr 2018 14:50:48 +0200
+
 python-xopen (0.3.2-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: python-xopen
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
 Section: python
+Testsuite: autopkgtest-pkg-python
 Priority: optional
 Build-Depends: debhelper (>= 11~),
                dh-python,
@@ -13,9 +14,9 @@ Build-Depends: debhelper (>= 11~),
                python3-setuptools,
                python3-nose,
                python3-bz2file
-Standards-Version: 4.1.3
-Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-xopen.git
-Vcs-Git: https://anonscm.debian.org/git/debian-med/python-xopen.git
+Standards-Version: 4.1.4
+Vcs-Browser: https://salsa.debian.org/med-team/python-xopen
+Vcs-Git: https://salsa.debian.org/med-team/python-xopen.git
 Homepage: https://github.com/marcelm/xopen
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2


=====================================
setup.py
=====================================
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ else:
 
 setup(
 	name='xopen',
-	version='0.3.2',
+	version='0.3.3',
 	author='Marcel Martin',
 	author_email='mail at marcelm.net',
 	url='https://github.com/marcelm/xopen/',


=====================================
xopen.py
=====================================
--- a/xopen.py
+++ b/xopen.py
@@ -197,13 +197,16 @@ def xopen(filename, mode='r', compresslevel=6):
 
 	# standard input and standard output handling
 	if filename == '-':
-		return dict(
-			r=sys.stdin,
-			rt=sys.stdin,
-			rb=sys.stdin.buffer,
-			w=sys.stdout,
-			wt=sys.stdout,
-			wb=sys.stdout.buffer)[mode]
+		if not _PY3:
+			return dict(r=sys.stdin, w=sys.stdout)[mode]
+		else:
+			return dict(
+				r=sys.stdin,
+				rt=sys.stdin,
+				rb=sys.stdin.buffer,
+				w=sys.stdout,
+				wt=sys.stdout,
+				wb=sys.stdout.buffer)[mode]
 
 	if filename.endswith('.bz2'):
 		if bz2 is None:



View it on GitLab: https://salsa.debian.org/med-team/python-xopen/compare/b223e4480841e497af29a3f6dd24aea7fad59020...a9bb0b992bbc20e51b7e39b5d72fc078e9e3bc9d

---
View it on GitLab: https://salsa.debian.org/med-team/python-xopen/compare/b223e4480841e497af29a3f6dd24aea7fad59020...a9bb0b992bbc20e51b7e39b5d72fc078e9e3bc9d
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/20180502/a5d492c6/attachment-0001.html>


More information about the debian-med-commit mailing list