pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cffi py-cffi: updated to 1.13.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1964754cc2f
branches:  trunk
changeset: 402749:b1964754cc2f
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 16 08:12:08 2019 +0000

description:
py-cffi: updated to 1.13.0

v1.13
* ffi.from_buffer("type *", ..) is now supported, in addition to
  "type[]".  You can then write p.field to access the items, instead
  of only p[0].field.  Be careful that no bounds checking is performed, so
  p[n] might access data out of bounds.
* fix for structs containing unnamed bitfields like int : 1;.
* when calling cdata of "function pointer" type, give a RuntimeError instead
  of a crash if the pointer happens to be NULL
* support some more binary operations between constants in enum definitions
* silence a warning incorrectly emitted if you use a quote in a preprocessor
  line
* detect a corner case that would throw the C code into an infinite
  recursion, with ffi.cdef("""struct X { void(*fnptr)(struct X); };""")

diffstat:

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

diffs (29 lines):

diff -r 51c6df5f329b -r b1964754cc2f devel/py-cffi/Makefile
--- a/devel/py-cffi/Makefile    Wed Oct 16 08:07:21 2019 +0000
+++ b/devel/py-cffi/Makefile    Wed Oct 16 08:12:08 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2019/04/26 17:06:21 leot Exp $
+# $NetBSD: Makefile,v 1.39 2019/10/16 08:12:08 adam Exp $
 
-DISTNAME=      cffi-1.12.3
+DISTNAME=      cffi-1.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cffi/}
diff -r 51c6df5f329b -r b1964754cc2f devel/py-cffi/distinfo
--- a/devel/py-cffi/distinfo    Wed Oct 16 08:07:21 2019 +0000
+++ b/devel/py-cffi/distinfo    Wed Oct 16 08:12:08 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.33 2019/04/26 15:14:31 adam Exp $
+$NetBSD: distinfo,v 1.34 2019/10/16 08:12:08 adam Exp $
 
-SHA1 (cffi-1.12.3.tar.gz) = ccc49cf31bc3f4248f45b9ec83685e4e8090a9fa
-RMD160 (cffi-1.12.3.tar.gz) = 1f7293861c23d2e7426d2eff038f85ac9a34db53
-SHA512 (cffi-1.12.3.tar.gz) = 9070f5cfe543c9261a79f995548899c3e7539ee20f562ba91a4a909887745bd28448b0e38241031d6b2ab87286fd0ec91768b8bf6577716427612d41b0ed3b93
-Size (cffi-1.12.3.tar.gz) = 456340 bytes
+SHA1 (cffi-1.13.0.tar.gz) = 75977bbad8ea8c15f2c34edde5efcf39462ea43e
+RMD160 (cffi-1.13.0.tar.gz) = a11648941b7ddec69e9370698b7102bf775968b6
+SHA512 (cffi-1.13.0.tar.gz) = bde7e166a670d217101a9471256cdc6e6ce5001badf036f0b86cf5029280482b956df2565559fd592528954a470a625390ec2d60228cd9b29b11ffbcdf728844
+Size (cffi-1.13.0.tar.gz) = 459345 bytes
 SHA1 (patch-testing_cffi0_test__verify.py) = 91e903aa6aa89f997aba1578cb9452e6ac160f50
 SHA1 (patch-testing_cffi1_test__verify1.py) = 72d564ff8422bc1c8ed8b7058fb95ca669b69529



Home | Main Index | Thread Index | Old Index