--- argparse-1.2.1.orig/debian/python-argparse-doc.docs
+++ argparse-1.2.1/debian/python-argparse-doc.docs
@@ -0,0 +1,2 @@
+README.txt
+html
--- argparse-1.2.1.orig/debian/python-argparse-doc.doc-base
+++ argparse-1.2.1/debian/python-argparse-doc.doc-base
@@ -0,0 +1,10 @@
+Document: python-argparse-doc
+Title: python-argparse online documentation
+Author: Steven Bethard
+Abstract: This set of document provides more information on
+ the python-argparse extension
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-argparse-doc/html/index.html
+Files: /usr/share/doc/python-argparse-doc/html/*.html
--- argparse-1.2.1.orig/debian/copyright
+++ argparse-1.2.1/debian/copyright
@@ -0,0 +1,69 @@
+This package was debianized by Ritesh Raj Sarraf <rrs@researchut.com> on
+Thu, 11 Jun 2009 14:55:18 +0530.
+
+It was downloaded from http://code.google.com/p/argparse/
+
+Upstream Author:
+    Steven Bethard <steven.bethard@gmail.com>
+
+Copyright:
+    Copyright (C) 2006 - 2009 Steven Bethard <steven.bethard@gmail.com>
+
+License:
+    Python Software Foundation License
+    The latest version of the license, and all its details,
+    can be found at http://docs.python.org/license.html
+
+    PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+    --------------------------------------------
+
+    1. This LICENSE AGREEMENT is between the Python Software Foundation
+    ("PSF"), and the Individual or Organization ("Licensee") accessing and
+    otherwise using this software ("Python") in source or binary form and
+    its associated documentation.
+
+    2. Subject to the terms and conditions of this License Agreement, PSF hereby
+    grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
+    analyze, test, perform and/or display publicly, prepare derivative works,
+    distribute, and otherwise use Python alone or in any derivative version,
+    provided, however, that PSF's License Agreement and PSF's notice of copyright,
+    i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+    Python Software Foundation; All Rights Reserved" are retained in Python alone or
+    in any derivative version prepared by Licensee.
+
+    3. In the event Licensee prepares a derivative work that is based on
+    or incorporates Python or any part thereof, and wants to make
+    the derivative work available to others as provided herein, then
+    Licensee hereby agrees to include in any such work a brief summary of
+    the changes made to Python.
+
+    4. PSF is making Python available to Licensee on an "AS IS"
+    basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+    IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+    DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+    FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+    INFRINGE ANY THIRD PARTY RIGHTS.
+
+    5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+    FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+    A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+    OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+    6. This License Agreement will automatically terminate upon a material
+    breach of its terms and conditions.
+
+    7. Nothing in this License Agreement shall be deemed to create any
+    relationship of agency, partnership, or joint venture between PSF and
+    Licensee.  This License Agreement does not grant permission to use PSF
+    trademarks or trade name in a trademark sense to endorse or promote
+    products or services of Licensee, or any third party.
+
+    8. By copying, installing or otherwise using Python, Licensee
+    agrees to be bound by the terms and conditions of this License
+    Agreement.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 - 2011 Ritesh Raj Sarraf <rrs@researchut.com>
+
+and is licensed under the Python Software Foundation License
--- argparse-1.2.1.orig/debian/changelog
+++ argparse-1.2.1/debian/changelog
@@ -0,0 +1,81 @@
+argparse (1.2.1-2.4.201403130419) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Thu, 13 Mar 2014 04:19:51 +0100
+
+argparse (1.2.1-2) unstable; urgency=low
+
+  * Only ship argparse for Python version lower than 2.7.
+    - argparse is the default option parser with 2.7 and above 
+    Thanks to Arnaud Fontaine for the patch (Closes: #651962)
+
+ -- Ritesh Raj Sarraf <rrs@debian.org>  Sat, 17 Dec 2011 07:26:49 +0530
+
+argparse (1.2.1-1) unstable; urgency=low
+
+  [ Sameer Rahmani ]
+  * Watch file fixed for using google code repository.
+
+  [ Ritesh Raj Sarraf ]
+  * New upstream release 
+  * [74bdcf2] add setuptools to build dependencies
+  * [c6424c4] Update Standards Version to 3.9.2. No changes required
+  * [5e6f3df] Switch to dh_python2.
+    Thanks to Julian Taylor (Closes: 631410)
+  * [9d05429] Ship symlink html/ folder in python-argparse (Closes: 613105)
+  * [ac1e42b] build target fix for lintian
+  * [25986d9] update license to PSF license
+
+ -- Ritesh Raj Sarraf <rrs@debian.org>  Sun, 31 Jul 2011 23:33:33 +0530
+
+argparse (1.1-2) unstable; urgency=low
+
+  * Change address to my official Debian address
+  * Add debian/source/format to explictly specify the source format
+
+ -- Ritesh Raj Sarraf <rrs@debian.org>  Thu, 06 May 2010 23:20:02 +0530
+
+argparse (1.1-1) unstable; urgency=low
+
+  [ Jakub Wilk ]
+  * Move jquery.js symlink to the right package.
+  * Don't compress *.js files.
+
+  [ Ritesh Raj Sarraf ]
+  * New upstream release
+  * Add ${misc:Depends}, fixes lintian warning debhelper-but-no-misc-depends
+  * Bump Standards Version to 3.8.4. (No Changes Required) 
+
+ -- Ritesh Raj Sarraf <rrs@researchut.com>  Thu, 04 Mar 2010 16:09:28 +0530
+
+argparse (1.0.1-1) unstable; urgency=low
+
+  * New upstream bugfix release 
+  * debian/control
+    - Move python-support and python-sphinx to Build-Depends-Indep
+    - Add doc-base to Recommends since we now register to doc-base
+
+ -- Ritesh Raj Sarraf <rrs@researchut.com>  Mon, 12 Oct 2009 18:04:37 +0530
+
+argparse (1.0-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/rules
+    - Fix build targets
+    - Clean up doc build directory
+    - Don't use shipped jquery script. Instead depend on the one shipped by
+      default in Debian
+  * debian/control
+    - Remove python-epydoc build dependency
+    - Add python-sphinx as build dependency to generate the docs
+    - Add Depends on libjs-jquery for python-argparse-doc
+  * Update Standards Version to 3.8.3. No changes required.
+
+ -- Ritesh Raj Sarraf <rrs@researchut.com>  Thu, 27 Aug 2009 15:36:52 +0530
+
+argparse (0.9.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #532564)
+
+ -- Ritesh Raj Sarraf <rrs@researchut.com>  Sun, 12 Jul 2009 18:20:39 +0545
--- argparse-1.2.1.orig/debian/compat
+++ argparse-1.2.1/debian/compat
@@ -0,0 +1 @@
+7
--- argparse-1.2.1.orig/debian/rules
+++ argparse-1.2.1/debian/rules
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+PKG_DIR=argparse-$(DEB_UPSTREAM_VERSION)
+get-orig-source:
+	uscan --force-download --rename --repack --download-version=$(DEB_UPSTREAM_VERSION) --destdir=.
+
+
+build: build-arch build-indep
+
+build-arch: build-stamp
+build-indep: build-stamp
+
+PYVERS := $(shell pyversions -rv)
+
+build-stamp:
+	dh_testdir
+	set -e; for pyver in $(PYVERS); do \
+		python$$pyver setup.py build; \
+	done
+
+	# Generate the docs from the doc sources
+	[ ! -e doc/source ] || sphinx-build doc/source html
+
+	#And clean the cruft
+	[ ! -e html/_sources ] || rm -rf html/_sources
+	[ ! -e html/.doctrees ] || rm -rf html/.doctrees
+	[ ! -e html/.buildinfo ] || rm -rf html/.buildinfo
+	[ ! -e html/objects.inv ] || rm -rf html/objects.inv
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	[ ! -e html ] || rm -rf html
+	[ ! -e doc.orig ] || mv doc.orig doc
+
+	set -e; for pyver in $(PYVERS); do \
+		python$$pyver setup.py clean --all; \
+	done
+
+	[ -f argparse.pyc ] && rm -f argparse.pyc
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	[ ! -e doc ] || mv doc doc.orig
+
+	set -e; for pyver in $(PYVERS); do \
+		python$$pyver setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-argparse; \
+	done
+
+	# Remove jquery.js javascript as per policy 4.13
+	[ ! -e html/_static/jquery.js ] || rm -rf html/_static/jquery.js
+
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples test/*
+	dh_installchangelogs
+	dh_link -p python-argparse-doc \
+		/usr/share/javascript/jquery/jquery.js \
+		/usr/share/doc/python-argparse-doc/html/_static/jquery.js
+	dh_link -p python-argparse \
+		/usr/share/doc/python-argparse-doc/html \
+		/usr/share/doc/python-argparse/html
+	dh_python2
+	dh_compress -Xexamples -X.js
+	dh_fixperms
+	dh_strip
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source
--- argparse-1.2.1.orig/debian/README.source
+++ argparse-1.2.1/debian/README.source
@@ -0,0 +1,13 @@
+debian/rules has a get-orig-source target.
+
+This makefile target will be able to fetch the upstream zip tarball and
+create a tar.gz archive out of it.
+
+Infact, this package was created with the source archive generated by the
+get-orig-source target.
+
+
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+See /usr/share/doc/quilt/README.source for a detailed explanation.
--- argparse-1.2.1.orig/debian/python-argparse-doc.install
+++ argparse-1.2.1/debian/python-argparse-doc.install
@@ -0,0 +1 @@
+usr/share/doc/python-argparse-doc/html
--- argparse-1.2.1.orig/debian/control
+++ argparse-1.2.1/debian/control
@@ -0,0 +1,41 @@
+Source: argparse
+Priority: optional
+Section: python
+Maintainer: Ritesh Raj Sarraf <rrs@debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), python-all, python (>= 2.6.6-3~), python-setuptools
+Build-Depends-Indep: python-sphinx
+Standards-Version: 3.9.2
+X-Python-Version: >= 2.4, << 2.7
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/argparse/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/argparse/trunk/
+Homepage: http://code.google.com/p/argparse/
+
+Package: python-argparse
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Suggests: python-argparse-doc
+Description: optparse-inspired command-line parsing library
+ Argparse takes the best of the optparse command-line parsing module
+ and brings it new life. Argparse adds positional as well as
+ optional arguments, the ability to create parsers for sub-commands,
+ more informative help and usage messages, and much more. At the
+ same time, it retains the ease and flexibility of use that made
+ optparse so popular
+
+Package: python-argparse-doc
+Section: doc
+Architecture: all
+Recommends: python-argparse, doc-base
+Depends: libjs-jquery, ${misc:Depends}
+Replaces: python-argparse (<< 1.0.1-2)
+Description: optparse-inspired command-line parsing library - doc
+ Argparse takes the best of the optparse command-line parsing module
+ and brings it new life. Argparse adds positional as well as
+ optional arguments, the ability to create parsers for sub-commands,
+ more informative help and usage messages, and much more. At the
+ same time, it retains the ease and flexibility of use that made
+ optparse so popular
+ .
+ This package contains the library documentation for python-argparse
--- argparse-1.2.1.orig/debian/docs
+++ argparse-1.2.1/debian/docs
@@ -0,0 +1 @@
+README.txt
--- argparse-1.2.1.orig/debian/watch
+++ argparse-1.2.1/debian/watch
@@ -0,0 +1,7 @@
+# Compulsory line, this is a version 3 file
+version=3
+#http://argparse.googlecode.com/files/argparse-(\d\.\d)\.zip
+opts=\
+downloadurlmangle=s|.*[?]name=(.*?)&.*|http://argparse.googlecode.com/files/$1|,\
+filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \
+http://code.google.com/p/argparse/downloads/detail[?]name=argparse-([0-9.]+)\.tar\.gz.*
--- argparse-1.2.1.orig/debian/source/format
+++ argparse-1.2.1/debian/source/format
@@ -0,0 +1 @@
+1.0
