pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-cffi py-cffi: updated to 1.11.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/980e5d92ce31
branches:  trunk
changeset: 376387:980e5d92ce31
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Mar 01 07:59:54 2018 +0000

description:
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.

diffstat:

 devel/py-cffi/Makefile                                     |   4 ++--
 devel/py-cffi/distinfo                                     |  14 +++++++-------
 devel/py-cffi/patches/patch-testing_cffi0_test__verify.py  |   4 +++-
 devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py |   4 +++-
 4 files changed, 15 insertions(+), 11 deletions(-)

diffs (53 lines):

diff -r c15c7d321165 -r 980e5d92ce31 devel/py-cffi/Makefile
--- a/devel/py-cffi/Makefile    Thu Mar 01 03:25:41 2018 +0000
+++ b/devel/py-cffi/Makefile    Thu Mar 01 07:59:54 2018 +0000
@@ -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/}
diff -r c15c7d321165 -r 980e5d92ce31 devel/py-cffi/distinfo
--- a/devel/py-cffi/distinfo    Thu Mar 01 03:25:41 2018 +0000
+++ b/devel/py-cffi/distinfo    Thu Mar 01 07:59:54 2018 +0000
@@ -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
diff -r c15c7d321165 -r 980e5d92ce31 devel/py-cffi/patches/patch-testing_cffi0_test__verify.py
--- a/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py Thu Mar 01 03:25:41 2018 +0000
+++ b/devel/py-cffi/patches/patch-testing_cffi0_test__verify.py Thu Mar 01 07:59:54 2018 +0000
@@ -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
diff -r c15c7d321165 -r 980e5d92ce31 devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py
--- a/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py        Thu Mar 01 03:25:41 2018 +0000
+++ b/devel/py-cffi/patches/patch-testing_cffi1_test__verify1.py        Thu Mar 01 07:59:54 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index