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-conventionsdiff -r1.10 -r1.11 pkgsrc/devel/py-cffi/Makefile
(wiz)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2015/08/30 14:42:03 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2015/10/25 09:50:36 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= cffi-1.2.1 | 3 | DISTNAME= cffi-1.3.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
6 | MASTER_SITES= https://pypi.python.org/packages/source/c/cffi/ | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://pypi.python.org/pypi/cffi/ | 9 | HOMEPAGE= https://pypi.python.org/pypi/cffi/ | |
10 | COMMENT= Foreign Function Interface for Python calling C code | 10 | COMMENT= Foreign Function Interface for Python calling C code | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | USE_TOOLS+= pkg-config | 13 | USE_TOOLS+= pkg-config | |
14 | 14 | |||
15 | .include "../../devel/libffi/buildlink3.mk" | 15 | .include "../../devel/libffi/buildlink3.mk" | |
16 | .include "../../lang/python/egg.mk" | 16 | .include "../../lang/python/egg.mk" | |
17 | .include "../../mk/bsd.pkg.mk" | 17 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2015/08/30 14:42:03 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.11 2015/10/25 09:50:36 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (cffi-1.2.1.tar.gz) = f7ed014ff1602a8e81073f5356b4cafbc3f5dce1 | 3 | SHA1 (cffi-1.3.0.tar.gz) = 54a0b2dbbc2f5d99131aa337e217b636652641a9 | |
4 | RMD160 (cffi-1.2.1.tar.gz) = 3629cda4d6252a356ceb1b66f78a7aed5fbcec88 | 4 | RMD160 (cffi-1.3.0.tar.gz) = d9197750f2f2f8914a95c60d70cc160736030e04 | |
5 | Size (cffi-1.2.1.tar.gz) = 335778 bytes | 5 | SHA512 (cffi-1.3.0.tar.gz) = 2ea789d67782b2f23501bea4480f42f79e312d047e2d8c777aab8113400cfa136585aa92c0a51608a0da35cd6734bc24914fcccfc5bbdad3041aad2e9f784400 | |
6 | Size (cffi-1.3.0.tar.gz) = 347342 bytes |