summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-05-31 13:09:51 +0000
committerwiz <wiz@pkgsrc.org>2015-05-31 13:09:51 +0000
commit3e69f93b965743b265e7ba969559d922f48d5e8c (patch)
treeb6c4b9cdbccbe381d320b30c4f5dbb3a8fc18346 /devel
parentf761cb7741684502c7c627a059c2894aa45b9a66 (diff)
downloadpkgsrc-3e69f93b965743b265e7ba969559d922f48d5e8c.tar.gz
Update to 1.1.0:
1.1.0 ===== * Out-of-line API mode: we can now declare integer types with ``typedef int... foo_t;``. The exact size and signness of ``foo_t`` is figured out by the compiler. * Out-of-line API mode: we can now declare multidimensional arrays (as fields or as globals) with ``int n[...][...]``. Before, only the outermost dimension would support the ``...`` syntax. * Out-of-line ABI mode: we now support any constant declaration, instead of only integers whose value is given in the cdef. Such "new" constants, i.e. either non-integers or without a value given in the cdef, must correspond to actual symbols in the lib. At runtime they are looked up the first time we access them. This is useful if the library defines ``extern const sometype somename;``. * ``ffi.addressof(lib, "func_name")`` now returns a regular cdata object of type "pointer to function". You can use it on any function from a library in API mode (in ABI mode, all functions are already regular cdata objects). To support this, you need to recompile your cffi modules. * Issue #198: in API mode, if you declare constants of a ``struct`` type, what you saw from lib.CONSTANT was corrupted. * Issue #196: ``ffi.set_source("package._ffi", None)`` would incorrectly generate the Python source to ``package._ffi.py`` instead of ``package/_ffi.py``. Also fixed: in some cases, if the C file was in ``build/foo.c``, the .o file would be put in ``build/build/foo.o``.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-cffi/Makefile4
-rw-r--r--devel/py-cffi/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile
index dea002b997c..68540eccb1c 100644
--- a/devel/py-cffi/Makefile
+++ b/devel/py-cffi/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2015/05/28 07:06:32 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2015/05/31 13:09:51 wiz Exp $
-DISTNAME= cffi-1.0.3
+DISTNAME= cffi-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= https://pypi.python.org/packages/source/c/cffi/
diff --git a/devel/py-cffi/distinfo b/devel/py-cffi/distinfo
index bc36d172ba1..c4826abef7a 100644
--- a/devel/py-cffi/distinfo
+++ b/devel/py-cffi/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2015/05/28 07:06:32 wiz Exp $
+$NetBSD: distinfo,v 1.8 2015/05/31 13:09:51 wiz Exp $
-SHA1 (cffi-1.0.3.tar.gz) = af4484ec231710368455ad18644ce3b0c28c7c85
-RMD160 (cffi-1.0.3.tar.gz) = 4f533b9bdc30b69cc16cbb45f36bf591446a4e61
-Size (cffi-1.0.3.tar.gz) = 317372 bytes
+SHA1 (cffi-1.1.0.tar.gz) = 7c36b783156eaf985b35a56c43f3eecac37e262c
+RMD160 (cffi-1.1.0.tar.gz) = abae9d0c46f4db94b06dd6f9036d1ace9c21c366
+Size (cffi-1.1.0.tar.gz) = 323962 bytes