From c83873e2299deab185a19fb28305c3123becc6d1 Mon Sep 17 00:00:00 2001 From: Matthias Klose <doko@ubuntu.com> Date: Tue, 24 Jan 2012 11:53:08 +0100 Subject: [PATCH] * For argparse eggs, generate dependencies of the form "python (>= 2.7) | python-argparse". Closes: #657119. --- debian/changelog | 7 +++++++ pydist/generate_fallback_list.py | 1 + 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index a385796..6f41062 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-defaults (2.7.2-10) unstable; urgency=low + + * For argparse eggs, generate dependencies of the form + "python (>= 2.7) | python-argparse". Closes: #657119. + + -- Matthias Klose <doko@debian.org> Tue, 24 Jan 2012 11:49:24 +0100 + python-defaults (2.7.2-9) unstable; urgency=low * Generate correct dependencies if private directory supports one Python diff --git a/pydist/generate_fallback_list.py b/pydist/generate_fallback_list.py index 78e06ae..cbaf720 100755 --- a/pydist/generate_fallback_list.py +++ b/pydist/generate_fallback_list.py @@ -71,4 +71,5 @@ fp = open('dist_fallback', 'w') fp.write('python python\n') fp.write('setuptools python-pkg-resources\n') fp.write('wsgiref python (>= 2.5) | python-wsgiref\n') +fp.write('argparse python (>= 2.7) | python-argparse\n') fp.writelines(result) -- GitLab