Sun Oct 25 09:50:36 2015 UTC ()
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


(wiz)
diff -r1.10 -r1.11 pkgsrc/devel/py-cffi/Makefile
diff -r1.10 -r1.11 pkgsrc/devel/py-cffi/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/devel/py-cffi/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-cffi/Makefile 2015/08/30 14:42:03 1.10
+++ pkgsrc/devel/py-cffi/Makefile 2015/10/25 09:50:36 1.11
@@ -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
3DISTNAME= cffi-1.2.1 3DISTNAME= cffi-1.3.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= https://pypi.python.org/packages/source/c/cffi/ 6MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://pypi.python.org/pypi/cffi/ 9HOMEPAGE= https://pypi.python.org/pypi/cffi/
10COMMENT= Foreign Function Interface for Python calling C code 10COMMENT= Foreign Function Interface for Python calling C code
11LICENSE= mit 11LICENSE= mit
12 12
13USE_TOOLS+= pkg-config 13USE_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"

cvs diff -r1.10 -r1.11 pkgsrc/devel/py-cffi/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-cffi/distinfo 2015/08/30 14:42:03 1.10
+++ pkgsrc/devel/py-cffi/distinfo 2015/10/25 09:50:36 1.11
@@ -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
3SHA1 (cffi-1.2.1.tar.gz) = f7ed014ff1602a8e81073f5356b4cafbc3f5dce1 3SHA1 (cffi-1.3.0.tar.gz) = 54a0b2dbbc2f5d99131aa337e217b636652641a9
4RMD160 (cffi-1.2.1.tar.gz) = 3629cda4d6252a356ceb1b66f78a7aed5fbcec88 4RMD160 (cffi-1.3.0.tar.gz) = d9197750f2f2f8914a95c60d70cc160736030e04
5Size (cffi-1.2.1.tar.gz) = 335778 bytes 5SHA512 (cffi-1.3.0.tar.gz) = 2ea789d67782b2f23501bea4480f42f79e312d047e2d8c777aab8113400cfa136585aa92c0a51608a0da35cd6734bc24914fcccfc5bbdad3041aad2e9f784400
 6Size (cffi-1.3.0.tar.gz) = 347342 bytes