pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/py-pisa



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Jun 29 20:02:03 UTC 2017

Modified Files:
        pkgsrc/print/py-pisa: Makefile distinfo
Added Files:
        pkgsrc/print/py-pisa/patches: patch-sx_pisa3_pisa__reportlab.py

Log Message:
Deal with API breakage in py-Pillow. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/print/py-pisa/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/print/py-pisa/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/print/py-pisa/patches/patch-sx_pisa3_pisa__reportlab.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/py-pisa/Makefile
diff -u pkgsrc/print/py-pisa/Makefile:1.17 pkgsrc/print/py-pisa/Makefile:1.18
--- pkgsrc/print/py-pisa/Makefile:1.17  Sun Jan  1 14:43:54 2017
+++ pkgsrc/print/py-pisa/Makefile       Thu Jun 29 20:02:02 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2017/01/01 14:43:54 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/06/29 20:02:02 joerg Exp $
 
 DISTNAME=      pisa-3.0.33
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc print www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pisa/}
 

Index: pkgsrc/print/py-pisa/distinfo
diff -u pkgsrc/print/py-pisa/distinfo:1.8 pkgsrc/print/py-pisa/distinfo:1.9
--- pkgsrc/print/py-pisa/distinfo:1.8   Fri Nov 11 12:47:52 2016
+++ pkgsrc/print/py-pisa/distinfo       Thu Jun 29 20:02:02 2017
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.8 2016/11/11 12:47:52 joerg Exp $
+$NetBSD: distinfo,v 1.9 2017/06/29 20:02:02 joerg Exp $
 
 SHA1 (pisa-3.0.33.tar.gz) = 3d7e644b96b7c8f98bfd5823a163c3badd662209
 RMD160 (pisa-3.0.33.tar.gz) = 1479865d1f0b14f4a37c74fc8aae7e72e9d0efac
 SHA512 (pisa-3.0.33.tar.gz) = 5d11d717734ca30876697ce25c77f381a560f4b266b2dbd9f2445ac9b39e2750cc3ff31603d9a1cba6ed51a047fca38ac95a2a4dddf88b238aa5c0d6f810a975
 Size (pisa-3.0.33.tar.gz) = 4500555 bytes
 SHA1 (patch-aa) = 39354cac1592787d43622c04ef776f13b39450ca
+SHA1 (patch-sx_pisa3_pisa__reportlab.py) = 0eb4a042b151d94ee8d3d12fc00b28fee4b31e48
 SHA1 (patch-sx_pisa3_pisa__util.py) = 130f9ac339239b71fc6a4920c0cadcccdbc1a913

Added files:

Index: pkgsrc/print/py-pisa/patches/patch-sx_pisa3_pisa__reportlab.py
diff -u /dev/null pkgsrc/print/py-pisa/patches/patch-sx_pisa3_pisa__reportlab.py:1.1
--- /dev/null   Thu Jun 29 20:02:03 2017
+++ pkgsrc/print/py-pisa/patches/patch-sx_pisa3_pisa__reportlab.py      Thu Jun 29 20:02:02 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-sx_pisa3_pisa__reportlab.py,v 1.1 2017/06/29 20:02:02 joerg Exp $
+
+--- sx/pisa3/pisa_reportlab.py.orig    2017-06-29 13:03:23.461320659 +0000
++++ sx/pisa3/pisa_reportlab.py
+@@ -327,7 +327,10 @@ class PmlImageReader(object):
+                 elif mode not in ('L', 'RGB', 'CMYK'):
+                     im = im.convert('RGB')
+                     self.mode = 'RGB'
+-                self._data = im.tostring()        
++                if hasattr(im, "tobytes"):
++                    self._data = im.tobytes()
++                else:
++                    self._data = im.tostring()
+         return self._data
+ 
+     def getImageData(self):



Home | Main Index | Thread Index | Old Index