Sun Mar 15 21:08:00 2015 UTC ()
Update to 0.9.2:

I pushed release 0.9.2 out of the door with mostly just this fix:

https://bitbucket.org/cffi/cffi/issue/187/inconsistencies-in-ffifrom_buffer

ffi.from_buffer() was incorrectly accepting objects of type
'memoryview' containing strings, which was not intended --- it works
only on CPython, not PyPy, and it is documented that it should not
work.  Additionally, still on CPython, ffi.from_buffer() was
incorrectly rejecting objects of type 'buffer' pointing to read-only
objects, say read-only numpy arrays.  (Insert here the usual rant
against the internal mess of buffer and memoryview objects.)


(wiz)
diff -r1.5 -r1.6 pkgsrc/devel/py-cffi/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/py-cffi/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-cffi/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-cffi/Makefile 2015/03/09 08:11:54 1.5
+++ pkgsrc/devel/py-cffi/Makefile 2015/03/15 21:08:00 1.6
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.5 2015/03/09 08:11:54 wiz Exp $ 1# $NetBSD: Makefile,v 1.6 2015/03/15 21:08:00 wiz Exp $
2 2
3DISTNAME= cffi-0.9.1 3DISTNAME= cffi-0.9.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= https://pypi.python.org/packages/source/c/cffi/ 6MASTER_SITES= https://pypi.python.org/packages/source/c/cffi/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://pypi.python.org/pypi/cffi/ 9HOMEPAGE= https://pypi.python.org/pypi/cffi/
10COMMENT= Foreign Function Interface for Python calling C code 10COMMENT= Foreign Function Interface for Python calling C code
11LICENSE= mit 11LICENSE= mit
12 12
13USE_TOOLS+= pkg-config 13USE_TOOLS+= pkg-config
14 14
15.include "../../devel/libffi/buildlink3.mk" 15.include "../../devel/libffi/buildlink3.mk"
16.include "../../lang/python/egg.mk" 16.include "../../lang/python/egg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/devel/py-cffi/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-cffi/distinfo 2015/03/09 08:11:54 1.5
+++ pkgsrc/devel/py-cffi/distinfo 2015/03/15 21:08:00 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2015/03/09 08:11:54 wiz Exp $ 1$NetBSD: distinfo,v 1.6 2015/03/15 21:08:00 wiz Exp $
2 2
3SHA1 (cffi-0.9.1.tar.gz) = 6a1b297ee7108803f54bb6333cf1e5630a193756 3SHA1 (cffi-0.9.2.tar.gz) = 7cfc992699ef8b65d6300c04f3efad00bd2a6cba
4RMD160 (cffi-0.9.1.tar.gz) = ea3888bcd062f635c098c9bb7c146000e89a0323 4RMD160 (cffi-0.9.2.tar.gz) = e974258700148f68ab80ef6dda20d8fb260c6642
5Size (cffi-0.9.1.tar.gz) = 207931 bytes 5Size (cffi-0.9.2.tar.gz) = 209160 bytes