diff options
author | wiz <wiz@pkgsrc.org> | 2016-09-18 22:05:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-09-18 22:05:57 +0000 |
commit | 2cc2cb40e0d3ef24062dba122ce9c75d5dff892c (patch) | |
tree | b33c32601a44c24ff03a151cc5f358a9894110c1 | |
parent | 6a15682af0a1e3dbd14e2b3f6abc283de51ef9cb (diff) | |
download | pkgsrc-2cc2cb40e0d3ef24062dba122ce9c75d5dff892c.tar.gz |
Updated py-cffi to 1.8.3.
v1.8.3
======
* When passing a ``void *`` argument to a function with a different
pointer type, or vice-versa, the cast occurs automatically, like in C.
The same occurs for initialization with ``ffi.new()`` and a few other
places. However, I thought that ``char *`` had the same
property---but I was mistaken. In C you get the usual warning if you
try to give a ``char *`` to a ``char **`` argument, for example.
Sorry about the confusion. This has been fixed in CFFI by giving for
now a warning, too. It will turn into an error in a future version.
-rw-r--r-- | devel/py-cffi/Makefile | 7 | ||||
-rw-r--r-- | devel/py-cffi/distinfo | 10 |
2 files changed, 9 insertions, 8 deletions
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile index 74b483e0834..891127ec0d5 100644 --- a/devel/py-cffi/Makefile +++ b/devel/py-cffi/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.20 2016/09/12 07:57:41 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2016/09/18 22:05:57 wiz Exp $ -DISTNAME= cffi-1.8.2 +DISTNAME= cffi-1.8.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/} @@ -17,7 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser NOT_PAX_MPROTECT_SAFE= ${PYSITELIB}/_cffi_backend.so # tests don't run on MPROTECT enabled systems, and I haven't found -# the magic to fix that +# the magic to fix that, so workaround: +# sysctl -w security.pax.mprotect.global=0 .include "../../devel/libffi/buildlink3.mk" .include "../../lang/python/egg.mk" diff --git a/devel/py-cffi/distinfo b/devel/py-cffi/distinfo index 392b25a0139..bcce4a53394 100644 --- a/devel/py-cffi/distinfo +++ b/devel/py-cffi/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.19 2016/09/12 07:57:41 wiz Exp $ +$NetBSD: distinfo,v 1.20 2016/09/18 22:05:57 wiz Exp $ -SHA1 (cffi-1.8.2.tar.gz) = 9d2722ba9241b232b980bb9243e12451513a8000 -RMD160 (cffi-1.8.2.tar.gz) = df4939e7fdda0f6d1230f89eaa451fb24be78162 -SHA512 (cffi-1.8.2.tar.gz) = a7bbb8735cf4b36510b6953db26af2428725d589fedae05693f39c77b84567bdefd6e3dc1e5c6deef94e617ceb4bf6bf92379e76fd3732d73a19e8a39a3d06ed -Size (cffi-1.8.2.tar.gz) = 403191 bytes +SHA1 (cffi-1.8.3.tar.gz) = 2a5be10205bf3f6b21070a71ee2546d838868172 +RMD160 (cffi-1.8.3.tar.gz) = e13f80925e01699719788a82f8926069084a1d2f +SHA512 (cffi-1.8.3.tar.gz) = a5a5f62c9d8607a8477abc2c2c53dcbe2aa4cf964b0592d4db349cd35a199e69a84d6cf160973fb5ee736607fa6a41314e8ff0d84bef2ffe16c08f6071c15222 +Size (cffi-1.8.3.tar.gz) = 403766 bytes |