pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cffi Update to 0.9.2:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05874894551d
branches:  trunk
changeset: 648622:05874894551d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Mar 15 21:08:00 2015 +0000

description:
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.)

diffstat:

 devel/py-cffi/Makefile |  4 ++--
 devel/py-cffi/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r bf8b02d8f2e6 -r 05874894551d devel/py-cffi/Makefile
--- a/devel/py-cffi/Makefile    Sun Mar 15 21:06:38 2015 +0000
+++ b/devel/py-cffi/Makefile    Sun Mar 15 21:08:00 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2015/03/09 08:11:54 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2015/03/15 21:08:00 wiz Exp $
 
-DISTNAME=      cffi-0.9.1
+DISTNAME=      cffi-0.9.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  https://pypi.python.org/packages/source/c/cffi/
diff -r bf8b02d8f2e6 -r 05874894551d devel/py-cffi/distinfo
--- a/devel/py-cffi/distinfo    Sun Mar 15 21:06:38 2015 +0000
+++ b/devel/py-cffi/distinfo    Sun Mar 15 21:08:00 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2015/03/09 08:11:54 wiz Exp $
+$NetBSD: distinfo,v 1.6 2015/03/15 21:08:00 wiz Exp $
 
-SHA1 (cffi-0.9.1.tar.gz) = 6a1b297ee7108803f54bb6333cf1e5630a193756
-RMD160 (cffi-0.9.1.tar.gz) = ea3888bcd062f635c098c9bb7c146000e89a0323
-Size (cffi-0.9.1.tar.gz) = 207931 bytes
+SHA1 (cffi-0.9.2.tar.gz) = 7cfc992699ef8b65d6300c04f3efad00bd2a6cba
+RMD160 (cffi-0.9.2.tar.gz) = e974258700148f68ab80ef6dda20d8fb260c6642
+Size (cffi-0.9.2.tar.gz) = 209160 bytes



Home | Main Index | Thread Index | Old Index