git: 3adb14bc1f82 - main - net-im/py-matrix-synapse: Update to 1.116.0

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Thu, 03 Oct 2024 21:30:01 UTC
The branch main has been updated by ashish:

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

commit 3adb14bc1f82b4cc5bf952603e7b6266ce4a0d75
Author:     Sascha Biberhofer <ports@skyforge.at>
AuthorDate: 2024-10-03 21:03:41 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-10-03 21:28:10 +0000

    net-im/py-matrix-synapse: Update to 1.116.0
    
    - Add shebangfix for the CLI scripts
    - Switch to pep517 from distutils
    
    PR:             281836
---
 net-im/py-matrix-synapse/Makefile        | 11 ++++++-----
 net-im/py-matrix-synapse/Makefile.crates | 10 +++++-----
 net-im/py-matrix-synapse/distinfo        | 26 +++++++++++++-------------
 3 files changed, 24 insertions(+), 23 deletions(-)

diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index 8223344ba45f..aba02a49a424 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	matrix-synapse
-DISTVERSION=	1.115.0
+DISTVERSION=	1.116.0
 CATEGORIES=	net-im python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -53,8 +53,8 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_F
 		${PYTHON_PKGNAMEPREFIX}authlib>=0.15.1:security/py-authlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR}
 
-USES=		cargo python
-USE_PYTHON=	autoplist cryptography distutils
+USES=		cargo python shebangfix
+USE_PYTHON=	autoplist cryptography pep517
 USE_RC_SUBR=	synapse
 WRKSRC=		${WRKDIR}/${PORTNAME:S/-/_/}-${DISTVERSION}
 CARGO_CONFIGURE=	yes
@@ -63,6 +63,7 @@ CARGO_TEST=	no
 CARGO_INSTALL=	no
 CARGO_CARGOTOML=	${WRKSRC}/rust/Cargo.toml
 
+SHEBANG_FILES=	synapse/_scripts/*.py
 SUB_FILES=	pkg-message log.config
 SUB_LIST=	PYTHON_CMD=${PYTHON_CMD} DBDIR=${DBDIR} LOGDIR=${LOGDIR} PIDDIR=${PIDDIR} USERS=${USERS}
 
@@ -73,8 +74,8 @@ DBDIR?=		/var/db/${PORTNAME}
 LOGDIR?=	/var/log/${PORTNAME}
 PIDDIR?=	/var/run/${PORTNAME}
 
-PLIST_FILES=	"@sample ${ETCDIR}/log.config.sample" \
-		%%PYTHON_SITELIBDIR%%/synapse/synapse_rust.abi3.so
+PLIST_FILES=	"@sample ${ETCDIR}/log.config.sample"
+
 DOCS=		README.rst UPGRADE.rst CHANGES.md docs/postgres.md
 PORTDOCS=	${DOCS:T}
 
diff --git a/net-im/py-matrix-synapse/Makefile.crates b/net-im/py-matrix-synapse/Makefile.crates
index e5040132b40e..17488e028ee8 100644
--- a/net-im/py-matrix-synapse/Makefile.crates
+++ b/net-im/py-matrix-synapse/Makefile.crates
@@ -1,5 +1,5 @@
 CARGO_CRATES=	aho-corasick-1.1.3 \
-		anyhow-1.0.86 \
+		anyhow-1.0.89 \
 		arc-swap-1.7.1 \
 		autocfg-1.3.0 \
 		base64-0.21.7 \
@@ -7,7 +7,7 @@ CARGO_CRATES=	aho-corasick-1.1.3 \
 		blake2-0.10.6 \
 		block-buffer-0.10.4 \
 		bumpalo-3.16.0 \
-		bytes-1.7.1 \
+		bytes-1.7.2 \
 		cfg-if-1.0.0 \
 		cpufeatures-0.2.12 \
 		crypto-common-0.1.6 \
@@ -54,9 +54,9 @@ CARGO_CRATES=	aho-corasick-1.1.3 \
 		regex-syntax-0.8.3 \
 		ryu-1.0.18 \
 		scopeguard-1.2.0 \
-		serde-1.0.209 \
-		serde_derive-1.0.209 \
-		serde_json-1.0.127 \
+		serde-1.0.210 \
+		serde_derive-1.0.210 \
+		serde_json-1.0.128 \
 		sha1-0.10.6 \
 		sha2-0.10.8 \
 		smallvec-1.13.2 \
diff --git a/net-im/py-matrix-synapse/distinfo b/net-im/py-matrix-synapse/distinfo
index eba61634a3d6..1d545e17af22 100644
--- a/net-im/py-matrix-synapse/distinfo
+++ b/net-im/py-matrix-synapse/distinfo
@@ -1,10 +1,10 @@
-TIMESTAMP = 1727722350
-SHA256 (matrix_synapse-1.115.0.tar.gz) = cf96816e0a957187273c4055f0f18e90eb935d2c32151e6ae4f837fb29bda1d3
-SIZE (matrix_synapse-1.115.0.tar.gz) = 3653097
+TIMESTAMP = 1727887957
+SHA256 (matrix_synapse-1.116.0.tar.gz) = 545fd46d1cf0c4ec322e09dbdcd15667f69f50c542621e2c66d220c1b37fffe4
+SIZE (matrix_synapse-1.116.0.tar.gz) = 3684897
 SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
 SIZE (rust/crates/aho-corasick-1.1.3.crate) = 183311
-SHA256 (rust/crates/anyhow-1.0.86.crate) = b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da
-SIZE (rust/crates/anyhow-1.0.86.crate) = 46741
+SHA256 (rust/crates/anyhow-1.0.89.crate) = 86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6
+SIZE (rust/crates/anyhow-1.0.89.crate) = 47078
 SHA256 (rust/crates/arc-swap-1.7.1.crate) = 69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457
 SIZE (rust/crates/arc-swap-1.7.1.crate) = 68512
 SHA256 (rust/crates/autocfg-1.3.0.crate) = 0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0
@@ -19,8 +19,8 @@ SHA256 (rust/crates/block-buffer-0.10.4.crate) = 3078c7629b62d3f0439517fa394996a
 SIZE (rust/crates/block-buffer-0.10.4.crate) = 10538
 SHA256 (rust/crates/bumpalo-3.16.0.crate) = 79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c
 SIZE (rust/crates/bumpalo-3.16.0.crate) = 85677
-SHA256 (rust/crates/bytes-1.7.1.crate) = 8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50
-SIZE (rust/crates/bytes-1.7.1.crate) = 63623
+SHA256 (rust/crates/bytes-1.7.2.crate) = 428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3
+SIZE (rust/crates/bytes-1.7.2.crate) = 64287
 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
 SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
 SHA256 (rust/crates/cpufeatures-0.2.12.crate) = 53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504
@@ -113,12 +113,12 @@ SHA256 (rust/crates/ryu-1.0.18.crate) = f3cb5ba0dc43242ce17de99c180e96db90b235b8
 SIZE (rust/crates/ryu-1.0.18.crate) = 47713
 SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49
 SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619
-SHA256 (rust/crates/serde-1.0.209.crate) = 99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09
-SIZE (rust/crates/serde-1.0.209.crate) = 78364
-SHA256 (rust/crates/serde_derive-1.0.209.crate) = a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170
-SIZE (rust/crates/serde_derive-1.0.209.crate) = 56023
-SHA256 (rust/crates/serde_json-1.0.127.crate) = 8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad
-SIZE (rust/crates/serde_json-1.0.127.crate) = 149465
+SHA256 (rust/crates/serde-1.0.210.crate) = c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a
+SIZE (rust/crates/serde-1.0.210.crate) = 78338
+SHA256 (rust/crates/serde_derive-1.0.210.crate) = 243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f
+SIZE (rust/crates/serde_derive-1.0.210.crate) = 56020
+SHA256 (rust/crates/serde_json-1.0.128.crate) = 6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8
+SIZE (rust/crates/serde_json-1.0.128.crate) = 149520
 SHA256 (rust/crates/sha1-0.10.6.crate) = e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba
 SIZE (rust/crates/sha1-0.10.6.crate) = 13517
 SHA256 (rust/crates/sha2-0.10.8.crate) = 793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8