pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-m2crypto py-m2crypto: updated to 0.32.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e69dddb9d32
branches:  trunk
changeset: 320396:5e69dddb9d32
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Mar 04 18:41:48 2019 +0000

description:
py-m2crypto: updated to 0.32.0

0.32.0:
- setup.py: use ${CPP} as path to cpp
- Bump pipeline OpenSSL from 1.1.0i to 1.1.0j
- Stub wchar_t helpers and ignore unused WCHAR defs
- Add type comment to setup.py

diffstat:

 security/py-m2crypto/Makefile               |   4 ++--
 security/py-m2crypto/distinfo               |  12 ++++++------
 security/py-m2crypto/patches/patch-setup.py |  17 ++++++++++++++---
 3 files changed, 22 insertions(+), 11 deletions(-)

diffs (60 lines):

diff -r 011bbf1fe11a -r 5e69dddb9d32 security/py-m2crypto/Makefile
--- a/security/py-m2crypto/Makefile     Mon Mar 04 18:29:47 2019 +0000
+++ b/security/py-m2crypto/Makefile     Mon Mar 04 18:41:48 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2018/11/13 13:31:02 adam Exp $
+# $NetBSD: Makefile,v 1.50 2019/03/04 18:41:48 adam Exp $
 
-DISTNAME=      M2Crypto-0.31.0
+DISTNAME=      M2Crypto-0.32.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/M2Crypto/}
diff -r 011bbf1fe11a -r 5e69dddb9d32 security/py-m2crypto/distinfo
--- a/security/py-m2crypto/distinfo     Mon Mar 04 18:29:47 2019 +0000
+++ b/security/py-m2crypto/distinfo     Mon Mar 04 18:41:48 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.17 2018/11/13 13:31:02 adam Exp $
+$NetBSD: distinfo,v 1.18 2019/03/04 18:41:48 adam Exp $
 
-SHA1 (M2Crypto-0.31.0.tar.gz) = 68f26a320e5db6d199e58713eda68f3e9a89a8e5
-RMD160 (M2Crypto-0.31.0.tar.gz) = 95fa732143898d83148450659c2acd156e59d77b
-SHA512 (M2Crypto-0.31.0.tar.gz) = 9f3e2afda4b8ac14aa64a1534e446eb6895ec7182ce5b7ded8008178e01139d383561a87f8c9fb5fe4b9c257ba5c6b93339955eb9e2f7417cd3f4832c35c4598
-Size (M2Crypto-0.31.0.tar.gz) = 1292016 bytes
+SHA1 (M2Crypto-0.32.0.tar.gz) = b36c43373f952401b9cc190e4e5ddd09028e276b
+RMD160 (M2Crypto-0.32.0.tar.gz) = 4d8b714b105ba4e2616d203edd72733736b124c1
+SHA512 (M2Crypto-0.32.0.tar.gz) = 477cc30748b3ddc21b66872a88ba0e111a592928ce0d2edc9b72c9a8fa7aa2b422e1b785b830e8d8fcab9f1678928634627b0ea3d57632ec5769ba4ed64c16f8
+Size (M2Crypto-0.32.0.tar.gz) = 1292542 bytes
 SHA1 (patch-SWIG___m2crypto__wrap.c) = 2672787cd8fd70b5ac2cf634b6a913aefc27b26c
-SHA1 (patch-setup.py) = 647b45f38eaf71726b21725b351b439a9b0770cd
+SHA1 (patch-setup.py) = ec43146954a849a7e12003397df19e6567df888c
diff -r 011bbf1fe11a -r 5e69dddb9d32 security/py-m2crypto/patches/patch-setup.py
--- a/security/py-m2crypto/patches/patch-setup.py       Mon Mar 04 18:29:47 2019 +0000
+++ b/security/py-m2crypto/patches/patch-setup.py       Mon Mar 04 18:41:48 2019 +0000
@@ -1,12 +1,23 @@
-$NetBSD: patch-setup.py,v 1.4 2018/02/09 08:44:50 adam Exp $
+$NetBSD: patch-setup.py,v 1.5 2019/03/04 18:41:48 adam Exp $
+
+CPP may contain spaces.
 
 Don't pass "-includeall" to swig.  It causes compiler-dependent
 tests in system include files to break (e.g. "#ifdef __GNUC__"
 doesn't work properly.)
 
---- setup.py.orig      2018-02-08 18:54:48.000000000 +0000
+--- setup.py.orig      2019-03-04 17:27:03.000000000 +0000
 +++ setup.py
-@@ -192,7 +192,6 @@ class _M2CryptoBuildExt(build_ext.build_
+@@ -50,7 +50,7 @@ def _get_additional_includes():
+                                 '*Visual*', 'VC', 'include')
+         err = glob.glob(globmask)
+     else:
+-        pid = subprocess.Popen([os.environ.get('CPP', 'cpp'), '-Wp,-v', '-'],
++        pid = subprocess.Popen(os.environ.get('CPP', 'cpp').split() + ['-Wp,-v', '-'],
+                                stdin=open(os.devnull, 'r'),
+                                stdout=subprocess.PIPE,
+                                stderr=subprocess.PIPE)
+@@ -197,7 +197,6 @@ class _M2CryptoBuildExt(build_ext.build_
  
          # swig seems to need the default header file directories
          self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes()])



Home | Main Index | Thread Index | Old Index