Package: dh-python
Severity: wishlist
Control: tag -1 +patch

Hi,

Some Python programs are meant to be used via python -m $MODULE, and
thus might have the need to parse command line arguments via argparse,
without being tied to a specific dialect of Python. For Python2, we have
solved the problem of its availability in the mainline Python 2.7 via
the fallbacks, which is why this patches alleviates the Python3 problem
in pretty much the same way.

Cheers,
Simon
---
 debian/changelog                 | 6 ++++++
 pydist/generate_fallback_list.py | 1 +
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 37536b7..dec45c1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-python (1.20140928-1) UNRELEASED; urgency=medium
+
+  * pydist: Add argparse fallback to python3 (>= 3.2) to CPython3 overrides
+
+ -- Simon Chopin <chopin.si...@gmail.com>  Sun, 28 Sep 2014 16:15:58 +0200
+
 dh-python (1.20140511-1) unstable; urgency=medium
 
   [ Piotr Ożarowski ]
diff --git a/pydist/generate_fallback_list.py b/pydist/generate_fallback_list.py
index c3e843c..76f487f 100755
--- a/pydist/generate_fallback_list.py
+++ b/pydist/generate_fallback_list.py
@@ -38,6 +38,7 @@ DEFAULTS = {
         'pil python-imaging\n'],
     'cpython3': [
         'setuptools python3-pkg-resources\n'],
+        'argparse python3 (>= 3.2) | python-argparse\n',
     'pypy': []
 }
 
-- 
2.1.1


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to