[med-svn] [python-multipletau] 06/09: Add unicode_readme.patch drop numpy_1.11.0.patch

Alex Mestiashvili malex-guest at moszumanska.debian.org
Fri Jul 22 13:43:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

malex-guest pushed a commit to branch master
in repository python-multipletau.

commit a56a0a71af990a067f39cb14c5c2e454cb0afa51
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Fri Jul 22 14:12:17 2016 +0200

    Add unicode_readme.patch drop numpy_1.11.0.patch
---
 debian/patches/series               |  2 +-
 debian/patches/unicode_readme.patch | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/patches/series b/debian/patches/series
index d485948..b80a808 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,2 @@
-numpy_1.11.0.patch
+unicode_readme.patch
 packaged-mathjax.path
diff --git a/debian/patches/unicode_readme.patch b/debian/patches/unicode_readme.patch
new file mode 100644
index 0000000..d0fb232
--- /dev/null
+++ b/debian/patches/unicode_readme.patch
@@ -0,0 +1,21 @@
+Description: Import codec module to read README.rst file with unicode symbols
+Author: Alex Mestiashvili <mailatgoogl at gmail.com>
+--- python-multipletau.orig/setup.py
++++ python-multipletau/setup.py
+@@ -4,6 +4,7 @@
+ # python setup.py sdist
+ from os.path import exists, dirname, realpath
+ from setuptools import setup
++import codecs
+ import sys
+ 
+ 
+@@ -32,7 +33,7 @@
+         package_dir={name: name},
+         license="BSD (3 clause)",
+         description=description,
+-        long_description=open('README.rst').read() if exists('README.rst') else '',
++        long_description=codecs.open('README.rst','r','utf-8').read() if exists('README.rst') else '',
+         install_requires=["NumPy >= 1.5.1"],
+         keywords=["multiple", "tau", "FCS", "correlation", "spectroscopy",
+                   "fluorescence"],

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-multipletau.git



More information about the debian-med-commit mailing list