From nobody Mon Apr 25 13:09:55 2022 X-Original-To: dev-commits-ports-all@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 D10761A93FCA; Mon, 25 Apr 2022 13:09:55 +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 4Kn52q5VW7z4l0C; Mon, 25 Apr 2022 13:09:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650892195; 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=NDC5ZF9AZ40VCaGez94Ec0uanz7Njm4E5L51kpP49fg=; b=agnzHKriNTQgfoK1gCet3Syvb5AWq677GMiIfBMDap8KWqRqoMXdVCgSMARleZdy/SLTYl OJY3F+30GpjuUYtZJpNDcwH0I3KtXWQZn/wFu0OBa1SnyaVGYD75MoNuUsZ4dg+0gYT0XG W6b0OXvt9gzAKvo1NvpvHRUT5QBU+MTm1V1ozJQjNzSogeYEYD+NiHu+I0R8qXC95y9uTk OMz0JhWjyBUwBl9HDvL+whCCkEyJmBuLfBdJHpWzuKuKid28EKyQ9JDRHCjY/JOIn6zwjz O3YYSeiDNUEPuF9xcX9YTjdttRv8KuC/uiovGOm2qlrX9UIVzW/4fl/J/uVUvg== 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 9C8B71B55F; Mon, 25 Apr 2022 13:09:55 +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 23PD9tEE024713; Mon, 25 Apr 2022 13:09:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23PD9tY6024712; Mon, 25 Apr 2022 13:09:55 GMT (envelope-from git) Date: Mon, 25 Apr 2022 13:09:55 GMT Message-Id: <202204251309.23PD9tY6024712@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ashish SHUKLA Subject: git: 45f1b936769d - main - net-im/py-matrix-synapse: Update to 1.57.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ashish X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45f1b936769d8038de890dda01ce7986a94bbbe6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650892195; 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=NDC5ZF9AZ40VCaGez94Ec0uanz7Njm4E5L51kpP49fg=; b=vdtV1762Qngo9pvgh8jYcX29qb4tKWPqIfLyPkrnS59yFOGHOKua7GlqDOIz6czTmAj4ub MBB39DB+hTqmHovj8b2AsHYeslOx7UARIR+xtpJtng68KamESSMmryIbvgy2flJA+kD0fF QDu0jaTItVHSLvGu8Q9LWi8X8TbU57pQSu8NtMlzHL12f8Dsu/YK7Ajadc7o/bVvVVU+qX 8XSlszazhq/sF+za63dnW11Q58RowdJY/X3Ako0apOiyB+gGnJj07+XJ0t47WxAevp30j4 Zjnca8HxZ+qVrhfwDKAJ0IVk0CYs8vJb3RRuU5uBW7579XPPtuf8H9p3qj40SQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650892195; a=rsa-sha256; cv=none; b=DGRF3RSABN1/GIaWz5+zNJcLlHwDOIN0yx2ZLPCCcTmYQxOCPTfpQVC2rUabW5oHh73P/+ SCG1EUDcvyaSyrRAnAh0J2+GoZfShp1nP2OWQvgz9z/tAO32mbUmTPbPFX/XiTzLlvvNXj 4VM/d/etGwS3mvDfE1UEQ00K726pdj3D0QSk+nqkGkHBmwFhBDpMd/NamVAfOw85z+/Q1I +0rDozPzf2JrFFX5CBfCxLniPVq/OGpgRF0DMa1jPOb6Sy97phqdQAcmljttb8QKhDP29r j11eRLM4xmfP8NHq959o9n+CTcXLvotBXu55wNU9xUJqCtufA82YIXpxKEXyhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=45f1b936769d8038de890dda01ce7986a94bbbe6 commit 45f1b936769d8038de890dda01ce7986a94bbbe6 Author: Ashish SHUKLA AuthorDate: 2022-04-20 00:25:26 +0000 Commit: Ashish SHUKLA CommitDate: 2022-04-25 13:05:56 +0000 net-im/py-matrix-synapse: Update to 1.57.1 - Move py-idna dependency to TEST_DEPENDS - Add a dependency for Python < 3.8 PR: 263430 Approved by: Sascha Biberhofer (maintainer) --- net-im/py-matrix-synapse/Makefile | 15 +++++++++++---- net-im/py-matrix-synapse/distinfo | 6 +++--- .../files/patch-synapse_python__dependencies.py | 13 ++----------- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile index e8df48627d0e..47fbe7aba7a2 100644 --- a/net-im/py-matrix-synapse/Makefile +++ b/net-im/py-matrix-synapse/Makefile @@ -2,7 +2,7 @@ PORTNAME= matrix-synapse DISTVERSIONPREFIX= v -DISTVERSION= 1.56.0 +DISTVERSION= 1.57.1 CATEGORIES= net-im python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,7 +19,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_F ${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.4.0:devel/py-canonicaljson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}signedjson>=1.1.0:security/py-signedjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.2.1:security/py-pynacl@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=18.9.0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}treq>=15.1:www/py-treq@${PY_FLAVOR} \ @@ -50,7 +49,8 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_F ${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}parameterized>=0.7.0:devel/py-parameterized@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}authlib>=0.14.0:security/py-authlib@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}authlib>=0.14.0:security/py-authlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} USES= python:3.7+ USE_GITHUB= yes @@ -89,6 +89,13 @@ REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_F SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.0:devel/py-lxml@${PY_FLAVOR} +.include + +# Dependency required by Python < 3.8 +.if (${PYTHON_REL} < 30800) +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.4:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample @@ -100,4 +107,4 @@ post-install-DOCS-on: do-test: cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests -.include +.include diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo index 8bc7e3151a6f..d0ba9224cbf1 100644 --- a/net-im/py-matrix-synapse/distinfo +++ b/net-im/py-matrix-synapse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1649590803 -SHA256 (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7afda1fefa2af42966fdffa1f3ab6643674a738ad722e76bf94b873b8845c373 -SIZE (matrix-org-synapse-v1.56.0_GH0.tar.gz) = 7750479 +TIMESTAMP = 1650652816 +SHA256 (matrix-org-synapse-v1.57.1_GH0.tar.gz) = 07926e1601bd2973ea16baabd41268939ceeb90f6a8c98b31a3610de61dc5ad1 +SIZE (matrix-org-synapse-v1.57.1_GH0.tar.gz) = 7834623 diff --git a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py index 7feafa7bbf66..2cace56065f0 100644 --- a/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py +++ b/net-im/py-matrix-synapse/files/patch-synapse_python__dependencies.py @@ -1,15 +1,6 @@ ---- synapse/python_dependencies.py.orig 2022-04-12 08:11:46 UTC +--- synapse/python_dependencies.py.orig 2022-04-20 00:17:17 UTC +++ synapse/python_dependencies.py -@@ -48,7 +48,7 @@ REQUIREMENTS = [ - "unpaddedbase64>=1.1.0", - "canonicaljson>=1.4.0", - # we use the type definitions added in signedjson 1.1. -- "signedjson>=1.1.0,<=1.1.1", -+ "signedjson>=1.1.0", - "pynacl>=1.2.1", - "idna>=2.5", - # validating SSL certs for IP addresses requires service_identity 18.1. -@@ -83,7 +83,7 @@ REQUIREMENTS = [ +@@ -82,7 +82,7 @@ REQUIREMENTS = [ "typing-extensions>=3.10.0", # We enforce that we have a `cryptography` version that bundles an `openssl` # with the latest security patches.