From nobody Sat Mar 12 10:37:19 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3AFA81A089F7; Sat, 12 Mar 2022 10:37:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KFzl418l7z4sXk; Sat, 12 Mar 2022 10:37:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647081440; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=65KcRxySpDUUVUYqBuoPH6knOS8Vr5D5iQTsindFiVI=; b=DmXYVUJ1eKgwoDn77FLCpL4xuAHPDleX/Cl5XN5CV5sgWOkHqu31yW2uc7LMVZgXQx8qO2 AuHuilCjdRfJlLLiyKqaPBwbTLOODOKlxbg1x3ZIcN6gza1506LTHdBC6QSscLB3uwCY0L MaFMZ/ocYr5tpEuJftzQKkOjW3HwwnXHFLCH2Wvk4pUtWaaZUpcW2iqzt5dhJ1T7QuVgVe nxzo51FaA4E7PuB2C39/7p1ebxQ5L5zfSts26aRP4Je1q1ZpyRwWURMbsRqWhsaMz5tCNR jXnlq1xK/LUT0qEVMfdt/10oH+q2C+gXxZgoVBJFtEjFanF+9gK2NvLFeBEEJg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09A692B16B; Sat, 12 Mar 2022 10:37:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22CAbJr0040432; Sat, 12 Mar 2022 10:37:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22CAbJXM040431; Sat, 12 Mar 2022 10:37:19 GMT (envelope-from git) Date: Sat, 12 Mar 2022 10:37:19 GMT Message-Id: <202203121037.22CAbJXM040431@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 8e8cb4690635 - main - www/py-autobahn: Update version 19.5.1=>21.2.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8e8cb469063549780b40a6c6620f73d573b429b3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647081440; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=65KcRxySpDUUVUYqBuoPH6knOS8Vr5D5iQTsindFiVI=; b=rvK45Jdnq+TGtd16Scj5NOQ7rctQN/BXyAwIbMxGFzIDrQ5SN0LLwxVGjXwL1EssWKbikd BQI8uAwFbk+D6MBLcmqS2DfUp/hdGmE+EPbHKXcfSqJljFfQUArv8QTRPogMi/yHtKkPX6 W3XVP6vGK3jZ7YldSCvApFNd02LuBAhx1C2Hn2QBlPnZm7hE0ZKuDzPAbrm8lTJ+OCV51L rzB95jbNTs5yJ9caqhtod4slw19i64QdENBhjoZKD4D475xfbNrwqk3LzIjOlQKcqymEYJ cGYnqxqbWWAolghoxaFdWL/UDYpCW/d7HksxLrH8i+uzPW/6FlBNO+d02ciq3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647081440; a=rsa-sha256; cv=none; b=IXinET0qj0LgdcNKndMkEdI7cWpH84hKnAJU02nSf98wzpvp0wZczZ2iSdTblThAZtZiA4 Vh9s0Qc2jReVo1XrkuQHZMNTRq3bkZYVrqbcs3RlxrfKSAKz7nwMZhf6WGbtSObgTMFR44 APVYjzGhkc30LlM8zPE3KH+KgL/7sD3ignI3E5vdfqVciiG9djeTGxMpIGBJP/oPiwVN3o v1ayKX0ygQqo7B1WHMYq4S7Djlv5dVxwDl/THnoewvP96wTSNDB8Hq60pGEUPwl/E2a/8/ NcGrlQSzLtL0W9nBmIhouXsJjHqSws8y7MiCQQvGEgnCJnXGqIMmluTvmgLOJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8e8cb469063549780b40a6c6620f73d573b429b3 commit 8e8cb469063549780b40a6c6620f73d573b429b3 Author: Muhammad Moinur Rahman AuthorDate: 2022-03-10 15:22:53 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-03-12 10:37:15 +0000 www/py-autobahn: Update version 19.5.1=>21.2.1 - Update WWW Relnotes: https://github.com/crossbario/autobahn-python/releases/tag/v21.2.1 --- www/py-autobahn/Makefile | 55 +++++++++++++++++------------------- www/py-autobahn/distinfo | 6 ++-- www/py-autobahn/files/patch-setup.py | 38 +++++++++++++++---------- www/py-autobahn/pkg-descr | 2 +- 4 files changed, 53 insertions(+), 48 deletions(-) diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile index a74b241f2e91..46db37b399d7 100644 --- a/www/py-autobahn/Makefile +++ b/www/py-autobahn/Makefile @@ -1,45 +1,41 @@ # Created by: Kubilay Kocak -PORTNAME= autobahn -PORTVERSION= 19.5.1 +PORTNAME= autobahn +PORTVERSION= 21.2.1 DISTVERSIONPREFIX= v -CATEGORIES= www python -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +CATEGORIES= www python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= bofh@FreeBSD.org -COMMENT= WebSocket client & server library, WAMP real-time framework +MAINTAINER= bofh@FreeBSD.org +COMMENT= WebSocket client & server library, WAMP real-time framework LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}txaio>=18.8.1:devel/py-txaio@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8.6:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.9.2:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hyperlink>=20.0.1:www/py-hyperlink@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}txaio>=20.4.1:devel/py-txaio@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8.6:devel/py-pytest@${PY_FLAVOR} USES= cpe python:3.5+ -USE_GITHUB= yes -USE_PYTHON= autoplist distutils - CPE_VENDOR= crossbar - +USE_GITHUB= yes GH_ACCOUNT= crossbario GH_PROJECT= autobahn-python +USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= ACCELERATE ENCRYPTION SCRAM SERIALIZATION -OPTIONS_DEFAULT= ASYNCIO ACCELERATE ENCRYPTION SCRAM SERIALIZATION TWISTED - -OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options - +OPTIONS_DEFAULT= ACCELERATE ASYNCIO ENCRYPTION SCRAM SERIALIZATION \ + TWISTED OPTIONS_MULTI= BACKENDS OPTIONS_MULTI_BACKENDS= ASYNCIO TWISTED - -BACKENDS_DESC= Network Backends +OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME}/${FLAVOR}-options ACCELERATE_DESC= C-based WebSocket Acceleration ASYNCIO_DESC= Asyncronous IO Support +BACKENDS_DESC= Network Backends ENCRYPTION_DESC= TLS Transport / Cryptosign Encryption & Authentication SCRAM_DESC= WAMP-SCRAM Authentication support SERIALIZATION_DESC= Serializers (MessagePack, CBOR, UBJSON, Flatbuffers) @@ -47,20 +43,21 @@ TWISTED_DESC= Twisted network backend support ACCELERATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wsaccel>=0.6.2:www/py-wsaccel@${PY_FLAVOR} ENCRYPTION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyqrcode>=1.1:graphics/py-pyqrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytrie>=0.2:devel/py-pytrie@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyqrcode>=1.1:graphics/py-pyqrcode@${PY_FLAVOR} -SCRAM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.11.5:devel/py-cffi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}argon2-cffi>=18.1.0:security/py-argon2-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} +SCRAM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argon2-cffi>=18.1.0:security/py-argon2-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=1.11.5:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>=1.7.1:security/py-passlib@${PY_FLAVOR} -SERIALIZATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.6.1:devel/py-msgpack@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ujson>=1.35:devel/py-ujson@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cbor2>=4.1.2:devel/py-cbor2@${PY_FLAVOR} \ +SERIALIZATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cbor2>=5.0.1:devel/py-cbor2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cbor>=1.0.0:devel/py-cbor@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flatbuffers>=1.10:devel/py-flatbuffers@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}msgpack>=0.6.1:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}py-ubjson>=0.8.4:devel/py-py-ubjson@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}flatbuffers>=1.10:devel/py-flatbuffers@${PY_FLAVOR} -TWISTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=12.1.0:devel/py-twisted@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ujson>=1.35:devel/py-ujson@${PY_FLAVOR} +TWISTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}twisted>=20.3.0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6.0:devel/py-zope.interface@${PY_FLAVOR} .include diff --git a/www/py-autobahn/distinfo b/www/py-autobahn/distinfo index 6767a47fad83..0a76657e8c56 100644 --- a/www/py-autobahn/distinfo +++ b/www/py-autobahn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1558187547 -SHA256 (crossbario-autobahn-python-v19.5.1_GH0.tar.gz) = ab08651ce0fd4f748527b7820c79d2ef6960804f3a6b13c6c72ee4d276418fd3 -SIZE (crossbario-autobahn-python-v19.5.1_GH0.tar.gz) = 1412835 +TIMESTAMP = 1646891739 +SHA256 (crossbario-autobahn-python-v21.2.1_GH0.tar.gz) = f108ed2e96a22a9ddc821f6eb580a6b076780f78f30694f483a2c6c176b2f825 +SIZE (crossbario-autobahn-python-v21.2.1_GH0.tar.gz) = 2700279 diff --git a/www/py-autobahn/files/patch-setup.py b/www/py-autobahn/files/patch-setup.py index 4c738938c55a..6c7fcf8c1845 100644 --- a/www/py-autobahn/files/patch-setup.py +++ b/www/py-autobahn/files/patch-setup.py @@ -1,18 +1,26 @@ ---- setup.py.orig 2016-01-24 16:10:22 UTC +--- setup.py.orig 2022-03-10 14:28:18 UTC +++ setup.py -@@ -32,12 +32,9 @@ import platform - from setuptools import setup - from setuptools.command.test import test as test_command - --# remember if we already had six _before_ installation +@@ -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: -- import six # noqa -- _HAD_SIX = True +- from twisted.internet import reactor +- print("Twisted found (default reactor is {0})".format(reactor.__class__)) -except ImportError: -- _HAD_SIX = False -+# We don't want this package to regenerate the Twisted dropin.cache -+# as it creates a filesystem violation by writing outside of STAGEDIR -+_HAD_SIX = False - - CPY = platform.python_implementation() == 'CPython' - PY3 = sys.version_info >= (3,) +- # 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.") diff --git a/www/py-autobahn/pkg-descr b/www/py-autobahn/pkg-descr index 24e8054f424e..b63d0fa89e7b 100644 --- a/www/py-autobahn/pkg-descr +++ b/www/py-autobahn/pkg-descr @@ -11,4 +11,4 @@ WebSocket allows bidirectional real-time messaging on the Web and WAMP adds asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. -WWW: http://autobahn.ws/python +WWW: https://github.com/crossbario/autobahn-python