diff -Nru python-first-2.0.0/debian/changelog python-first-2.0.0/debian/changelog --- python-first-2.0.0/debian/changelog 2013-06-11 11:50:23.000000000 +0000 +++ python-first-2.0.0/debian/changelog 2013-07-28 11:08:36.000000000 +0000 @@ -1,3 +1,10 @@ +python-first (2.0.0-2) unstable; urgency=low + + * Install all Python version to build (Closes: #718097) + * Patch setup.py so install works in non-UTF-8 environment + + -- Julien Danjou Sun, 28 Jul 2013 13:07:53 +0200 + python-first (2.0.0-1) unstable; urgency=low * Initial release (Closes: #711359) diff -Nru python-first-2.0.0/debian/control python-first-2.0.0/debian/control --- python-first-2.0.0/debian/control 2013-06-11 13:45:54.000000000 +0000 +++ python-first-2.0.0/debian/control 2013-07-28 11:07:40.000000000 +0000 @@ -3,9 +3,9 @@ Priority: extra Maintainer: Julien Danjou Build-Depends: debhelper (>= 8.0.0), - python | python-all | python-dev | python-all-dev, + python-all, python-setuptools, - python3 | python3-all | python3-dev | python3-all-dev, + python3-all, python3-setuptools, dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.4 diff -Nru python-first-2.0.0/debian/patches/fix-setup.py python-first-2.0.0/debian/patches/fix-setup.py --- python-first-2.0.0/debian/patches/fix-setup.py 1970-01-01 00:00:00.000000000 +0000 +++ python-first-2.0.0/debian/patches/fix-setup.py 2013-07-28 11:11:48.000000000 +0000 @@ -0,0 +1,28 @@ +--- a/setup.py ++++ b/setup.py +@@ -1,15 +1,22 @@ + from setuptools import setup + + import first ++import sys + ++if sys.version_info[0] >= 3: ++ long_description = (open('README.rst', encoding='utf-8').read() + '\n\n' + ++ open('HISTORY.rst', encoding='utf-8').read() + '\n\n' + ++ open('AUTHORS.rst', encoding='utf-8').read()) ++else: ++ long_description = (open('README.rst').read() + '\n\n' + ++ open('HISTORY.rst').read() + '\n\n' + ++ open('AUTHORS.rst').read()) + + setup( + name='first', + version=first.__version__, + description='Return the first true value of an iterable.', +- long_description=(open('README.rst').read() + '\n\n' + +- open('HISTORY.rst').read() + '\n\n' + +- open('AUTHORS.rst').read()), ++ long_description=long_description, + url='http://github.com/hynek/first/', + license=first.__license__, + author=first.__author__, diff -Nru python-first-2.0.0/debian/patches/series python-first-2.0.0/debian/patches/series --- python-first-2.0.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ python-first-2.0.0/debian/patches/series 2013-07-28 09:24:02.000000000 +0000 @@ -0,0 +1 @@ +fix-setup.py