[Python-modules-commits] r8975 - in packages/argparse/trunk/debian (9 files)

rrs-guest at users.alioth.debian.org rrs-guest at users.alioth.debian.org
Mon Jul 6 07:45:57 UTC 2009


    Date: Monday, July 6, 2009 @ 07:45:52
  Author: rrs-guest
Revision: 8975

Initial commit

Added:
  packages/argparse/trunk/debian/README.source
  packages/argparse/trunk/debian/changelog
  packages/argparse/trunk/debian/compat
  packages/argparse/trunk/debian/control
  packages/argparse/trunk/debian/copyright
  packages/argparse/trunk/debian/docs
  packages/argparse/trunk/debian/python-argparse-doc.docs
  packages/argparse/trunk/debian/rules
  packages/argparse/trunk/debian/watch

Added: packages/argparse/trunk/debian/README.source
===================================================================
--- packages/argparse/trunk/debian/README.source	                        (rev 0)
+++ packages/argparse/trunk/debian/README.source	2009-07-06 07:45:52 UTC (rev 8975)
@@ -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.

Added: packages/argparse/trunk/debian/changelog
===================================================================
--- packages/argparse/trunk/debian/changelog	                        (rev 0)
+++ packages/argparse/trunk/debian/changelog	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1,5 @@
+argparse (0.9.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #532564)
+
+ -- Ritesh Raj Sarraf <rrs at researchut.com>  Thu, 11 Jun 2009 14:56:38 +0530

Added: packages/argparse/trunk/debian/compat
===================================================================
--- packages/argparse/trunk/debian/compat	                        (rev 0)
+++ packages/argparse/trunk/debian/compat	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1 @@
+7

Added: packages/argparse/trunk/debian/control
===================================================================
--- packages/argparse/trunk/debian/control	                        (rev 0)
+++ packages/argparse/trunk/debian/control	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1,39 @@
+Source: argparse
+Priority: optional
+Section: python
+Maintainer: Ritesh Raj Sarraf <rrs at researchut.com>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), python-epydoc, python-support, python
+Standards-Version: 3.8.1
+XS-Python-Version: >=2.4
+Vcs-Git: git://git.debian.org/collab-maint/argparse.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/argparse.git
+Homepage: http://code.google.com/p/argparse/
+
+Package: python-argparse
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Suggests: python-argparse-doc
+XB-Python-Version: ${python:Versions}
+Description: An 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
+Description: An 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

Added: packages/argparse/trunk/debian/copyright
===================================================================
--- packages/argparse/trunk/debian/copyright	                        (rev 0)
+++ packages/argparse/trunk/debian/copyright	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1,32 @@
+This package was debianized by Ritesh Raj Sarraf <rrs at 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 at gmail.com>
+
+Copyright:
+    Copyright (C) 2006 - 2009 Steven Bethard <steven.bethard at gmail.com>
+
+License:
+    Apache License, Version 2.0
+
+    Licensed under the Apache License, Version 2.0 (the "License"); you may not
+    use this file except in compliance with the License. You may obtain a copy
+    of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+    License for the specific language governing permissions and limitations
+    under the License.
+
+The Debian packaging is:
+
+    Copyright (C) 2009 Ritesh Raj Sarraf <rrs at researchut.com>
+
+and is licensed under the Apache License, Version 2.0
+see `/usr/share/common-licenses/Apache-2.0'.

Added: packages/argparse/trunk/debian/docs
===================================================================
--- packages/argparse/trunk/debian/docs	                        (rev 0)
+++ packages/argparse/trunk/debian/docs	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1 @@
+README.txt

Added: packages/argparse/trunk/debian/python-argparse-doc.docs
===================================================================
--- packages/argparse/trunk/debian/python-argparse-doc.docs	                        (rev 0)
+++ packages/argparse/trunk/debian/python-argparse-doc.docs	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1,2 @@
+README.txt
+html

Added: packages/argparse/trunk/debian/rules
===================================================================
--- packages/argparse/trunk/debian/rules	                        (rev 0)
+++ packages/argparse/trunk/debian/rules	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+PKG_NAME=argparse
+PKG_VER=0.9.1
+PKG_FILE=$(PKG_NAME)-$(PKG_VER).tar.gz
+PKG_DIR=$(PKG_NAME)-$(PKG_VER)
+UPSTR_SITE=http://argparse.googlecode.com/files
+UPSTR_FILE=argparse-0.9.1.zip
+get-orig-source:
+	wget --no-cache -q $(UPSTR_SITE)/$(UPSTR_FILE)
+	test -f $(UPSTR_FILE) && unzip -qq $(UPSTR_FILE) && rm -rf $(UPSTR_FILE)
+	test -d $(PKG_DIR) || exit 1
+	tar -czvf $(PKG_FILE) $(PKG_DIR) && rm -rf $(PKG_DIR)
+	@echo "Downloaded source file: $(PKG_FILE)"
+	@ls -l $(PKG_FILE)
+
+build:
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	rm -rf html
+	[ ! -e doc.orig ] || mv doc.orig doc
+
+	python setup.py clean --all
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	[ ! -e doc ] || mv doc doc.orig
+
+	python setup.py install --root $(CURDIR)/debian/python-argparse
+
+	# epydoc warns about Indentation problems. But I've verified. It is fine.
+	epydoc $(CURDIR)/debian/python-argparse/usr/lib/python2.5/site-packages/argparse.py
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples test/*
+	dh_installchangelogs
+	dh_pysupport
+	dh_compress -Xexamples
+	dh_fixperms
+	dh_strip
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch:
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install get-orig-source


Property changes on: packages/argparse/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + 

Added: packages/argparse/trunk/debian/watch
===================================================================
--- packages/argparse/trunk/debian/watch	                        (rev 0)
+++ packages/argparse/trunk/debian/watch	2009-07-06 07:45:52 UTC (rev 8975)
@@ -0,0 +1,3 @@
+# Compulsory line, this is a version 3 file
+version=3
+http://argparse.googlecode.com/files/argparse-(.*)\.zip




More information about the Python-modules-commits mailing list