diff options
author | wiz <wiz> | 2015-10-25 09:50:36 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-10-25 09:50:36 +0000 |
commit | 4e7218f6f4f87595c2060f08846f5c705fb039e0 (patch) | |
tree | 478e7cc3c6ef5431a98c974da9279679f9f4e41d /devel/py-cffi | |
parent | 4032519ce23457ca6fd0498110130f7ae1b99ee4 (diff) | |
download | pkgsrc-4e7218f6f4f87595c2060f08846f5c705fb039e0.tar.gz |
Update py-cffi to 1.3.0:
v1.3.0
======
* Added `ffi.memmove()`_.
* Pull request #64: out-of-line API mode: we can now declare
floating-point types with ``typedef float... foo_t;``. This only
works if ``foo_t`` is a float or a double, not ``long double``.
* Issue #217: fix possible unaligned pointer manipulation, which crashes
on some architectures (64-bit, non-x86).
* Issues #64 and #126: when using ``set_source()`` or ``verify()``,
the ``const`` and ``restrict`` keywords are copied from the cdef
to the generated C code; this fixes warnings by the C compiler.
It also fixes corner cases like ``typedef const int T; T a;``
which would previously not consider ``a`` as a constant. (The
cdata objects themselves are never ``const``.)
* Win32: support for ``__stdcall``. For callbacks and function
pointers; regular C functions still don't need to have their `calling
convention`_ declared.
* Windows: CPython 2.7 distutils doesn't work with Microsoft's official
Visual Studio for Python, and I'm told this is `not a bug`__. For
ffi.compile(), we `removed a workaround`__ that was inside cffi but
which had unwanted side-effects. Try saying ``import setuptools``
first, which patches distutils...
.. _`ffi.memmove()`: using.html#memmove
.. __: https://bugs.python.org/issue23246
.. __: https://bitbucket.org/cffi/cffi/pull-requests/65/remove-_hack_at_distutils-which-imports/diff
.. _`calling convention`: using.html#windows-calling-conventions
Diffstat (limited to 'devel/py-cffi')
-rw-r--r-- | devel/py-cffi/Makefile | 6 | ||||
-rw-r--r-- | devel/py-cffi/distinfo | 9 |
2 files changed, 8 insertions, 7 deletions
diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile index 69712dc7876..0a169c5a632 100644 --- a/devel/py-cffi/Makefile +++ b/devel/py-cffi/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.10 2015/08/30 14:42:03 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2015/10/25 09:50:36 wiz Exp $ -DISTNAME= cffi-1.2.1 +DISTNAME= cffi-1.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel -MASTER_SITES= https://pypi.python.org/packages/source/c/cffi/ +MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://pypi.python.org/pypi/cffi/ diff --git a/devel/py-cffi/distinfo b/devel/py-cffi/distinfo index 8d6554a7cac..c850d3e5ea7 100644 --- a/devel/py-cffi/distinfo +++ b/devel/py-cffi/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2015/08/30 14:42:03 wiz Exp $ +$NetBSD: distinfo,v 1.11 2015/10/25 09:50:36 wiz Exp $ -SHA1 (cffi-1.2.1.tar.gz) = f7ed014ff1602a8e81073f5356b4cafbc3f5dce1 -RMD160 (cffi-1.2.1.tar.gz) = 3629cda4d6252a356ceb1b66f78a7aed5fbcec88 -Size (cffi-1.2.1.tar.gz) = 335778 bytes +SHA1 (cffi-1.3.0.tar.gz) = 54a0b2dbbc2f5d99131aa337e217b636652641a9 +RMD160 (cffi-1.3.0.tar.gz) = d9197750f2f2f8914a95c60d70cc160736030e04 +SHA512 (cffi-1.3.0.tar.gz) = 2ea789d67782b2f23501bea4480f42f79e312d047e2d8c777aab8113400cfa136585aa92c0a51608a0da35cd6734bc24914fcccfc5bbdad3041aad2e9f784400 +Size (cffi-1.3.0.tar.gz) = 347342 bytes |