summaryrefslogtreecommitdiff
path: root/devel/py-cffi
diff options
context:
space:
mode:
authorwiz <wiz>2015-12-27 22:36:51 +0000
committerwiz <wiz>2015-12-27 22:36:51 +0000
commitfd96ed277fc89805d219490a17b11b2ea79b3f11 (patch)
tree1a74fe4df43f2866dbfa481413bf23722c7907c0 /devel/py-cffi
parented8a76b084e187dbe9c73478fedb74c36aad5fe5 (diff)
downloadpkgsrc-fd96ed277fc89805d219490a17b11b2ea79b3f11.tar.gz
Update py-cffi to 1.4.2:
v1.4.2 ====== Nothing changed from v1.4.1. v1.4.1 ====== * Fix the compilation failure of cffi on CPython 3.5.0. (3.5.1 works; some detail changed that makes some underscore-starting macros disappear from view of extension modules, and I worked around it, thinking it changed in all 3.5 versions---but no: it was only in 3.5.1.) v1.4.0 ====== * A `better way to do callbacks`__ has been added (faster and more portable, and usually cleaner). It is a mechanism for the out-of-line API mode that replaces the dynamic creation of callback objects (i.e. C functions that invoke Python) with the static declaration in ``cdef()`` of which callbacks are needed. This is more C-like, in that you have to structure your code around the idea that you get a fixed number of function pointers, instead of creating them on-the-fly. * ``ffi.compile()`` now takes an optional ``verbose`` argument. When ``True``, distutils prints the calls to the compiler. * ``ffi.compile()`` used to fail if given ``sources`` with a path that includes ``".."``. Fixed. * ``ffi.init_once()`` added. See docs__. * ``dir(lib)`` now works on libs returned by ``ffi.dlopen()`` too. * Cleaned up and modernized the content of the ``demo`` subdirectory in the sources (thanks matti!). * ``ffi.new_handle()`` is now guaranteed to return unique ``void *`` values, even if called twice on the same object. Previously, in that case, CPython would return two ``cdata`` objects with the same ``void *`` value. This change is useful to add and remove handles from a global dict (or set) without worrying about duplicates. It already used to work like that on PyPy. *This change can break code that used to work on CPython by relying on the object to be kept alive by other means than keeping the result of ffi.new_handle() alive.* (The corresponding `warning in the docs`__ of ``ffi.new_handle()`` has been here since v0.8!) .. __: using.html#extern-python .. __: using.html#initonce .. __: using.html#ffi-new-handle
Diffstat (limited to 'devel/py-cffi')
-rw-r--r--devel/py-cffi/Makefile4
-rw-r--r--devel/py-cffi/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile
index 13548968bcf..d8c3870f644 100644
--- a/devel/py-cffi/Makefile
+++ b/devel/py-cffi/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2015/11/23 00:07:13 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2015/12/27 22:36:51 wiz Exp $
-DISTNAME= cffi-1.3.1
+DISTNAME= cffi-1.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/}
diff --git a/devel/py-cffi/distinfo b/devel/py-cffi/distinfo
index cd71ddae71b..9b5dcbb7f49 100644
--- a/devel/py-cffi/distinfo
+++ b/devel/py-cffi/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2015/11/23 00:07:13 wiz Exp $
+$NetBSD: distinfo,v 1.15 2015/12/27 22:36:51 wiz Exp $
-SHA1 (cffi-1.3.1.tar.gz) = a9a73358a0a22c18d301728f040cc380eb997dc1
-RMD160 (cffi-1.3.1.tar.gz) = 904b017de00d2990377f90b9869e2449fdea00a9
-SHA512 (cffi-1.3.1.tar.gz) = b89fe1b98a2e1492e05a9e69407104a5d5057dbe2730852fb91fae1db66751d35db53186d2f03dc950eb10dd9cecc83e44eb3e6954381dfd80d79519c7938288
-Size (cffi-1.3.1.tar.gz) = 351300 bytes
+SHA1 (cffi-1.4.2.tar.gz) = 76cff6f1ff5bfb2b9c6c8e2cfa8bf90b5c944394
+RMD160 (cffi-1.4.2.tar.gz) = 434d612e4d3acf906e77cbfc4af53299319ce2b3
+SHA512 (cffi-1.4.2.tar.gz) = cdb265c4ae390b6498fab34a2f0920ee6eca65e6b543dfb92a0e64825bcef26e8bd4c9f1f43a15e7696128f38026e467fcdda057e00e939311a465b2b585fc34
+Size (cffi-1.4.2.tar.gz) = 365490 bytes