aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-13 06:26:11 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-13 06:26:11 +0000
commita28938f4d2c786e1828754125e0070d5fb1823d3 (patch)
tree343850084e7c3c46f4c54f567aa62069a197a8e9
parent951aab18934a3512e8f77726e9081d0810f132e8 (diff)
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
-rw-r--r--net-im/py-matrix-synapse/Makefile4
-rw-r--r--net-im/py-matrix-synapse/files/patch-pyproject.toml11
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"
+
+