git: a28938f4d2c7 - main - net-im/py-matrix-synapse: Allow build with py-poetry-core 2.2.1 and py-setuptools-rust 1.12.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Oct 2025 06:34:43 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a28938f4d2c786e1828754125e0070d5fb1823d3
commit a28938f4d2c786e1828754125e0070d5fb1823d3
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-13 06:26:11 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-13 06:26:11 +0000
net-im/py-matrix-synapse: Allow build with py-poetry-core 2.2.1 and py-setuptools-rust 1.12.0
- Bump PORTREVISION for package change
Approved by: portmgr (blanket)
With hat: python
---
net-im/py-matrix-synapse/Makefile | 4 ++--
net-im/py-matrix-synapse/files/patch-pyproject.toml | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index 97efcc7e0634..9ed7a151c147 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -1,6 +1,6 @@
PORTNAME= matrix-synapse
DISTVERSION= 1.138.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ WWW= https://element-hq.github.io/synapse
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE-AGPL-3.0
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<2.1.3_99:devel/py-poetry-core@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0:devel/py-poetry-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3:devel/py-setuptools-rust@${PY_FLAVOR}
# Keep the RUN_DEPENDS layout similar to the pyproject.toml file
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.0:devel/py-jsonschema@${PY_FLAVOR} \
diff --git a/net-im/py-matrix-synapse/files/patch-pyproject.toml b/net-im/py-matrix-synapse/files/patch-pyproject.toml
new file mode 100644
index 000000000000..60073bdbc6bb
--- /dev/null
+++ b/net-im/py-matrix-synapse/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 1970-01-01 00:00:00 UTC
++++ pyproject.toml
+@@ -373,7 +373,7 @@ tomli = ">=1.2.3"
+ # runtime errors caused by build system changes.
+ # We are happy to raise these upper bounds upon request,
+ # provided we check that it's safe to do so (i.e. that CI passes).
+-requires = ["poetry-core>=1.1.0,<=2.1.3", "setuptools_rust>=1.3,<=1.11.1"]
++requires = ["poetry-core>=1.1.0", "setuptools_rust>=1.3"]
+ build-backend = "poetry.core.masonry.api"
+
+