diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-10 15:31:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-10 15:31:25 +0000 |
commit | f0473deedce4c0b112050172c582ef913dff78b2 (patch) | |
tree | cc5300ee28670bc521115bd30e0ec6116d642dc7 /print | |
parent | b6891ba3ad737b86c6c159c52adebd5b763bffa4 (diff) | |
download | pkgsrc-f0473deedce4c0b112050172c582ef913dff78b2.tar.gz |
Use builtin set type. Bump revision.
Diffstat (limited to 'print')
-rw-r--r-- | print/py-Pdf/Makefile | 3 | ||||
-rw-r--r-- | print/py-Pdf/distinfo | 3 | ||||
-rw-r--r-- | print/py-Pdf/patches/patch-aa | 23 |
3 files changed, 27 insertions, 2 deletions
diff --git a/print/py-Pdf/Makefile b/print/py-Pdf/Makefile index c4529429604..66669901881 100644 --- a/print/py-Pdf/Makefile +++ b/print/py-Pdf/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2009/10/09 12:01:23 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/10 15:31:25 joerg Exp $ # DISTNAME= pyPdf-1.12 +PKGREVISION= 1 PKGNAME= ${PYPKGPREFIX}-Pdf-1.12 CATEGORIES= print python MASTER_SITES= http://pybrary.net/pyPdf/ diff --git a/print/py-Pdf/distinfo b/print/py-Pdf/distinfo index aa3954b6e54..9212a56cb23 100644 --- a/print/py-Pdf/distinfo +++ b/print/py-Pdf/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/01/27 20:32:37 joerg Exp $ +$NetBSD: distinfo,v 1.2 2010/02/10 15:31:25 joerg 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 diff --git a/print/py-Pdf/patches/patch-aa b/print/py-Pdf/patches/patch-aa new file mode 100644 index 00000000000..6cf8ff89051 --- /dev/null +++ b/print/py-Pdf/patches/patch-aa @@ -0,0 +1,23 @@ +$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()) + ) + ) + |