Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2025 02:50:59 GMT
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: 4ebb46d3e48b - main - security/py-m2crypto: Update to 0.43.0
Message-ID:  <202501020250.5022oxiO014100@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 4ebb46d3e48b4eefe2f1d09810248708a84f6451
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-02 02:44:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-02 02:44:46 +0000

    security/py-m2crypto: Update to 0.43.0
    
    - Update WWW
    
    Changes:        https://gitlab.com/m2crypto/m2crypto/-/blob/master/CHANGES
---
 security/py-m2crypto/Makefile              |  6 +++---
 security/py-m2crypto/distinfo              |  6 +++---
 security/py-m2crypto/files/patch-setup.cfg |  4 ++--
 security/py-m2crypto/files/patch-setup.py  | 24 ++++++++++++++----------
 4 files changed, 22 insertions(+), 18 deletions(-)

diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index c84cb450c451..2d00b005d2de 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -1,13 +1,13 @@
 PORTNAME=	m2crypto
-PORTVERSION=	0.41.0
+PORTVERSION=	0.43.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	M2Crypto-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Crypto and SSL toolkit for Python
-WWW=		https://gitlab.com/m2crypto/m2crypto
+WWW=		https://m2crypto.readthedocs.io/en/latest/ \
+		https://gitlab.com/m2crypto/m2crypto
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENCE
diff --git a/security/py-m2crypto/distinfo b/security/py-m2crypto/distinfo
index 25c7e970d115..58324a70d4cb 100644
--- a/security/py-m2crypto/distinfo
+++ b/security/py-m2crypto/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449446
-SHA256 (M2Crypto-0.41.0.tar.gz) = 3a1358c7ee849046d91782a777f1786bf027a1c1d51b5faf8f19435bfc3f1495
-SIZE (M2Crypto-0.41.0.tar.gz) = 1151680
+TIMESTAMP = 1735705191
+SHA256 (m2crypto-0.43.0.tar.gz) = 6c2c1c7bb0e8aa768f7ca803da7dbc2666d4003b26bd7adf70233afc59d8cf33
+SIZE (m2crypto-0.43.0.tar.gz) = 366785
diff --git a/security/py-m2crypto/files/patch-setup.cfg b/security/py-m2crypto/files/patch-setup.cfg
index 640129e18417..81b4097b9884 100644
--- a/security/py-m2crypto/files/patch-setup.cfg
+++ b/security/py-m2crypto/files/patch-setup.cfg
@@ -1,9 +1,9 @@
---- setup.cfg.orig	2024-02-13 22:13:53 UTC
+--- setup.cfg.orig	2024-10-30 18:31:49 UTC
 +++ setup.cfg
 @@ -1,5 +1,5 @@
  [metadata]
 -name = M2Crypto
 +name = m2crypto
- version = 0.41.0
+ version = attr: M2Crypto.__version__
  author = Ng Pheng Siong
  author_email = ngps@sandbox.rulemaker.net
diff --git a/security/py-m2crypto/files/patch-setup.py b/security/py-m2crypto/files/patch-setup.py
index f2cd2f6482d3..6e2719d77feb 100644
--- a/security/py-m2crypto/files/patch-setup.py
+++ b/security/py-m2crypto/files/patch-setup.py
@@ -1,28 +1,32 @@
---- setup.py.orig	2024-01-29 18:20:51 UTC
+--- setup.py.orig	2024-10-09 22:15:33 UTC
 +++ setup.py
-@@ -132,9 +132,6 @@ class _M2CryptoBuildExt(build_ext.build_ext):
+@@ -164,11 +164,6 @@ class _M2CryptoBuildExt(build_ext.build_ext):
          log.debug('self.openssl_path = %s', self.openssl_path)
          log.debug('self.bundledlls = %s', self.bundledlls)
  
 -        # 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.extend(
+-            ['-I%s' % i for i in _get_additional_includes()]
+-        )
 -
          log.debug('self.include_dirs = %s', self.include_dirs)
          log.debug('self.library_dirs = %s', self.library_dirs)
  
-@@ -169,6 +166,9 @@ class _M2CryptoBuildExt(build_ext.build_ext):
- 
-         self.swig_opts.extend(['-I%s' % i for i in self.include_dirs])
+@@ -238,6 +233,11 @@ class _M2CryptoBuildExt(build_ext.build_ext):
+                         f"gcc -E ended with return code {pid.returncode}"
+                     )
  
 +        # 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.extend(
++            ['-I%s' % i for i in _get_additional_includes()]
++        )
 +
          # Some Linux distributor has added the following line in
          # /usr/include/openssl/opensslconf.h:
          #
-@@ -187,7 +187,7 @@ class _M2CryptoBuildExt(build_ext.build_ext):
-             self.swig_opts.append(
-                 '-I' + os.path.join(openssl_include_dir, 'openssl'))
+@@ -257,7 +257,7 @@ class _M2CryptoBuildExt(build_ext.build_ext):
+                 '-I' + os.path.join(openssl_include_dir, 'openssl')
+             )
  
 -        self.swig_opts.append('-includeall')
 +        #self.swig_opts.append('-includeall')



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