Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2020 14:43:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r557938 - in head/security/py-m2crypto: . files
Message-ID:  <202012131443.0BDEhpA7038583@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec 13 14:43:51 2020
New Revision: 557938
URL: https://svnweb.freebsd.org/changeset/ports/557938

Log:
  Update to 0.37.1
  
  Changes:	https://gitlab.com/m2crypto/m2crypto/blob/master/CHANGES
  		https://gitlab.com/m2crypto/m2crypto/commits/master

Modified:
  head/security/py-m2crypto/Makefile
  head/security/py-m2crypto/distinfo
  head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i
  head/security/py-m2crypto/files/patch-setup.py

Modified: head/security/py-m2crypto/Makefile
==============================================================================
--- head/security/py-m2crypto/Makefile	Sun Dec 13 14:43:46 2020	(r557937)
+++ head/security/py-m2crypto/Makefile	Sun Dec 13 14:43:51 2020	(r557938)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	m2crypto
-PORTVERSION=	0.36.0
+PORTVERSION=	0.37.1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,8 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
 BUILD_DEPENDS=	swig>=2.0.4:devel/swig
-RUN_DEPENDS=	${PY_TYPING}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}parameterized>=0:devel/py-parameterized@${PY_FLAVOR} \
+		${PY_TYPING}
 
 USES=		python ssl
 USE_PYTHON=	autoplist concurrent distutils

Modified: head/security/py-m2crypto/distinfo
==============================================================================
--- head/security/py-m2crypto/distinfo	Sun Dec 13 14:43:46 2020	(r557937)
+++ head/security/py-m2crypto/distinfo	Sun Dec 13 14:43:51 2020	(r557938)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1595416625
-SHA256 (M2Crypto-0.36.0.tar.gz) = 1542c18e3ee5c01db5031d0b594677536963e3f54ecdf5315aeecb3a595b4dc1
-SIZE (M2Crypto-0.36.0.tar.gz) = 1127584
+TIMESTAMP = 1607685399
+SHA256 (M2Crypto-0.37.1.tar.gz) = e4e42f068b78ccbf113e5d0a72ae5f480f6c3ace4940b91e4fff5598cfff6fb3
+SIZE (M2Crypto-0.37.1.tar.gz) = 1247031

Modified: head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i
==============================================================================
--- head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i	Sun Dec 13 14:43:46 2020	(r557937)
+++ head/security/py-m2crypto/files/patch-SWIG-_m2crypto.i	Sun Dec 13 14:43:51 2020	(r557938)
@@ -1,6 +1,6 @@
---- SWIG/_m2crypto.i.orig	2018-02-24 13:54:59 UTC
+--- SWIG/_m2crypto.i.orig	2020-01-30 08:17:01 UTC
 +++ SWIG/_m2crypto.i
-@@ -57,7 +57,8 @@ static PyObject *x509_store_verify_cb_fu
+@@ -65,6 +65,7 @@ static PyObject *x509_store_verify_cb_func;
  #ifdef _WIN32
  %include <windows.i>
  #endif
@@ -8,4 +8,3 @@
  %include <openssl/safestack.h>
  
  /* Bring in LHASH_OF macro definition */
- /* XXX Can't include lhash.h where LHASH_OF is defined, because it includes

Modified: head/security/py-m2crypto/files/patch-setup.py
==============================================================================
--- head/security/py-m2crypto/files/patch-setup.py	Sun Dec 13 14:43:46 2020	(r557937)
+++ head/security/py-m2crypto/files/patch-setup.py	Sun Dec 13 14:43:51 2020	(r557938)
@@ -1,9 +1,9 @@
---- setup.py.orig	2018-04-29 18:47:25 UTC
+--- setup.py.orig	2020-12-08 18:29:38 UTC
 +++ setup.py
-@@ -196,7 +196,7 @@ class _M2CryptoBuildExt(build_ext.build_
+@@ -204,7 +204,7 @@ class _M2CryptoBuildExt(build_ext.build_ext):
+             self.swig_opts.append(
+                 '-I' + os.path.join(openssl_include_dir, 'openssl'))
  
-         # swig seems to need the default header file directories
-         self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes()])
 -        self.swig_opts.append('-includeall')
 +        #self.swig_opts.append('-includeall')
          self.swig_opts.append('-modern')



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012131443.0BDEhpA7038583>