diff options
author | adam <adam> | 2011-04-15 08:49:00 +0000 |
---|---|---|
committer | adam <adam> | 2011-04-15 08:49:00 +0000 |
commit | b540a74b24de363626a83898b5e25919a708ac8c (patch) | |
tree | c5936fde9e5c07917fc36a154840f2cc7c64d029 /print | |
parent | aefed33c0f0da0159f34d66d322412f614ec1673 (diff) | |
download | pkgsrc-b540a74b24de363626a83898b5e25919a708ac8c.tar.gz |
Changes 1.13:
* Fixed a typo in code for reading a "\b" escape character in strings.
* Improved __repr__ in FloatObject.
* Fixed a bug in reading octal escape sequences in strings.
* Added getWidth and getHeight methods to the RectangleObject class.
* Fixed compatibility warnings with Python 2.4 and 2.5.
* Added addBlankPage and insertBlankPage methods on PdfFileWriter class.
* Fixed a bug with circular references in page's object trees (typically
annotations) that prevented correctly writing out a copy of those pages.
* New merge page functions allow application of a transformation matrix.
Diffstat (limited to 'print')
-rw-r--r-- | print/py-Pdf/Makefile | 9 | ||||
-rw-r--r-- | print/py-Pdf/distinfo | 9 | ||||
-rw-r--r-- | print/py-Pdf/patches/patch-aa | 23 |
3 files changed, 8 insertions, 33 deletions
diff --git a/print/py-Pdf/Makefile b/print/py-Pdf/Makefile index 66669901881..6f25b2bac26 100644 --- a/print/py-Pdf/Makefile +++ b/print/py-Pdf/Makefile @@ -1,15 +1,14 @@ -# $NetBSD: Makefile,v 1.3 2010/02/10 15:31:25 joerg Exp $ -# +# $NetBSD: Makefile,v 1.4 2011/04/15 08:49:00 adam Exp $ -DISTNAME= pyPdf-1.12 -PKGREVISION= 1 -PKGNAME= ${PYPKGPREFIX}-Pdf-1.12 +DISTNAME= pyPdf-1.13 +PKGNAME= ${PYPKGPREFIX}-Pdf-1.13 CATEGORIES= print python MASTER_SITES= http://pybrary.net/pyPdf/ MAINTAINER= joerg@NetBSD.org HOMEPAGE= http://pybrary.net/pyPdf/ COMMENT= PDF library +LICENSE= modified-bsd PKG_DESTDIR_SUPPORT= user-destdir diff --git a/print/py-Pdf/distinfo b/print/py-Pdf/distinfo index 9212a56cb23..33fe8032544 100644 --- a/print/py-Pdf/distinfo +++ b/print/py-Pdf/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.2 2010/02/10 15:31:25 joerg Exp $ +$NetBSD: distinfo,v 1.3 2011/04/15 08:49:00 adam Exp $ -SHA1 (pyPdf-1.12.tar.gz) = 559f080fe47a0aeda9945acbcc52331b7e4d6213 -RMD160 (pyPdf-1.12.tar.gz) = 0528bdbfdbbdb8cf26dbe47b162f57f8d0c0984a -Size (pyPdf-1.12.tar.gz) = 31979 bytes -SHA1 (patch-aa) = ba4246416356851f4b6553cb3281ebc5e2903769 +SHA1 (pyPdf-1.13.tar.gz) = ba7aed11cf21a2c218df2e3979be5eb90992dcbe +RMD160 (pyPdf-1.13.tar.gz) = 0669d4a93c20fcd899d15ff42cb1b8b908f28e3b +Size (pyPdf-1.13.tar.gz) = 35699 bytes diff --git a/print/py-Pdf/patches/patch-aa b/print/py-Pdf/patches/patch-aa deleted file mode 100644 index 6cf8ff89051..00000000000 --- a/print/py-Pdf/patches/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2010/02/10 15:31:25 joerg Exp $ - ---- pyPdf/pdf.py.orig 2010-02-10 16:10:11.000000000 +0100 -+++ pyPdf/pdf.py -@@ -49,7 +49,6 @@ import utils - import warnings - from generic import * - from utils import readNonWhitespace, readUntilWhitespace, ConvertFunctionsToVirtualList --from sets import ImmutableSet - - ## - # This class supports writing PDF files out, given pages produced by another -@@ -986,8 +985,8 @@ class PageObject(DictionaryObject): - - # Combine /ProcSet sets. - newResources[NameObject("/ProcSet")] = ArrayObject( -- ImmutableSet(originalResources.get("/ProcSet", ArrayObject()).getObject()).union( -- ImmutableSet(page2Resources.get("/ProcSet", ArrayObject()).getObject()) -+ frozenset(originalResources.get("/ProcSet", ArrayObject()).getObject()).union( -+ frozenset(page2Resources.get("/ProcSet", ArrayObject()).getObject()) - ) - ) - |