From 4c2a8993468b95a631be2fdee9c496488f5349b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org> Date: Thu, 15 Sep 2011 21:58:53 +0200 Subject: [PATCH] for Egg metadata; add "wsgiref" and "python" fallbacks --- debian/changelog | 2 +- pydist/dist_fallback | 2 ++ pydist/generate_fallback_list.py | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7bacc74..7b412a7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,7 +9,7 @@ python-defaults (2.7.2-6) UNRELEASED; urgency=low - add python to Depends if unversioned python shebang is detected in private directory - dist_fallback: add /usr/share/python-support/package/ to paths searched - for Egg metadata + for Egg metadata; add "wsgiref" and "python" fallbacks -- Scott Kitterman <scott@kitterman.com> Sat, 03 Sep 2011 11:21:35 -0400 diff --git a/pydist/dist_fallback b/pydist/dist_fallback index d88287e..ce45347 100644 --- a/pydist/dist_fallback +++ b/pydist/dist_fallback @@ -1,4 +1,6 @@ +python python setuptools python-pkg-resources +wsgiref python (>= 2.5) | python-wsgiref AddOns python-peak.util BitTornado bittornado BitTorrent bittorrent diff --git a/pydist/generate_fallback_list.py b/pydist/generate_fallback_list.py index 01464fa..78e06ae 100755 --- a/pydist/generate_fallback_list.py +++ b/pydist/generate_fallback_list.py @@ -68,5 +68,7 @@ for line in stdout.splitlines(): result.sort() 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.writelines(result) -- GitLab