Received: by mail.netbsd.org (Postfix, from userid 605) id 9EDED84D32; Thu, 1 Mar 2018 07:59:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E153A84D26 for ; Thu, 1 Mar 2018 07:59:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id H0G98Id2HWSA for ; Thu, 1 Mar 2018 07:59:55 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D89A184C77 for ; Thu, 1 Mar 2018 07:59:54 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C79FEFB40; Thu, 1 Mar 2018 07:59:54 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1519891194173100" MIME-Version: 1.0 Date: Thu, 1 Mar 2018 07:59:54 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-cffi To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20180301075954.C79FEFB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1519891194173100 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Mar 1 07:59:54 UTC 2018 Modified Files: pkgsrc/devel/py-cffi: Makefile distinfo pkgsrc/devel/py-cffi/patches: patch-testing_cffi0_test__verify.py patch-testing_cffi1_test__verify1.py Log Message: py-cffi: updated to 1.11.5 v1.11.5 * Issue 357_: fix ffi.emit_python_code() which generated a buggy Python file if you are using a struct with an anonymous union field or vice-versa. * Windows: ffi.dlopen() should now handle unicode filenames. * ABI mode: implemented ffi.dlclose() for the in-line case (it used to be present only in the out-of-line case). * Fixed a corner case for setup.py install --record=xx --root=yy with an out-of-line ABI module. Also fixed Issue 345_. * More hacks on Windows for running CFFI's own setup.py. * Issue 358_: in embedding, to protect against (the rare case of) Python initialization from several threads in parallel, we have to use a spin-lock. On CPython 3 it is worse because it might spin-lock for a long time (execution of Py_InitializeEx()). Sadly, recent changes to CPython make that solution needed on CPython 2 too. * CPython 3 on Windows: we no longer compile with Py_LIMITED_API by default because such modules cannot be used with virtualenv. Issue 350_ mentions a workaround if you still want that and are not concerned about virtualenv: pass a define_macros=[("Py_LIMITED_API", None)] to the ffibuilder.set_source() call. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/py-cffi/Makefile cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-cffi/distinfo cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py \ pkgsrc/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1519891194173100 Content-Disposition: inline Content-Length: 3418 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-cffi/Makefile diff -u pkgsrc/devel/py-cffi/Makefile:1.32 pkgsrc/devel/py-cffi/Makefile:1.33 --- pkgsrc/devel/py-cffi/Makefile:1.32 Sun Jan 14 11:09:17 2018 +++ pkgsrc/devel/py-cffi/Makefile Thu Mar 1 07:59:54 2018 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.32 2018/01/14 11:09:17 adam Exp $ +# $NetBSD: Makefile,v 1.33 2018/03/01 07:59:54 adam Exp $ -DISTNAME= cffi-1.11.4 +DISTNAME= cffi-1.11.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=c/cffi/} Index: pkgsrc/devel/py-cffi/distinfo diff -u pkgsrc/devel/py-cffi/distinfo:1.29 pkgsrc/devel/py-cffi/distinfo:1.30 --- pkgsrc/devel/py-cffi/distinfo:1.29 Sun Jan 14 11:09:17 2018 +++ pkgsrc/devel/py-cffi/distinfo Thu Mar 1 07:59:54 2018 @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.29 2018/01/14 11:09:17 adam Exp $ +$NetBSD: distinfo,v 1.30 2018/03/01 07:59:54 adam Exp $ -SHA1 (cffi-1.11.4.tar.gz) = d0c4f7d4b6af4c438a17b2f2334f2aa5ff7cc4db -RMD160 (cffi-1.11.4.tar.gz) = 6c84f2ac4a6c90f070f511e440ca6c3ed05763de -SHA512 (cffi-1.11.4.tar.gz) = 184572ab8c1f7a72f00084c23894efe1691aa20f9e822a3f7184ebbed16e757586ac47e7f1d12dd7b14b4322bf5b88e35465dc3bc8b0caf0dc8e2b626a52615e -Size (cffi-1.11.4.tar.gz) = 436857 bytes -SHA1 (patch-testing_cffi0_test__verify.py) = 9097ed364176f968d8c5084e1bc3d3d368d92714 -SHA1 (patch-testing_cffi1_test__verify1.py) = 64a0c7073a446dd4ca7cd97086646959ad4fad08 +SHA1 (cffi-1.11.5.tar.gz) = 1686e6689a691414d3d22626c837adeee3996dd9 +RMD160 (cffi-1.11.5.tar.gz) = d2dc3bae37502af50f756b2705d388777e7a541d +SHA512 (cffi-1.11.5.tar.gz) = 6770d5293cfd7405e733d60c96655641b5bcc5878fc66a737f4a8308f465d459ee0e3fcaa47893d8f57fb195e5534dd7e4728c868f33d7e657688f45e1fb1880 +Size (cffi-1.11.5.tar.gz) = 438498 bytes +SHA1 (patch-testing_cffi0_test__verify.py) = 91e903aa6aa89f997aba1578cb9452e6ac160f50 +SHA1 (patch-testing_cffi1_test__verify1.py) = 72d564ff8422bc1c8ed8b7058fb95ca669b69529 Index: pkgsrc/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py diff -u pkgsrc/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py:1.1 pkgsrc/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py:1.2 --- pkgsrc/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py:1.1 Mon Jul 3 18:17:45 2017 +++ pkgsrc/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py Thu Mar 1 07:59:54 2018 @@ -1,4 +1,6 @@ -$NetBSD: patch-testing_cffi0_test__verify.py,v 1.1 2017/07/03 18:17:45 joerg Exp $ +$NetBSD: patch-testing_cffi0_test__verify.py,v 1.2 2018/03/01 07:59:54 adam Exp $ + +Add NetBSD support. --- testing/cffi0/test_verify.py.orig 2017-07-03 17:44:02.180970759 +0000 +++ testing/cffi0/test_verify.py Index: pkgsrc/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py diff -u pkgsrc/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py:1.1 pkgsrc/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py:1.2 --- pkgsrc/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py:1.1 Mon Jul 3 18:17:45 2017 +++ pkgsrc/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py Thu Mar 1 07:59:54 2018 @@ -1,4 +1,6 @@ -$NetBSD: patch-testing_cffi1_test__verify1.py,v 1.1 2017/07/03 18:17:45 joerg Exp $ +$NetBSD: patch-testing_cffi1_test__verify1.py,v 1.2 2018/03/01 07:59:54 adam Exp $ + +Add NetBSD support. --- testing/cffi1/test_verify1.py.orig 2017-07-03 17:44:21.313824096 +0000 +++ testing/cffi1/test_verify1.py --_----------=_1519891194173100--