[Python-modules-commits] r5334 - in packages/python-xlrd/trunk (13 files)

thomasbl-guest at users.alioth.debian.org thomasbl-guest at users.alioth.debian.org
Sat May 17 17:48:05 UTC 2008


    Date: Saturday, May 17, 2008 @ 17:48:04
  Author: thomasbl-guest
Revision: 5334

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-xlrd/trunk/debian/
  packages/python-xlrd/trunk/debian/changelog
  packages/python-xlrd/trunk/debian/compat
  packages/python-xlrd/trunk/debian/control
  packages/python-xlrd/trunk/debian/copyright
  packages/python-xlrd/trunk/debian/docs
  packages/python-xlrd/trunk/debian/examples
  packages/python-xlrd/trunk/debian/patches/
  packages/python-xlrd/trunk/debian/patches/00list
  packages/python-xlrd/trunk/debian/patches/runxlrd.dpatch
  packages/python-xlrd/trunk/debian/rules
  packages/python-xlrd/trunk/debian/runxlrd.1
  packages/python-xlrd/trunk/debian/watch


Property changes on: packages/python-xlrd/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/python-xlrd/trunk/debian/changelog
===================================================================
--- packages/python-xlrd/trunk/debian/changelog	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/changelog	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1,26 @@
+python-xlrd (0.6.1-1) unstable; urgency=low
+
+  * Closes: #366137
+  * New Maintainer
+  * first release into debian repository
+  * new debian/
+  * new upstream version
+
+ -- Thomas Bläsing <thomasbl at pool.math.tu-berlin.de>  Thu, 08 May 2008 21:24:54 +0000
+
+python-xlrd (0.6.1a4-2) unreleased; urgency=low
+
+  * debian/runxlrd.1, debian/manpages: manpage added.
+  * debian/copyright: refer to copy of BSD license.
+  * debian/docs: install /usr/share/doc/python-xlrd/doc/{compdoc,HISTORY,README,xlrd}.html.
+  * debian/examples: install examples.
+  * debian/{rules,install}, debian/runxlrd: supply a wrapper script in /usr/bin/runxlrd
+    to work around missing #!/usr/bin/python in runxlrd.py.
+
+ -- Joost van Baal <joostvb+debian at uvt.nl>  Thu, 24 May 2007 07:29:28 +0200
+
+python-xlrd (0.6.1a4-1) unreleased; urgency=low
+
+  * Initial Release (closes: #366137)
+
+ -- Joost van Baal <joostvb+debian at uvt.nl>  Mon, 21 May 2007 13:11:02 +0200

Added: packages/python-xlrd/trunk/debian/compat
===================================================================
--- packages/python-xlrd/trunk/debian/compat	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/compat	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1 @@
+5

Added: packages/python-xlrd/trunk/debian/control
===================================================================
--- packages/python-xlrd/trunk/debian/control	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/control	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1,20 @@
+Source: python-xlrd
+Section: python
+XS-Python-Version: all
+Priority: optional
+Maintainer: Thomas Bläsing <thomasbl at pool.math.tu-berlin.de>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Standards-Version: 3.7.3
+Build-Depends: python, python-central (>= 0.5), debhelper (>= 5), dpatch (>= 2.0.29)
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-xlrd
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-xlrd/trunk/?op=log
+
+Package: python-xlrd
+Architecture: all
+Depends: ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Homepage: http://www.lexicon.net/sjmachin/xlrd.htm
+Description: extract data from MS Excel spreadsheet files
+ Extract data from new and old Microsoft Excel spreadsheets on any platform.
+ Pure Python (2.1 or later). Strong support for Excel dates. Unicode-aware.
+

Added: packages/python-xlrd/trunk/debian/copyright
===================================================================
--- packages/python-xlrd/trunk/debian/copyright	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/copyright	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1,14 @@
+This package was debianized by Joost van Baal <joostvb+debian at uvt.nl> on
+Mon, 21 May 2007 13:01:26 +0200.
+
+It was downloaded from http://www.lexicon.net/sjmachin/.
+The upstream website is at http://www.lexicon.net/sjmachin/xlrd.htm.
+
+Upstream Author: John Machin <sjmachin at lexicon.net>
+
+Copyright (C) 2005-2006, Stephen John Machin, Lingfo Pty Ltd
+
+This software is licensed under the BSD License.  On Debian systems, the
+complete text of the BSD License can be found in
+`/usr/share/common-licenses/BSD'.
+

Added: packages/python-xlrd/trunk/debian/docs
===================================================================
--- packages/python-xlrd/trunk/debian/docs	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/docs	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1 @@
+xlrd/doc/*

Added: packages/python-xlrd/trunk/debian/examples
===================================================================
--- packages/python-xlrd/trunk/debian/examples	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/examples	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1 @@
+xlrd/examples/*

Added: packages/python-xlrd/trunk/debian/patches/00list
===================================================================
--- packages/python-xlrd/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/patches/00list	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1 @@
+runxlrd

Added: packages/python-xlrd/trunk/debian/patches/runxlrd.dpatch
===================================================================
--- packages/python-xlrd/trunk/debian/patches/runxlrd.dpatch	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/patches/runxlrd.dpatch	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## runxlrd.dpatch by  <thomasbl at frosty.local>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: added hashbang
+
+ at DPATCH@
+diff -urNad xlrd-0.6.1~/scripts/runxlrd.py xlrd-0.6.1/scripts/runxlrd.py
+--- xlrd-0.6.1~/scripts/runxlrd.py	2007-06-11 20:55:06.000000000 +0000
++++ xlrd-0.6.1/scripts/runxlrd.py	2008-05-13 11:16:36.000000000 +0000
+@@ -1,3 +1,5 @@
++#!/usr/bin/python
++
+ # -*- coding: cp1252 -*-
+ # <p>Copyright © 2005-2007 Stephen John Machin, Lingfo Pty Ltd</p>
+ # <p>This script is part of the xlrd package, which is released under a


Property changes on: packages/python-xlrd/trunk/debian/patches/runxlrd.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-xlrd/trunk/debian/rules
===================================================================
--- packages/python-xlrd/trunk/debian/rules	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/rules	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+build:
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	dh_clean
+	rm -rf build/
+	find . -name "*.pyc" | xargs rm -f
+
+install: patch
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	
+	python setup.py install --no-compile --root=$(CURDIR)/debian/python-xlrd
+
+	rm -rf $(CURDIR)/debian/python-xlrd/usr/bin/runxlrd.py
+
+	install -D -m 755 scripts/runxlrd.py $(CURDIR)/debian/python-xlrd/usr/share/runxlrd/runxlrd.py
+
+binary-indep: install
+	dh_testdir
+	dh_testroot
+	dh_pycentral -p python-xlrd
+	dh_installchangelogs HISTORY.html
+	dh_installdocs
+	dh_installexamples
+	dh_installman debian/runxlrd.1
+	dh_link /usr/share/runxlrd/runxlrd.py /usr/bin/runxlrd
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: 
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/python-xlrd/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-xlrd/trunk/debian/runxlrd.1
===================================================================
--- packages/python-xlrd/trunk/debian/runxlrd.1	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/runxlrd.1	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1,143 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\"
+.\" $Id: runxlrd.1 13212 2007-05-24 05:27:04Z joostvb $
+.\" $URL: https://infix.uvt.nl/its-id/trunk/sources/python-xlrd/debian/runxlrd.1 $
+.\"
+.\" Copyright (C) 2007 Joost van Baal
+.\" You can redistribute this file and/or modify it under
+.\" the terms of the BSD license.
+.\"
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.\"
+.\" URL - macro for URLs
+.\" The first argument is the URL, the second is the text to be
+.\" hyperlinked, and the third (optional) argument is any text that
+.\" needs to immediately trail the hyperlink without intervening
+.\" whitespace.
+.\"
+.de URL
+\\$2 \(laURL: \\$1 \(ra\\$3
+..
+.if \n[.g] .mso www.tmac
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RUNXLRD 1 2007-05-24 "xlrd 0.6.1a4"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.SH NAME
+runxlrd \- extract data from Microsoft Excel spreadsheet files
+.SH SYNOPSIS
+.BI "runxlrd [" options ] " command " [ input\-file\-patterns ]
+.\" .RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B runxlrd
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBrunxlrd\fP offers a commandline interface to the Python xlrd module;
+it extracts data from Microsoft Excel spreadsheet files.
+.SH OPTIONS
+.TP
+\fB\-h\fP, \fB\-\-help\fP
+Show summary of options and exit.
+.\".TP
+.\".B \-h, \-\-help
+.\" Show summary of options and exit.
+.\"
+.\" .TP
+.\" .B \-v, \-\-version
+.\" Show version of program.
+.TP
+.BI "-l " logfilename
+Contains error messages.
+.TP
+\fB\-v\fP \fIverbosity\fP, \fB\-\-verbosity\fP=\fIverbosity\fP
+Level of information and diagnostics provided.
+.TP
+\fB\-p\fP \fIpickleable\fP, \fB\-\-pickleable\fP=\fIpickleable\fP
+1: ensure Book object is pickleable (default); 0: don't bother.
+.TP
+\fB\-m\fP \fImmap\fP, \fB\-\-mmap\fP=\fImmap\fP
+1: use mmap; 0: don't use mmap; -1: accept heuristic.
+.TP
+\fB\-e\fP \fIencoding\fP, \fB\-\-encoding\fP=\fIencoding\fP
+Encoding override.
+.TP
+\fB\-f\fP \fIformatting\fP, \fB\-\-formatting\fP=\fIformatting\fP
+0 (default): no fmt info 1: fmt info (all cells) 2: fmt info (margins trimmed).
+.TP
+\fB\-g\fP \fIgc\fP, \fB\-\-gc=gc\fP
+0: auto gc enabled; 1: auto gc disabled, manual collect after each file; 2: no gc.
+.TP
+\fB\-s\fP \fIonesheet\fP, \fB\-\-onesheet\fP=\fIonesheet\fP
+Restrict output to this sheet (name or index).
+.SH COMMANDS
+Valid commands are
+.IP \(bu 2
+.B dump
+.IP \(bu 2
+.B count_records
+.IP \(bu 2
+.B version
+.IP \(bu 2
+.B hdr
+.IP \(bu 2
+.B ov
+.IP \(bu 2
+.B show
+.IP \(bu 2
+.B 2rows
+.IP \(bu 2
+.B 3rows
+.IP \(bu 2
+.B bench
+.IP \(bu 2
+.B names
+.IP \(bu 2
+.B name_dump
+.IP \(bu 2
+.B labels
+.IP \(bu 2
+.B xfc
+.IP \(bu 2
+.B hotshot
+.IP \(bu 2
+.B profile
+.LP
+See the xlrd API documentation for the meaning of these commands.
+.SH EXAMPLES
+To show the first, second and last rows of each sheet in each file, run
+.RS
+.B $ runxlrd 3rows *blah*.xls
+.RE
+.br
+Run
+.RS
+.B $ runxlrd -e koi8_r 3rows myfile.xls
+.RE
+to explicitly pass the needed codepage to xlrd, e.g. if the codepage record
+is missing, or if it exists but is wrong.
+.SH SEE ALSO
+The xlrd API documentation, shipped in the file xlrd.html.
+.br
+The
+.URL "http://www.lexicon.net/sjmachin/xlrd.htm" "xlrd website" "."
+.SH AUTHOR
+runxlrd was written by John Machin.
+.PP
+This manual page was written by Joost van Baal <joostvb+debian at uvt.nl>,
+for the Debian project (but may be used by others).

Added: packages/python-xlrd/trunk/debian/watch
===================================================================
--- packages/python-xlrd/trunk/debian/watch	                        (rev 0)
+++ packages/python-xlrd/trunk/debian/watch	2008-05-17 17:48:04 UTC (rev 5334)
@@ -0,0 +1,2 @@
+version=2
+http://www.lexicon.net/sjmachin/xlrd-(.+)\.(.+)\.(.+)\.zip




More information about the Python-modules-commits mailing list