debian/0000755000000000000000000000000012313576647007204 5ustar debian/copyright0000644000000000000000000002431212264370040011121 0ustar This is the Debian package of ReportLab, a Python library to creat PDF documents. The Debian package of ReportLab was put together by Gregor Hoffleit . The upstream source for ReportLab is http://www.reportlab.com/. ReportLab was written by ReportLab Inc. . Most of ReportLab is Copyright (c) 2000-2014, ReportLab Inc., and licensed under the terms listed below. Portions of the code included in ReportLab (LibHnj - a library for high quality hyphenation and justification) are Copyright (C) 1998 Raph Levien, and are dual licensed under LGPL and MPL, see below (on Debian systems, the complete text of the LGPL can be found as /usr/share/common-licenses/LGPL, the complete text of the MPL is available as http://www.mozilla.org/MPL/). This is the license of ReportLab: ##################################################################################### # # Copyright (c) 2000-2008, ReportLab Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * 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. # * Neither the name of the company nor the names of its contributors may be # used to endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND # ANY EXPRESS 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 THE OFFICERS OR 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. # ##################################################################################### ------------------------------------------------------------------------------- /* LibHnj is dual licensed under LGPL and MPL. Boilerplate for both * licenses follows. */ /* LibHnj - a library for high quality hyphenation and justification * Copyright (C) 1998 Raph Levien * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * if not, see . */ /* * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "MPL"); you may not use this file except in * compliance with the MPL. You may obtain a copy of the MPL at * http://www.mozilla.org/MPL/ * * Software distributed under the MPL is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the MPL * for the specific language governing rights and limitations under the * MPL. * */ ------------------------------------------------------------------------------- src/rl_addons/renderPM/gt1/parseAFM.c: /* * (C) 1988, 1989, 1990 by Adobe Systems Incorporated. All rights reserved. * * This file may be freely copied and redistributed as long as: * 1) This entire notice continues to be included in the file, * 2) If the file has been modified in any way, a notice of such * modification is conspicuously indicated. * * PostScript, Display PostScript, and Adobe are registered trademarks of * Adobe Systems Incorporated. * * ************************************************************************ * THE INFORMATION BELOW IS FURNISHED AS IS, IS SUBJECT TO CHANGE WITHOUT * NOTICE, AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY ADOBE SYSTEMS * INCORPORATED. ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY OR * LIABILITY FOR ANY ERRORS OR INACCURACIES, MAKES NO WARRANTY OF ANY * KIND (EXPRESS, IMPLIED OR STATUTORY) WITH RESPECT TO THIS INFORMATION, * AND EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES OF MERCHANTABILITY, * FITNESS FOR PARTICULAR PURPOSES AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. * ************************************************************************ */ src/rl_addons/renderPM/libart_lgpl/ Upstream Author: Raph Levien Copyright: 1998, 1999, 2000, 2001 Raph Levien License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software if not, see . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. src/reportlab/fonts/DarkGarden*: Copyright (C) 1999, 2000, 2004 Michal Kosmulski This font is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This font is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software if not, see . As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. On Debian GNU/Linux systems, the complete text of the GNU General Public License is in `/usr/share/common-licenses/GPL'. src/reportlab/fonts/Vera*: Bitstream Vera Fonts Copyright The fonts have a generous copyright, allowing derivative works (as long as "Bitstream" or "Vera" are not in the names), and full redistribution (so long as they are not *sold* by themselves). They can be be bundled, redistributed and sold with any software. The fonts are distributed under the following copyright: Copyright ========= Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. debian/changelog0000644000000000000000000002447112313576647011066 0ustar python-reportlab (3.0-1build1) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:39 +0000 python-reportlab (3.0-1) unstable; urgency=medium * reportlab 3.0 release. -- Matthias Klose Tue, 18 Feb 2014 14:46:38 +0100 python-reportlab (3.0~b1-1) unstable; urgency=medium * reportlab 3.0 beta1 release. * Let the -reportlab packages depend on the -reportlab-accel packages. Closes: #738404, #738418, #738586. -- Matthias Klose Wed, 12 Feb 2014 20:23:27 +0100 python-reportlab (3.0~a1-1) unstable; urgency=medium * reportlab 3.0 alpha1 release. * Build python3 packages. -- Matthias Klose Wed, 05 Feb 2014 10:00:02 +0100 python-reportlab (2.7-1) unstable; urgency=low * New upstream version. -- Matthias Klose Sat, 23 Nov 2013 09:42:48 +0100 python-reportlab (2.6-1) experimental; urgency=low * New upstream version. -- Matthias Klose Thu, 31 Jan 2013 21:08:28 +0100 python-reportlab (2.5-1.1) unstable; urgency=low * Non-maintainer upload to unstable (with maintainer's approval) * Add python-sphinx to Build-Depends-Indep (for docs) -- Piotr Ożarowski Sat, 16 Apr 2011 13:00:22 +0200 python-reportlab (2.5-1) experimental; urgency=low * New upstream version. * Add installed fonts to reportlab's font search paths. Closes: #603413. * Build the docs again. Closes: #571637. -- Matthias Klose Mon, 06 Dec 2010 12:45:44 +0100 python-reportlab (2.4-4) unstable; urgency=low * Don't include the font description files. Closes: #595072. -- Matthias Klose Fri, 17 Sep 2010 12:35:59 +0200 python-reportlab (2.4-3) unstable; urgency=low * Don't try to download font files during the build. Closes: #593612. * Fix two bugs running the examples (Yaroslav Halchenko). Closes: #534578. -- Matthias Klose Mon, 23 Aug 2010 11:54:20 +0200 python-reportlab (2.4-2) unstable; urgency=low * Build using dh_python2 instead of dh_pycentral, bump python build dependency. Closes: #551691. * Update watch files. Closes: #487307. * Raise ValueError's instead of string exceptions. Closes: #585326. -- Matthias Klose Mon, 26 Jul 2010 12:05:54 +0200 python-reportlab (2.4-1) unstable; urgency=low * New upstream version. -- Matthias Klose Tue, 16 Feb 2010 23:32:55 +0100 python-reportlab (2.3-1) unstable; urgency=low * New upstream version. Closes: #501276. - Fixes: PDFImage.getImageData() uses "sys" without importing it. Closes: #241735. - Fixes: CMAP file for japnese encodings. Closes: #292964. - Fixes layouting crash. Closes: #495443. - Uses free translation of the Odyssey text. Closes: #498551. * Examples and demos are in the -doc package. Closes: #279377. * Import sgmlop unqulified. Closes: #484025. * python-renderpm packaged and recommended by python-reportlab. Closes: #279376, #228054, #228056. * Use python.mk macros for packaging. Closes: #547851. -- Matthias Klose Sun, 27 Sep 2009 10:27:13 +0200 python-reportlab (2.2-2) unstable; urgency=low * Adjust build dependencies for binary arch packages. Closes: #502636 * Require python 2.4 or newer. Closes: #502133. -- Matthias Klose Sun, 19 Oct 2008 23:16:31 +0200 python-reportlab (2.2-1) unstable; urgency=low * New upstream version. * Build the reportlab-accel and renderpm extensions from this source. -- Matthias Klose Tue, 23 Sep 2008 17:58:12 +0200 python-reportlab (2.1dfsg-2) unstable; urgency=low * Don't depend on python-xml; a slower parser is included in the source. Closes: #468614. -- Matthias Klose Sun, 27 Apr 2008 18:02:35 +0200 python-reportlab (2.1dfsg-1) unstable; urgency=low * New upstream version. - Doesn't contain the RML_UserGuide.pdf. Closes: #349075. - reportlab.graphics.barcode module installed. Closes: #387014. - Avoid warning with reserved keyword. Closes: #435742. - BaseDocTemplate: Set author, title, subject and keywords on its canvas. Closes: #349747. * Depend on ttf-dustin, ttf-bitstream-vera, do not include copies of the fonts. Closes: #457923. -- Matthias Klose Mon, 28 Jan 2008 21:03:56 +0100 python-reportlab (2.0dfsg-1) unstable; urgency=low * New upstream version. -- Matthias Klose Sun, 16 Jul 2006 15:31:03 +0200 python-reportlab (1.20debian-7) unstable; urgency=low * python-reportlab: Add conflict/replaces to the versioned packages. Closes: #374222. -- Matthias Klose Sun, 18 Jun 2006 02:12:33 +0000 python-reportlab (1.20debian-6) unstable; urgency=low * Switch maintainer and uploader. * Convert to updated python policy, using python-central (the extension reportlab-accel goes into the same direcory). Closes: #373350. -- Matthias Klose Fri, 16 Jun 2006 23:31:54 +0200 python-reportlab (1.20debian-5) unstable; urgency=low * Imported python-reportlab package into debian python-modules svn repository * debian/control: added Debian Python Modules Team to Uploaders -- Igor Stroh Sun, 16 Apr 2006 13:19:23 +0200 python-reportlab (1.20debian-4) unstable; urgency=low * Added Type1 and TT font paths to reportlab/rl_config, thanks to Nicolas Chauvat and Samuele Giovanni Tonon (closes: #174639) -- Igor Stroh Wed, 12 Apr 2006 22:32:32 +0200 python-reportlab (1.20debian-3) unstable; urgency=low * Drop python2.1 and python2.2 packages. * README.Debian: point to the -doc package (closes: #258404). * Fix drawing of stacked 3D bars (Felipe Almeida Lessa). Closes: #349831). -- Matthias Klose Thu, 2 Feb 2006 20:29:54 +0000 python-reportlab (1.20debian-2) unstable; urgency=low * New maintainer * Fixed README.Debian * added debian/compat * debian/control: bumped Standards-Version to 3.6.2 * debian/rules: moved pythonpoint demos to python-reportlab-doc -- Igor Stroh Tue, 26 Jul 2005 12:51:54 +0200 python-reportlab (1.20debian-1) unstable; urgency=low * New upstream version. * Add me as uploader. -- Matthias Klose Sun, 30 Jan 2005 21:25:17 +0100 python-reportlab (1.19debian-0.2) unstable; urgency=low * Fix bug in routine handling page breaks (closes Ubuntu #5274). -- Matthias Klose Wed, 12 Jan 2005 23:01:21 +0100 python-reportlab (1.19debian-0.1) unstable; urgency=low * NMU. * New upstream version. * Change section to python (closes: #218651). * Add dependencies on shared libraries (closes: #213305). * Add recommends on python-imaging (closes: #158656). * Include the demos in the doc package, don't include the testsuite and documentation sources in the pythonX.Y-reportlab packages. Get the source package, if you need it ... -- Matthias Klose Sat, 7 Feb 2004 09:20:25 +0100 python-reportlab (1.18debian-1.1) unstable; urgency=low * Rebuild against python 2.3 (closes: #205742). -- Josselin Mouette Mon, 18 Aug 2003 16:23:57 +0200 python-reportlab (1.18debian-1) unstable; urgency=low * New upstream version 1.18. As in 1.17debian, I removed the files with offending licenses in the Debian .orig.tar.gz. * Correct the conflicts with older python-reportlab packages. -- Gregor Hoffleit Wed, 16 Jul 2003 10:31:18 +0200 python-reportlab (1.17debian-2) unstable; urgency=low * Make packages conflict with older python-reportlab package. -- Gregor Hoffleit Wed, 16 Jul 2003 09:45:44 +0200 python-reportlab (1.17debian-1) unstable; urgency=low * New upstream version. * Due to license problems, I had to make changes to the upstream tarball: - I had to remove three fonts from the font directory. They have been replaced by free GPL fonts by Dustin Norlander. - I had to remove the English translation of Homer's Odyssey by some fake text. Consequently, the pdf documentation and the source code has been adapted to use the new fonts as well. * This is not a pristine upstream tarball. To make this clear, I changed the package version into 1.17debian. * Provide python2.1, python2.2 and python2.3 versions of the package. Split of the documentation into a separate package (PDF format). -- Gregor Hoffleit Sun, 4 May 2003 12:26:04 +0200 python-reportlab (1.15-2) unstable; urgency=low * Bump up to Python 2.2, which is the new default Python version in unstable (closes: #161564, #158891). -- Gregor Hoffleit Tue, 24 Sep 2002 14:48:53 +0200 python-reportlab (1.15-1) unstable; urgency=low * New upstream version. -- Gregor Hoffleit Tue, 3 Sep 2002 22:03:56 +0200 python-reportlab (1.13-1) unstable; urgency=low * New upstream version. -- Gregor Hoffleit Wed, 3 Apr 2002 14:25:32 +0200 python-reportlab (1.11-2) unstable; urgency=low * Include the tools directory (closes: #128948). -- Gregor Hoffleit Tue, 15 Jan 2002 10:22:16 +0100 python-reportlab (1.11-1) unstable; urgency=low * New upstream version. * Correct a spelling mistake in package description (closes: #125284). -- Gregor Hoffleit Sat, 29 Dec 2001 13:02:48 +0100 python-reportlab (1.10-2) unstable; urgency=low * Fix rules in order to use /usr/bin/python2.1 during build (closes: #119997). -- Gregor Hoffleit Thu, 22 Nov 2001 00:28:18 +0100 python-reportlab (1.10-1) unstable; urgency=low * New upstream version. * Recompiled for new default Python 2.1 (closes: #119212). * Change dependencies accordingly (e.g. python-egenix-mxtexttools). -- Gregor Hoffleit Fri, 16 Nov 2001 11:12:24 +0100 python-reportlab (1.08-1) unstable; urgency=low * New upstream version. -- Gregor Hoffleit Wed, 20 Jun 2001 20:15:25 +0200 python-reportlab (1.07-1) unstable; urgency=low * New upstream version. -- Gregor Hoffleit Sun, 17 Jun 2001 22:02:15 +0200 python-reportlab (1.01-1) unstable; urgency=low * Initial Release. -- Gregor Hoffleit Wed, 11 Oct 2000 14:48:23 +0200 debian/compat0000644000000000000000000000000212244065131010362 0ustar 5 debian/testdemos.py0000644000000000000000000000143712244065131011552 0ustar #!/bin/env python #copyright ReportLab Inc. 2000 #see license.txt for license details #history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/demos/tests/testdemos.py?cvsroot=reportlab #$Header: /cvsroot/reportlab/reportlab/demos/tests/testdemos.py,v 1.7 2002/07/24 19:56:35 andy_robinson Exp $ __version__=''' $Id: testdemos.py,v 1.7 2002/07/24 19:56:35 andy_robinson Exp $ ''' __doc__='Test all demos' _globals=globals().copy() import os, sys from reportlab import pdfgen for p in ('colors/colortest.py','stdfonts/stdfonts.py','odyssey/odyssey.py', 'gadflypaper/gfe.py'): #fn = os.path.normcase(os.path.normpath(os.path.join(os.path.dirname(pdfgen.__file__),'..',p))) fn = p os.chdir(os.path.dirname(fn)) execfile(os.path.basename(fn),_globals.copy()) os.chdir('..') debian/patches/0000755000000000000000000000000012300662252010613 5ustar debian/patches/series0000644000000000000000000000001512300662252012024 0ustar # empty file debian/README.Debian0000644000000000000000000000057412244065131011233 0ustar ReportLab for Debian -------------------- This is the Debian package of ReportLab, a report generation toolkit for Python. Examples and documentation can be found in the python-reportlab-doc package in /usr/share/doc/python-reportlab-doc. 05/22/2000, Gregor Hoffleit 07/26/2005, Igor Stroh Last change: 07/26/2005 debian/control0000644000000000000000000001362112276754542010612 0ustar Source: python-reportlab Section: python Priority: optional Maintainer: Matthias Klose Uploaders: Igor Stroh , Debian Python Modules Team Standards-Version: 3.9.5 XS-Python-Version: >= 2.4 Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.6.5-9~), python-all-dbg, python3-all-dev (>= 3.3.4), python3-all-dbg, libart-2.0-dev, libfreetype6-dev, sharutils Build-Depends-Indep: python-pil, python-sphinx Build-Conflicts: python-setuptools, python3-setuptools Package: python-reportlab Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-reportlab-accel (>= ${source:Version}) Recommends: python-renderpm, python-pil Suggests: pdf-viewer, python-egenix-mxtexttools (>= 2.0.6-3.1), python-reportlab-doc XB-Python-Version: ${python:Versions} Description: ReportLab library to create PDF documents using Python ReportLab is a library that lets you directly create documents in Adobe's Portable Document Format (PDF) using the Python programming language. . ReportLab library creates PDF based on graphics commands without intervening steps. It's therefore extremely fast, and flexible (since you're using a full-blown programming language). . Sample use cases are: * Dynamic PDF generation on the web * High-volume corporate reporting and database publishing * As embeddable print engine for other applications, including a 'report language' so that users can customize their own reports. * As 'build system' for complex documents with charts, tables and text such as management accounts, statistical reports and scientific papers * from XML to PDF in one step Package: python-reportlab-accel Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} XB-Python-Version: ${python:Versions} Description: C coded extension accelerator for the ReportLab Toolkit A C coded extension accelerator for the ReportLab Toolkit. Package: python-reportlab-accel-dbg Priority: extra Architecture: any Section: debug Depends: python-reportlab-accel (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends} Description: C coded extension accelerator for the ReportLab Toolkit A C coded extension accelerator for the ReportLab Toolkit. Package: python-renderpm Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${misc:Depends} Suggests: python-renderpm-dbg Provides: ${python:Provides} XB-Python-Version: ${python:Versions} Description: python low level render interface This package contains the python low level render interface, used in the ReportLab library. Package: python-renderpm-dbg Priority: extra Architecture: any Section: debug Depends: python-renderpm (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends} Description: python low level render interface (debug extension) This package contains the python low level render interface, used in the ReportLab library. . This package contains the extension built for the python debug interpreter. Package: python3-reportlab Architecture: all Depends: python3-reportlab (>= ${source:Version}), ${python3:Depends}, ${misc:Depends} Recommends: python3-renderpm, python3-pil Suggests: pdf-viewer, python3-egenix-mxtexttools (>= 2.0.6-3.1), python-reportlab-doc Description: ReportLab library to create PDF documents using Python3 ReportLab is a library that lets you directly create documents in Adobe's Portable Document Format (PDF) using the Python programming language. . ReportLab library creates PDF based on graphics commands without intervening steps. It's therefore extremely fast, and flexible (since you're using a full-blown programming language). . Sample use cases are: * Dynamic PDF generation on the web * High-volume corporate reporting and database publishing * As embeddable print engine for other applications, including a 'report language' so that users can customize their own reports. * As 'build system' for complex documents with charts, tables and text such as management accounts, statistical reports and scientific papers * from XML to PDF in one step Package: python3-reportlab-accel Architecture: any Depends: python3-reportlab (>= ${source:Version}), ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: C coded extension accelerator for the ReportLab Toolkit A C coded extension accelerator for the ReportLab Toolkit. Package: python3-reportlab-accel-dbg Priority: extra Architecture: any Section: debug Depends: python3-reportlab-accel (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends} Description: C coded extension accelerator for the ReportLab Toolkit A C coded extension accelerator for the ReportLab Toolkit. Package: python3-renderpm Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${misc:Depends} Suggests: python3-renderpm-dbg Provides: ${python3:Provides} Description: python low level render interface This package contains the python low level render interface, used in the ReportLab library. Package: python3-renderpm-dbg Priority: extra Architecture: any Section: debug Depends: python3-renderpm (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends} Description: python low level render interface (debug extension) This package contains the python low level render interface, used in the ReportLab library. . This package contains the extension built for the python debug interpreter. Package: python-reportlab-doc Section: doc Architecture: all Depends: ${misc:Depends}, ${sphinxdoc:Depends} Suggests: python-reportlab Description: Documentation for the ReportLab Python library (PDF format) ReportLab is a library that lets you directly create documents in Adobe's Portable Document Format (PDF) using the Python programming language. . This package contains the documentation for ReportLab in PDF format. debian/rules0000755000000000000000000002256312264371647010272 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # all versions PYVERS := $(shell pyversions -vs) VER := $(shell /usr/bin/python -c 'import sys; print sys.version[:3]') PY3VERS := $(shell py3versions -vs) VER3 := $(shell /usr/bin/python3 -c 'import sys; print(sys.version[:3])') PY_INTERPRETER = /usr/bin/python include /usr/share/python/python.mk setup_options = --no-download-t1-files build-arch: build build-indep: build build: build-stamp build-stamp: $(PYVERS:%=build-python%) $(PYVERS:%=dbg-build-python%) \ $(PY3VERS:%=build3-python%) $(PY3VERS:%=dbg-build3-python%) touch $@ build-python%: python$* setup.py build $(setup_options) touch $@ dbg-build-python%: python$*-dbg setup.py build $(setup_options) touch $@ build3-python%: python$* setup.py build $(setup_options) touch $@ dbg-build3-python%: python$*-dbg setup.py build $(setup_options) touch $@ # needs installed python-imaging, python-renderpm build-doc-stamp: set -x; \ cd docs \ && PYTHONPATH=$(wildcard $(CURDIR)/build/lib.*-*-$(VER)) python genAll.py $(MAKE) -C docs html PAPER=a4 touch $@ clean: dh_testdir dh_testroot rm -f *-stamp build-python* dbg-build-python* build3-python* dbg-build3-python* rm -rf compile build debian/tmp-dbg find -name '*.py[co]' -exec rm -f {} \; rm -rf *.log *.pdf # test runs ... rm -rf docs/build docs/*.pdf dh_clean install: build-stamp install-prereq \ $(PYVERS:%=install-python%) $(PYVERS:%=install-dbg-python%) \ $(PY3VERS:%=install3-python%) $(PY3VERS:%=install3-dbg-python%) install-prereq: build-stamp dh_testdir dh_testroot dh_clean -k install-python%: install-prereq python$* setup.py install \ $(setup_options) \ --root $(CURDIR)/debian/python-reportlab \ --install-layout=deb find debian/python-reportlab -name '*.ttf' | xargs -r rm -f find debian/python-reportlab -name '*.py[co]' | xargs -r rm -f mkdir -p debian/python-renderpm/$(call py_libdir,$*)/reportlab/graphics mv debian/python-reportlab/$(call py_libdir,$*)/reportlab/graphics/_renderPM.so \ debian/python-renderpm/$(call py_libdir,$*)/reportlab/graphics/ mkdir -p debian/python-reportlab-accel/$(call py_libdir,$*)/reportlab/lib mv debian/python-reportlab/$(call py_libdir,$*)/reportlab/lib/*.so \ debian/python-reportlab-accel/$(call py_libdir,$*)/reportlab/lib/ install -d debian/python-reportlab-doc/usr/share/doc/python-reportlab : # remove test, docs and demo files rm -rf debian/python-reportlab/usr/lib/python$*/*-packages/reportlab/demos rm -rf debian/python-reportlab/usr/lib/python$*/*-packages/reportlab/tools/pythonpoint/demos rm -rf debian/python-reportlab/usr/lib/python$*/*-packages/reportlab/docs rm -rf debian/python-reportlab/usr/lib/python$*/*-packages/reportlab/test rm -rf debian/python-reportlab/usr/lib/python$*/*-packages/reportlab/fonts rm -f debian/python-reportlab/usr/lib/python$*/*-packages/reportlab/README.txt rm -f debian/python-reportlab/usr/lib/python$*/*-packages/reportlab/CHANGES.txt # -find debian -name '*.so' | xargs rm -f : # Replace all '#!' calls to python with $(PY_INTERPRETER) : # and make them executable for i in `find debian/python-reportlab -type f`; do \ sed '1s,#!.*python[^ ]*\(.*\),#! $(PY_INTERPRETER)\1,' \ $$i > $$i.temp; \ if cmp --quiet $$i $$i.temp; then \ rm -f $$i.temp; \ else \ mv -f $$i.temp $$i; \ chmod 755 $$i; \ echo "fixed interpreter: $$i"; \ fi; \ done install-dbg-python%: install-prereq python$*-dbg setup.py install \ $(setup_options) \ --root $(CURDIR)/debian/python-reportlab-accel-dbg \ --install-layout=deb find debian/python-reportlab-accel-dbg ! -type d ! -name '*_d.so' | xargs rm -f find debian/python-reportlab-accel-dbg -depth -empty -exec rmdir {} \; mkdir -p debian/python-renderpm-dbg/$(call py_libdir,$*)/reportlab/graphics mv debian/python-reportlab-accel-dbg/$(call py_libdir,$*)/reportlab/graphics/_renderPM_d.so \ debian/python-renderpm-dbg/$(call py_libdir,$*)/reportlab/graphics install3-python%: install-prereq python$* setup.py install \ $(setup_options) \ --root $(CURDIR)/debian/python3-reportlab \ --install-layout=deb find debian/python3-reportlab -name '*.ttf' | xargs -r rm -f find debian/python3-reportlab -name '*.py[co]' | xargs -r rm -f find debian/python3-reportlab -name '__pycache__' | xargs -r rm -rf mkdir -p debian/python3-renderpm/$(call py_libdir,$*)/reportlab/graphics abitag=.$$(python$* -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))"); \ mv debian/python3-reportlab/$(call py_libdir,$*)/reportlab/graphics/_renderPM$$abitag*.so \ debian/python3-renderpm/$(call py_libdir,$*)/reportlab/graphics/ mkdir -p debian/python3-reportlab-accel/$(call py_libdir,$*)/reportlab/lib abitag=.$$(python$* -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))"); \ mv debian/python3-reportlab/$(call py_libdir,$*)/reportlab/lib/*$$abitag*.so \ debian/python3-reportlab-accel/$(call py_libdir,$*)/reportlab/lib/ : # remove test, docs and demo files rm -rf debian/python3-reportlab/usr/lib/python3/*-packages/reportlab/demos rm -rf debian/python3-reportlab/usr/lib/python3/*-packages/reportlab/tools/pythonpoint/demos rm -rf debian/python3-reportlab/usr/lib/python3/*-packages/reportlab/docs rm -rf debian/python3-reportlab/usr/lib/python3/*-packages/reportlab/test rm -rf debian/python3-reportlab/usr/lib/python3/*-packages/reportlab/fonts rm -f debian/python3-reportlab/usr/lib/python3/*-packages/reportlab/README.txt rm -f debian/python3-reportlab/usr/lib/python3/*-packages/reportlab/CHANGES.txt # -find debian -name '*.so' | xargs rm -f : # Replace all '#!' calls to python with $(PY_INTERPRETER)3 : # and make them executable for i in `find debian/python3-reportlab -type f`; do \ sed '1s,#!.*python[^ ]*\(.*\),#! $(PY_INTERPRETER)3\1,' \ $$i > $$i.temp; \ if cmp --quiet $$i $$i.temp; then \ rm -f $$i.temp; \ else \ mv -f $$i.temp $$i; \ chmod 755 $$i; \ echo "fixed interpreter: $$i"; \ fi; \ done install3-dbg-python%: install-prereq python$*-dbg setup.py install \ $(setup_options) \ --root $(CURDIR)/debian/python3-reportlab-accel-dbg \ --install-layout=deb find debian/python3-reportlab-accel-dbg ! -type d ! -name '*3?dm-*.so' | xargs rm -f find debian/python3-reportlab -name '__pycache__' | xargs -r rm -rf find debian/python3-reportlab-accel-dbg -depth -empty -exec rmdir {} \; mkdir -p debian/python3-renderpm-dbg/$(call py_libdir,$*)/reportlab/graphics abitag=.$$(python$*-dbg -c "import sysconfig; print(sysconfig.get_config_var('SOABI'))"); \ mv debian/python3-reportlab-accel-dbg/$(call py_libdir,$*)/reportlab/graphics/_renderPM$$abitag*.so \ debian/python3-renderpm-dbg/$(call py_libdir,$*)/reportlab/graphics # Build architecture-independent files here. # Pass -i to all debhelper commands in this target to reduce clutter. binary-indep: build build-doc-stamp install dh_testdir dh_testroot dh_installdocs -i README.txt dh_installdocs -ppython-reportlab-doc -X.buildinfo docs/*.pdf docs/build/html dh_sphinxdoc -i dh_installexamples -ppython-reportlab-doc demos/* rm -rf debian/python-reportlab-doc/usr/share/doc/python-reportlab-doc/examples/tests cp -p debian/testdemos.py debian/python-reportlab-doc/usr/share/doc/python-reportlab-doc/examples/. cp -rp tools/pythonpoint/demos debian/python-reportlab-doc/usr/share/doc/python-reportlab-doc/pythonpoint-demos : # Replace all '#!' calls to python with $(PY_INTERPRETER) : # and make them executable for i in `find debian/python-reportlab-doc -mindepth 3 -type f`; do \ sed '1s,#!.*python[^ ]*\(.*\),#! $(PY_INTERPRETER)\1,' \ $$i > $$i.temp; \ if cmp --quiet $$i $$i.temp; then \ rm -f $$i.temp; \ else \ mv -f $$i.temp $$i; \ chmod 755 $$i; \ echo "fixed interpreter: $$i"; \ fi; \ done dh_installchangelogs -i dh_link -i dh_compress -i -X.py -X.pdf -X.js -Xodyssey.txt -X.xml dh_fixperms -i dh_python2 -ppython-reportlab dh_python3 -ppython3-reportlab dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs -a dh_installchangelogs -a rm -rf debian/python-renderpm-dbg/usr/share/doc/python-renderpm-dbg ln -s python-renderpm debian/python-renderpm-dbg/usr/share/doc/python-renderpm-dbg rm -rf debian/python-reportlab-accel-dbg/usr/share/doc/python-reportlab-accel-dbg ln -s python-reportlab-accel debian/python-reportlab-accel-dbg/usr/share/doc/python-reportlab-accel-dbg rm -rf debian/python3-renderpm-dbg/usr/share/doc/python3-renderpm-dbg ln -s python3-renderpm debian/python3-renderpm-dbg/usr/share/doc/python3-renderpm-dbg rm -rf debian/python3-reportlab-accel-dbg/usr/share/doc/python3-reportlab-accel-dbg ln -s python3-reportlab-accel debian/python3-reportlab-accel-dbg/usr/share/doc/python3-reportlab-accel-dbg dh_compress -a -X.py -X.pdf -Xodyssey.txt -X.xml dh_fixperms -a dh_python2 -ppython-renderpm -ppython-reportlab-accel dh_python3 -ppython3-renderpm -ppython3-reportlab-accel dh_strip -ppython-renderpm --dbg-package=python-renderpm-dbg dh_strip -ppython-reportlab-accel --dbg-package=python-reportlab-accel-dbg dh_strip -ppython3-renderpm --dbg-package=python3-renderpm-dbg dh_strip -ppython3-reportlab-accel --dbg-package=python3-reportlab-accel-dbg dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/source/0000755000000000000000000000000012262645040010467 5ustar debian/source/format0000644000000000000000000000001411360061577011702 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017412244065131010217 0ustar version=3 opts="uversionmangle=s/_/./g,dversionmangle=s/dfsg//" \ http://www.reportlab.org/ftp/ReportLab_([\d_]+)\.tar.gz