From a0529e20f81601ea8fbea7c4089f91267a688e48 Mon Sep 17 00:00:00 2001 From: Rodrigo Siqueira Date: Thu, 12 Apr 2018 17:14:12 +0200 Subject: [PATCH] Import pdfrw_0.4-2.debian.tar.xz [dgit import tarball pdfrw 0.4-2 pdfrw_0.4-2.debian.tar.xz] --- changelog | 120 ++++++++++++++++++++++++++++++++++++++ compat | 1 + control | 94 +++++++++++++++++++++++++++++ copyright | 64 ++++++++++++++++++++ python-pdfrw-doc.examples | 1 + rules | 8 +++ source/format | 1 + watch | 3 + 8 files changed, 292 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100644 python-pdfrw-doc.examples create mode 100755 rules create mode 100644 source/format create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..3c09d9c --- /dev/null +++ b/changelog @@ -0,0 +1,120 @@ +pdfrw (0.4-2) unstable; urgency=medium + + * Bumped Standards-Version to 4.1.3 + * Replaced python-reportlab in python3-pdfrw by python3-reportlab + + -- Rodrigo Siqueira Thu, 12 Apr 2018 12:14:12 -0300 + +pdfrw (0.4-1) unstable; urgency=medium + + * New upstream version + * Added "Multi-Arch: foreign" to python-pdfrw-doc + + [ Lucas Kanashiro ] + * Update years of upstream copyright + * debian/copyright: use https:// instead of http:// in Format field + + -- Rodrigo Siqueira Thu, 21 Sep 2017 09:55:46 -0300 + +pdfrw (0.3-1) unstable; urgency=medium + + * New maintainer (Closes: #738298) + * New upstream version + * Bumped Standards-Version to 4.0.0 + * Bumped debian/compat to 10 + * Depend on debhelper >= 10 + * Added package test with autopkgtests tool + + -- Rodrigo Siqueira Wed, 30 Aug 2017 19:18:45 -0300 + +pdfrw (0.2-3) unstable; urgency=medium + + * QA upload. + * Drop "Conflicts:/Provides:/Replaces: pdfrw" lines (Closes: #814289). + The pdfrw binary package is long gone and was never part of a release. + This fixes co-installing python-pdfrw and python3-pdfrw, and other + package combinations. + Thanks to Aaron M. Ucko and Yuri D'Elia for useful information. + * d/copyright improvements: + - Add proper DEP-5 header + - Correct licence name MIT -> Expat + - Factor out Expat license text into its own paragraph + - Update copyright years for Patrick Maupin + - Add missing copyrights of Attila Tajti, Narijus Mika & Mathieu Fenniak + See LICENSE.txt in upstream source. + * Fix Vcs-* URIs. + They were previously pointing at the dgit repo for src:botch. + * Declare compliance with Policy 3.9.8 (no changes required). + * Drop duplicate build-dependency on python-setuptools. + * Run wrap-and-sort -abst + + -- Sean Whitton Sat, 13 Aug 2016 14:18:24 -0700 + +pdfrw (0.2-2) unstable; urgency=medium + + * QA upload + * Don’t run testsuite at build time (closes: #808678): + They rely on an external library containing data without any documented + copyright + + -- David Prévot Mon, 28 Dec 2015 22:05:28 -0400 + +pdfrw (0.2-1) unstable; urgency=medium + + * new upstream version (closes: #789590) + * add debian/watch + * bump debian/compat to 9 + * upstream changed from code.google.com to github.com + * depend on debhelper >= 9 + * demote python-reportlab to Suggests + * build python3-pdfrw and python-pdfrw-doc following + https://wiki.debian.org/Python/LibraryStyleGuide + * set Vcs-Git and Vcs-Browser to dgit + + -- Johannes Schauer Sat, 10 Oct 2015 01:38:35 +0200 + +pdfrw (0.1-3) unstable; urgency=medium + + * QA upload. + * Build using dh_python2 + + -- Matthias Klose Sun, 13 Jul 2014 15:50:59 +0000 + +pdfrw (0.1-2) unstable; urgency=medium + + * Orphaning package. + + -- Chris Lamb Sun, 09 Feb 2014 00:05:27 +0000 + +pdfrw (0.1-1) unstable; urgency=low + + * New upstream release. + + -- Chris Lamb Tue, 16 Oct 2012 07:54:53 +0100 + +pdfrw (0+svn136-4) unstable; urgency=low + + * Correct Homepage field. (Closes: #683165) + * Specify a 'name' kwarg in call to setuptools.setup. + + -- Chris Lamb Tue, 31 Jul 2012 02:41:14 -0700 + +pdfrw (0+svn136-3) unstable; urgency=low + + * python-pdfrw should Replaces/Provides/Conflicts pdfrw. Thanks to intrigeri + . (Closes: #639273) + + -- Chris Lamb Fri, 26 Aug 2011 10:48:38 +0100 + +pdfrw (0+svn136-2) unstable; urgency=low + + * Rename binary package to "python-pdfrw". + * Change Section to "python". + + -- Chris Lamb Tue, 23 Aug 2011 15:17:20 +0100 + +pdfrw (0+svn136-1) unstable; urgency=low + + * Initial release. (Closes: #638862) + + -- Chris Lamb Mon, 22 Aug 2011 16:09:03 +0100 diff --git a/compat b/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +10 diff --git a/control b/control new file mode 100644 index 0000000..4c3f8c7 --- /dev/null +++ b/control @@ -0,0 +1,94 @@ +Source: pdfrw +Section: python +Priority: optional +Maintainer: Rodrigo Siqueira +Build-Depends: + debhelper (>= 10), + dh-python, + python-all (>= 2.6.6-3~), + python-setuptools, + python3-all, + python3-setuptools, +Standards-Version: 4.1.3 +Homepage: https://github.com/pmaupin/pdfrw +Vcs-Git: https://git.dgit.debian.org/pdfrw +Vcs-Browser: https://browse.dgit.debian.org/pdfrw.git/ +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 +Testsuite: autopkgtest-pkg-python + +Package: python-pdfrw +Architecture: all +Depends: + ${misc:Depends}, + ${python:Depends}, +Suggests: + python-pdfrw-doc, + python-reportlab, +Description: PDF file manipulation library (Python 2) + pdfrw can read and write PDF files, and can also be used to read in PDFs which + can then be used inside reportlab. + . + pdfrw tries to be agnostic about the contents of PDF files, and support them + as containers, but to do useful work, something a little higher-level is + required. It supports the following: + . + * PDF pages. pdfrw knows enough to find the pages in PDF files you read in, + and to write a set of pages back out to a new PDF file. + * Form XObjects. pdfrw can take any page or rectangle on a page, and convert + it to a Form XObject, suitable for use inside another PDF file + * reportlab objects. pdfrw can recursively create a set of reportlab objects + from its internal object format. This allows, for example, Form XObjects to + be used inside reportlab. + . + This package installs the library for Python 2. + +Package: python-pdfrw-doc +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Section: doc +Description: PDF file manipulation library (documentation) + pdfrw can read and write PDF files, and can also be used to read in PDFs which + can then be used inside reportlab. + . + pdfrw tries to be agnostic about the contents of PDF files, and support them + as containers, but to do useful work, something a little higher-level is + required. It supports the following: + . + * PDF pages. pdfrw knows enough to find the pages in PDF files you read in, + and to write a set of pages back out to a new PDF file. + * Form XObjects. pdfrw can take any page or rectangle on a page, and convert + it to a Form XObject, suitable for use inside another PDF file + * reportlab objects. pdfrw can recursively create a set of reportlab objects + from its internal object format. This allows, for example, Form XObjects to + be used inside reportlab. + . + This is the common documentation package. + +Package: python3-pdfrw +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends}, +Suggests: + python-pdfrw-doc, + python3-reportlab, +Description: PDF file manipulation library (Python 3) + pdfrw can read and write PDF files, and can also be used to read in PDFs which + can then be used inside reportlab. + . + pdfrw tries to be agnostic about the contents of PDF files, and support them + as containers, but to do useful work, something a little higher-level is + required. It supports the following: + . + * PDF pages. pdfrw knows enough to find the pages in PDF files you read in, + and to write a set of pages back out to a new PDF file. + * Form XObjects. pdfrw can take any page or rectangle on a page, and convert + it to a Form XObject, suitable for use inside another PDF file + * reportlab objects. pdfrw can recursively create a set of reportlab objects + from its internal object format. This allows, for example, Form XObjects to + be used inside reportlab. + . + This package installs the library for Python 3. diff --git a/copyright b/copyright new file mode 100644 index 0000000..679ba8f --- /dev/null +++ b/copyright @@ -0,0 +1,64 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pdfrw +Upstream-Contact: Patrick Maupin +Source: https://github.com/pmaupin/pdfrw + +Files: * +Copyright: © 2006-2017 Patrick Maupin + © 2010 Attila Tajti + © 2012 Narijus Mika +License: Expat + +Files: pdfrw/uncompress.py +Copyright: © 2006-2015 Patrick Maupin + © 2012-2015 Narijus Mika + © 2006 Mathieu Fenniak +License: Expat and BSD-3-clause + +Files: debian/* +Copyright: © 2011 Chris Lamb +License: Expat + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +License: BSD-3-clause + 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. + * The name of the author may not 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 COPYRIGHT OWNER 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. diff --git a/python-pdfrw-doc.examples b/python-pdfrw-doc.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/python-pdfrw-doc.examples @@ -0,0 +1 @@ +examples/* diff --git a/rules b/rules new file mode 100755 index 0000000..ba73a3a --- /dev/null +++ b/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME = pdfrw + +%: + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_test: diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/watch b/watch new file mode 100644 index 0000000..5995029 --- /dev/null +++ b/watch @@ -0,0 +1,3 @@ +version=3 +opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/pdfrw-$1.tar.gz/" \ + https://github.com/pmaupin/pdfrw/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz