pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cffi Updated py-cffi to 1.8.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18b8745c47d8
branches:  trunk
changeset: 352750:18b8745c47d8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 18 22:05:57 2016 +0000

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

diffstat:

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

diffs (37 lines):

diff -r 2ca695f5612a -r 18b8745c47d8 devel/py-cffi/Makefile
--- a/devel/py-cffi/Makefile    Sun Sep 18 22:03:19 2016 +0000
+++ b/devel/py-cffi/Makefile    Sun Sep 18 22:05:57 2016 +0000
@@ -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 @@
 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 -r 2ca695f5612a -r 18b8745c47d8 devel/py-cffi/distinfo
--- a/devel/py-cffi/distinfo    Sun Sep 18 22:03:19 2016 +0000
+++ b/devel/py-cffi/distinfo    Sun Sep 18 22:05:57 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index