Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2026 14:14:02 +0000
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1410c1bbd9a9 - main - www/py-autobahn: Update version 24.4.2=>25.9.1
Message-ID:  <6a412c2a.1f622.3c69d1a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

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

commit 1410c1bbd9a9abc2eb7e8ddb4216467c032c5648
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-06-28 13:14:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-06-28 14:13:35 +0000

    www/py-autobahn: Update version 24.4.2=>25.9.1
    
    Changelog: https://github.com/crossbario/autobahn-python/releases/tag/v25.9.1
---
 www/py-autobahn/Makefile                           | 22 ++++++++++++------
 www/py-autobahn/distinfo                           |  6 ++---
 .../files/patch-autobahn_nvx___utf8validator.py    | 11 ---------
 www/py-autobahn/files/patch-setup.py               | 26 ----------------------
 4 files changed, 18 insertions(+), 47 deletions(-)

diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile
index d1016102a6f4..b844faa94172 100644
--- a/www/py-autobahn/Makefile
+++ b/www/py-autobahn/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	autobahn
 DISTVERSIONPREFIX=	v
-DISTVERSION=	24.4.2
-PORTREVISION=	6
+DISTVERSION=	25.9.1
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,15 +11,18 @@ WWW=		https://github.com/crossbario/autobahn-python
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}cffi>=1.14.5:devel/py-cffi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hyperlink>=21.0.0:www/py-hyperlink@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}txaio>=21.2.1:devel/py-txaio@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}txaio>=25.9.2:devel/py-txaio@${PY_FLAVOR}
 
 USES=		cpe python
 CPE_VENDOR=	crossbar
 USE_GITHUB=	yes
 GH_ACCOUNT=	crossbario
 GH_PROJECT=	autobahn-python
-USE_PYTHON=	autoplist cryptography distutils pytest
+USE_PYTHON=	autoplist cryptography pep517 pytest
 
 OPTIONS_DEFINE=		COMPRESS ENCRYPTION SCRAM SERIALIZATION
 OPTIONS_DEFAULT=	ENCRYPTION SCRAM SERIALIZATION TWISTED
@@ -37,10 +39,12 @@ TWISTED_DESC=		Twisted network backend support
 
 COMPRESS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}python-snappy>=0.6.0:archivers/py-python-snappy@${PY_FLAVOR}
 ENCRYPTION_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pyopenssl>=20.0.1:security/py-pyopenssl@${PY_FLAVOR} \
+				${PYTHON_PKGNAMEPREFIX}service-identity>=18.1.0:security/py-service-identity@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}PyNaCl>=1.4.0:security/py-pynacl@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}qrcode>=7.3.1:textproc/py-qrcode@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}pytrie>=0.4.0:devel/py-pytrie@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}service-identity>=18.1.0:security/py-service-identity@${PY_FLAVOR}
+				${PYTHON_PKGNAMEPREFIX}qrcode>=7.3.1:textproc/py-qrcode@${PY_FLAVOR} \
+				${PYTHON_PKGNAMEPREFIX}base58>=2.1.1:security/py-base58@${PY_FLAVOR} \
+				${PYTHON_PKGNAMEPREFIX}ecdsa>=0.19.1:security/py-ecdsa@${PY_FLAVOR}
 SCRAM_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}argon2-cffi>=20.1.0:security/py-argon2-cffi@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}cffi>=1.14.5:devel/py-cffi@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}passlib>=1.7.4:security/py-passlib@${PY_FLAVOR}
@@ -51,11 +55,15 @@ SERIALIZATION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cbor2>=5.2.0:devel/py-cbor2@${
 				${PYTHON_PKGNAMEPREFIX}ujson>=4.0.2:devel/py-ujson@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}u-msgpack-python>=2.1:devel/py-u-msgpack-python@${PY_FLAVOR}
 TWISTED_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}attrs>=20.3.0:devel/py-attrs@${PY_FLAVOR} \
-				${PYTHON_PKGNAMEPREFIX}twisted>=24.3.0:devel/py-twisted@${PY_FLAVOR} \
+				${PYTHON_PKGNAMEPREFIX}twisted>=22.10.0:devel/py-twisted@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}zope.interface>=5.2.0:devel/py-zope.interface@${PY_FLAVOR}
 
 .include <bsd.port.options.mk>
 
+post-patch:
+	@${REINPLACE_CMD} -e '/march=native/d' ${WRKSRC}/autobahn/nvx/_utf8validator.py
+	@${REINPLACE_CMD} -e 's|setuptools>=64|setuptools>=63|' ${WRKSRC}/pyproject.toml
+
 post-stage:
 .if ${ARCH} !=	armv7
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_nvx_utf8validator.abi3.so
diff --git a/www/py-autobahn/distinfo b/www/py-autobahn/distinfo
index 9a87ba3df32d..66a9f04e6b7f 100644
--- a/www/py-autobahn/distinfo
+++ b/www/py-autobahn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735282026
-SHA256 (crossbario-autobahn-python-v24.4.2_GH0.tar.gz) = 2bfd369be27ef23b03dd37da8658e102d54d7098a3d9750230fadddff04255c0
-SIZE (crossbario-autobahn-python-v24.4.2_GH0.tar.gz) = 3372372
+TIMESTAMP = 1782594380
+SHA256 (crossbario-autobahn-python-v25.9.1_GH0.tar.gz) = 2127f3af5988f618cca200d58c4cdd3d57f8beb9f752285429851fb88d0e816c
+SIZE (crossbario-autobahn-python-v25.9.1_GH0.tar.gz) = 3261364
diff --git a/www/py-autobahn/files/patch-autobahn_nvx___utf8validator.py b/www/py-autobahn/files/patch-autobahn_nvx___utf8validator.py
deleted file mode 100644
index 736f2bb71dd0..000000000000
--- a/www/py-autobahn/files/patch-autobahn_nvx___utf8validator.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- autobahn/nvx/_utf8validator.py.orig	2024-06-02 09:20:40 UTC
-+++ autobahn/nvx/_utf8validator.py
-@@ -55,7 +55,7 @@ with open(os.path.join(os.path.dirname(__file__), '_ut
-         "_nvx_utf8validator",
-         c_source,
-         libraries=[],
--        extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3', '-march=native'],
-+        extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3'],
-         optional=optional
-     )
- 
diff --git a/www/py-autobahn/files/patch-setup.py b/www/py-autobahn/files/patch-setup.py
deleted file mode 100644
index 6c7fcf8c1845..000000000000
--- a/www/py-autobahn/files/patch-setup.py
+++ /dev/null
@@ -1,26 +0,0 @@
---- setup.py.orig	2022-03-10 14:28:18 UTC
-+++ setup.py
-@@ -312,23 +312,3 @@ setup(
-                  "Topic :: Software Development :: Object Brokering"],
-     keywords='autobahn crossbar websocket realtime rfc6455 wamp rpc pubsub twisted asyncio xbr data-markets blockchain ethereum'
- )
--
--
--# regenerate Twisted plugin cache
--try:
--    from twisted.internet import reactor
--    print("Twisted found (default reactor is {0})".format(reactor.__class__))
--except ImportError:
--    # the user doesn't have Twisted, so skip
--    pass
--else:
--    # Make Twisted regenerate the dropin.cache, if possible. This is necessary
--    # because in a site-wide install, dropin.cache cannot be rewritten by
--    # normal users.
--    try:
--        from twisted.plugin import IPlugin, getPlugins
--        list(getPlugins(IPlugin))
--    except Exception as e:
--        print("Failed to update Twisted plugin cache: {0}".format(e))
--    else:
--        print("Twisted dropin.cache regenerated.")


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a412c2a.1f622.3c69d1a>