--- pyexcelerator-0.6.4.1.orig/debian/pycompat +++ pyexcelerator-0.6.4.1/debian/pycompat @@ -0,0 +1 @@ +2 --- pyexcelerator-0.6.4.1.orig/debian/compat +++ pyexcelerator-0.6.4.1/debian/compat @@ -0,0 +1 @@ +7 --- pyexcelerator-0.6.4.1.orig/debian/manpages +++ pyexcelerator-0.6.4.1/debian/manpages @@ -0,0 +1,4 @@ +debian/pyexcelerator.1 +debian/py_xls2csv.1 +debian/py_xls2html.1 +debian/py_xls2txt.1 --- pyexcelerator-0.6.4.1.orig/debian/docs +++ pyexcelerator-0.6.4.1/debian/docs @@ -0,0 +1,5 @@ +debian/README.Debian-source +debian/README.source +README.txt +THANKS.txt +examples/ --- pyexcelerator-0.6.4.1.orig/debian/README.Debian-source +++ pyexcelerator-0.6.4.1/debian/README.Debian-source @@ -0,0 +1,15 @@ +pyExcelerator for Debian +------------------------ + +The original downloaded file for this package was repackaged. + +Upstream provides its files in a .zip file. Additionally upstream has +packaged its download file with a build/ directory and several CVS +directories. These directories were removed and then repacked into a .tar.gz +file. + +Upstream's original file can be downloaded from: + + http://sourceforge.net/projects/pyexcelerator + + -- Kevin Coyner , Thu, 12 Oct 2006 17:36:41 -0400 --- pyexcelerator-0.6.4.1.orig/debian/py_xls2txt.1 +++ pyexcelerator-0.6.4.1/debian/py_xls2txt.1 @@ -0,0 +1,33 @@ +.TH py_xls2txt 1 "October 12, 2006" +.SH "NAME" +py_xls2txt \- convert an Excel xls file to a plain text file +.SH "SYNOPSIS" +.PP +\fBpy_xls2txt\fR \fIinput-file\fP +.SH "DESCRIPTION" +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +py_xls2txt takes an Excel xls file as an argument and converts it to a plain +text file. Output is sent to stdout. +.PP +Additional utility scripts can be found in the tools/ directory. +.SH "OPTIONS" +.PP +This program does not take any command line options. +.SH "AUTHOR" +pyexcelerator and py_xls2txt were written +by Roman V. Kiseliov . +.PP +This manual page was written by Kevin Coyner for the +\fBDebian\fP system (but may be used by others). Permission is granted to +copy, distribute and/or modify this document under the terms of the GNU +General Public License, Version 2 any later version published by the Free +Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common\-licenses/GPL. +.SH "SEE-ALSO" +pyexcelerator(1), py_xls2csv(1), py_xls2html(1) + --- pyexcelerator-0.6.4.1.orig/debian/copyright +++ pyexcelerator-0.6.4.1/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Kevin Coyner on +Thursday, 12 Oct 2006 17:36:41 -0400. + +It was downloaded from http://sourceforge.net/projects/pyexcelerator. + +Upstream Author: Roman V. Kiseliov + +Copyright: 2005 Roman V. Kiseliov + +License: + + Copyright (C) 2005 Roman V. Kiseliov + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by + Roman V. Kiseliov ." + + 4. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by + Roman V. Kiseliov ." + + THIS SOFTWARE IS PROVIDED BY Roman V. Kiseliov ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Roman V. Kiseliov OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + +----------------------------------------------------------- + +The tarball for pyexcelerator includes the antlr.py file from antlr. This file +is (C) Wolfgang Haefelinger, 2004 and licensed under these terms: + + We reserve no legal rights to the ANTLR--it is fully in the public + domain. An individual or company may do whatever they wish with source + code distributed with ANTLR or the code generated by ANTLR, including + the incorporation of ANTLR, or its output, into commercial software. + + We encourage users to develop software with ANTLR. However, we do ask + that credit is given to us for developing ANTLR. By "credit", we mean + that if you use ANTLR or incorporate any source code into one of your + programs (commercial product, research project, or otherwise) that you + acknowledge this fact somewhere in the documentation, research report, + etc... If you like ANTLR and have developed a nice tool with the output, + please mention that you developed it using ANTLR. In addition, we ask + that the headers remain intact in our source code. As long as these + guidelines are kept, we expect to continue enhancing this system and + expect to make other tools available as they are completed. + + Terence Parr, jGuru.com + +The Debian packaging is (C) 2006, Kevin Coyner and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pyexcelerator-0.6.4.1.orig/debian/watch +++ pyexcelerator-0.6.4.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://qa.debian.org/watch/sf.php/pyexcelerator/pyexcelerator-(.*).zip --- pyexcelerator-0.6.4.1.orig/debian/pyexcelerator.1 +++ pyexcelerator-0.6.4.1/debian/pyexcelerator.1 @@ -0,0 +1,36 @@ +.TH PYEXCELERATOR 1 "October 12, 2006" +.SH "NAME" +pyexcelerator \- a module for reading/writing Excel spreadsheet files +.SH "SYNOPSIS" +.PP +\fBpyexcelerator\fR +.SH "DESCRIPTION" +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +pyExcelerator is a Python module that can generate Excel 97/2000/XP/2003 +spreadsheet files. It can also extract data from these files. It +supports Unicode in Excel files, and can use a variety of formatting features +and printing options. It can dump Excel and OLE2 compound files. +.PP +Numerous examples of usage can be found in the examples/ directory. +.PP +Additions utility scripts can be found in the tools/ directory. +.SH "OPTIONS" +.PP +This program does not take any command line options. +.SH "AUTHOR" +pyexcelerator was written by Roman V. Kiseliov . +.PP +This manual page was written by Kevin Coyner for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 2 any +later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common\-licenses/GPL. +.SH "SEE-ALSO" +py_xls2csv(1), py_xls2txt(1), py_xls2html(1) + --- pyexcelerator-0.6.4.1.orig/debian/control +++ pyexcelerator-0.6.4.1/debian/control @@ -0,0 +1,22 @@ +Source: pyexcelerator +Section: python +Priority: optional +Maintainer: Kevin Coyner +Uploaders: Debian Python Modules Team +Build-Depends: cdbs (>=0.4.43), debhelper (>= 7.4~), python-dev, python-central (>= 0.5), dpatch +XS-Python-Version: >= 2.4 +Standards-Version: 3.8.3 +Homepage: http://sourceforge.net/projects/pyexcelerator +Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyexcelerator/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyexcelerator/trunk/ + +Package: python-excelerator +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-antlr +XB-Python-Version: ${python:Versions} +Description: module for reading/writing Excel spreadsheet files + pyExcelerator is a Python module that can generate Excel 97/2000/XP/2003 + spreadsheet files. It can also extract data from these files. It supports + Unicode in Excel files, and can use a variety of formatting features and + printing options. It can dump Excel and OLE2 compound files. Included are + simple conversion tools py_xls2html, py_xls2csv and py_xls2txt. --- pyexcelerator-0.6.4.1.orig/debian/examples +++ pyexcelerator-0.6.4.1/debian/examples @@ -0,0 +1 @@ +examples/* --- pyexcelerator-0.6.4.1.orig/debian/README.source +++ pyexcelerator-0.6.4.1/debian/README.source @@ -0,0 +1,6 @@ +This package is using dpatch patch system. + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run `./debian/rules patch` + +See /usr/share/doc/dpatch/README.source.gz for more information. --- pyexcelerator-0.6.4.1.orig/debian/py_xls2html.1 +++ pyexcelerator-0.6.4.1/debian/py_xls2html.1 @@ -0,0 +1,33 @@ +.TH py_xls2html 1 "October 12, 2006" +.SH "NAME" +py_xls2html \- convert an Excel xls file to a html formatted file +.SH "SYNOPSIS" +.PP +\fBpy_xls2html\fR \fIinput-file\fP +.SH "DESCRIPTION" +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +py_xls2html takes an Excel xls file as an argument and converts it to a html +formatted file. Output is sent to stdout. +.PP +Additional utility scripts can be found in the tools/ directory. +.SH "OPTIONS" +.PP +This program does not take any command line options. +.SH "AUTHOR" +pyexcelerator and py_xls2html were written +by Roman V. Kiseliov . +.PP +This manual page was written by Kevin Coyner for the +\fBDebian\fP system (but may be used by others). Permission is granted to +copy, distribute and/or modify this document under the terms of the GNU +General Public License, Version 2 any later version published by the Free +Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common\-licenses/GPL. +.SH "SEE-ALSO" +pyexcelerator(1), py_xls2txt(1), py_xls2csv(1) + --- pyexcelerator-0.6.4.1.orig/debian/rules +++ pyexcelerator-0.6.4.1/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM = pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +clean:: + rm -f pyExcelerator/antlr.py + +DEB_INSTALL_CHANGELOGS_ALL = CHANGES.txt + +install/python-excelerator:: + find ./debian/python-excelerator/usr/ \ + -name "*.py" | grep 'site-packages/pyExcelerator' | \ + xargs sed -i -e '1 s/^#\!.*python.*//' + + cp tools/xls2csv.py ./debian/python-excelerator/usr/bin/py_xls2csv + cp tools/xls2html.py ./debian/python-excelerator/usr/bin/py_xls2html + cp tools/xls2txt.py ./debian/python-excelerator/usr/bin/py_xls2txt --- pyexcelerator-0.6.4.1.orig/debian/changelog +++ pyexcelerator-0.6.4.1/debian/changelog @@ -0,0 +1,63 @@ +pyexcelerator (0.6.4.1-1) unstable; urgency=low + + * New upstream version independent of the xlwt project. Closes: #500185. + * debian/control: + + Bumped Standards Version to 3.8.3. No changes. + + Bumped debhelper version to 7.4~. + * Bumped debian/compat from 5 to 7. + * Updated 01-write_datetime.dpatch in debian/patches since upstream changed + the file. + * Added debian/README.source to debian/docs. + + -- Kevin Coyner Mon, 19 Oct 2009 08:58:31 -0400 + +pyexcelerator (0.6.3a-4) unstable; urgency=medium + + [ Piotr Ożarowski, Sandro Tosi ] + * Vcs-Svn and Vcs-Browser fields added + * Bumped Standards Version to 3.8.0 + + debian/README.source file added + * Added short description to 01-write_datetime.dpatch + + [ Jan Dittberner ] + * debian/copyright: add copyright and licensing information for + antlr.py (Closes: #510782) + * debian/control + - add python-antlr to Depends + - add ${misc:Depends} to fix lintian warning debhelper-but-no-misc-depends + * debian/rules: use antlr.py from python-anltr instead of the version + included in the upstream tarball to ease security support + + -- Debian Python Modules Team Sun, 18 Jan 2009 19:07:54 +0100 + +pyexcelerator (0.6.3a-3.1) unstable; urgency=low + + * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490487. + + -- Matthias Klose Fri, 18 Jul 2008 15:49:19 +0000 + +pyexcelerator (0.6.3a-3) unstable; urgency=low + + * Fixed inability to write datetime.date to a cell. Patch provided by + Krzysztof Sulejczak. Closes: #468558. + * debian/control: + + Added dpatch as a Build-Depends. + + Moved Homepage reference out of extended description. + + Bumped Standards Version to 3.7.3. No changes. + * Added dpatch.mk line to debian/rules. + + -- Kevin Coyner Tue, 04 Mar 2008 10:30:26 -0500 + +pyexcelerator (0.6.3a-2) unstable; urgency=low + + * New e-mail address for maintainer. Changed in debian/* files. + + -- Kevin Coyner Wed, 08 Aug 2007 21:06:19 -0400 + +pyexcelerator (0.6.3a-1) unstable; urgency=low + + * Initial release (Closes: #384093). Thanks to Piotr Ozarowski for help + with this initial release. + * Added a man page. + + -- Kevin Coyner Thu, 12 Oct 2006 17:36:41 -0400 --- pyexcelerator-0.6.4.1.orig/debian/dirs +++ pyexcelerator-0.6.4.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- pyexcelerator-0.6.4.1.orig/debian/py_xls2csv.1 +++ pyexcelerator-0.6.4.1/debian/py_xls2csv.1 @@ -0,0 +1,33 @@ +.TH py_xls2csv 1 "October 12, 2006" +.SH "NAME" +py_xls2csv \- convert an Excel xls file to a comma separated value csv file +.SH "SYNOPSIS" +.PP +\fBpy_xls2csv\fR \fIinput-file\fP +.SH "DESCRIPTION" +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +py_xls2csv takes an Excel xls file as an argument and converts it to a comma +separated value csv file. Output is sent to stdout. +.PP +Additional utility scripts can be found in the tools/ directory. +.SH "OPTIONS" +.PP +This program does not take any command line options. +.SH "AUTHOR" +pyexcelerator and py_xls2csv were written +by Roman V. Kiseliov . +.PP +This manual page was written by Kevin Coyner for the +\fBDebian\fP system (but may be used by others). Permission is granted to +copy, distribute and/or modify this document under the terms of the GNU +General Public License, Version 2 any later version published by the Free +Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common\-licenses/GPL. +.SH "SEE-ALSO" +pyexcelerator(1), py_xls2txt(1), py_xls2html(1) + --- pyexcelerator-0.6.4.1.orig/debian/patches/01-write_datetime.dpatch +++ pyexcelerator-0.6.4.1/debian/patches/01-write_datetime.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-write_datetime.dpatch by Kevin Coyner +## +## DP: Fixed inability to write datetime.date to a cell. + +@DPATCH@ +diff -urNad pyexcelerator-0.6.4.1~/pyExcelerator/Row.py pyexcelerator-0.6.4.1/pyExcelerator/Row.py +--- pyexcelerator-0.6.4.1~/pyExcelerator/Row.py 2007-02-14 02:00:44.000000000 -0500 ++++ pyexcelerator-0.6.4.1/pyExcelerator/Row.py 2009-10-19 08:34:46.000000000 -0400 +@@ -240,7 +240,7 @@ + self.__cells.extend([ Cell.BlankCell(self, col, self.__parent_wb.add_style(style)) ]) + elif isinstance(label, (int, long, float)): + self.__cells.extend([ Cell.NumberCell(self, col, self.__parent_wb.add_style(style), label) ]) +- elif isinstance(label, (dt.datetime, dt.time)): ++ elif isinstance(label, (dt.datetime, dt.date, dt.time)): + self.__cells.extend([ Cell.NumberCell(self, col, self.__parent_wb.add_style(style), self.__excel_date_dt(label)) ]) + else: + self.__cells.extend([ Cell.FormulaCell(self, col, self.__parent_wb.add_style(style), label) ]) +@@ -252,4 +252,4 @@ + self.__cells.extend([ Cell.MulBlankCell(self, c1, c2, self.__parent_wb.add_style(style)) ]) + + +- +\ No newline at end of file ++ --- pyexcelerator-0.6.4.1.orig/debian/patches/00list +++ pyexcelerator-0.6.4.1/debian/patches/00list @@ -0,0 +1 @@ +01-write_datetime