Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2026 18:24:49 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fcc92a7f5954 - main - security/py-m2crypto: Update to 0.47.0
Message-ID:  <69af1071.1e5e3.55229023@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fcc92a7f59540baae775bf35069a63ab787b4151

commit fcc92a7f59540baae775bf35069a63ab787b4151
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-03-09 17:58:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-03-09 18:19:12 +0000

    security/py-m2crypto: Update to 0.47.0
    
    Changes:        https://gitlab.com/m2crypto/m2crypto/-/tags
                    https://gitlab.com/m2crypto/m2crypto/-/blob/master/CHANGES
---
 security/py-m2crypto/Makefile                         |  3 ++-
 security/py-m2crypto/distinfo                         |  6 +++---
 security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i | 16 ++++++++++++++--
 3 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index d491c390a9d1..d2526651e021 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	m2crypto
-PORTVERSION=	0.46.2
+PORTVERSION=	0.47.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,6 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSES/BSD-2-Clause.txt
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
 		swig>=4.0:devel/swig
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}
 
 USES=		cpe python ssl
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/security/py-m2crypto/distinfo b/security/py-m2crypto/distinfo
index a99a2cc11750..717bfce780fd 100644
--- a/security/py-m2crypto/distinfo
+++ b/security/py-m2crypto/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1761446744
-SHA256 (m2crypto-0.46.2.tar.gz) = 13c2fa89562f7b8af40cc74b55f490be5e2ab8ccfb739f11c16d3ce6221a61ba
-SIZE (m2crypto-0.46.2.tar.gz) = 501816
+TIMESTAMP = 1771421732
+SHA256 (m2crypto-0.47.0.tar.gz) = 9256300be1e0412be802aa1f827e0ce7f94deb1099b8ccdcfd9867a7f0f975bf
+SIZE (m2crypto-0.47.0.tar.gz) = 662529
diff --git a/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i b/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i
index bb334b3442b4..74f0702ccf6d 100644
--- a/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i
+++ b/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i
@@ -1,6 +1,18 @@
---- src/SWIG/_m2crypto.i.orig	2020-01-30 08:17:01 UTC
+--- src/SWIG/_m2crypto.i.orig	2026-02-07 22:38:57 UTC
 +++ src/SWIG/_m2crypto.i
-@@ -65,6 +65,7 @@ static PyObject *x509_store_verify_cb_func;
+@@ -43,11 +43,6 @@ typedef unsigned __int64 uint64_t;
+ %}
+ 
+ %{
+-#if defined __GNUC__ && __GNUC__ < 5
+-PRAGMA_IGNORE_UNUSED_LABEL
+-PRAGMA_WARN_STRICT_PROTOTYPES
+-#endif
+-
+ #include <openssl/err.h>
+ #include <openssl/rand.h>
+ #include <_lib.h>
+@@ -67,6 +62,7 @@ static PyObject *x509_store_verify_cb_func;
  #ifdef _WIN32
  %include <windows.i>
  #endif


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69af1071.1e5e3.55229023>