git: d1926a557daf - main - net-im/py-matrix-synapse: Fix build by removing the upper limit on devel/py-setuptools-rust dependency

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 12 Apr 2025 19:47:43 UTC
The branch main has been updated by yuri:

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

commit d1926a557daf114a180ec1fadd8327d1a20b9fdc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-04-12 19:47:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-04-12 19:47:07 +0000

    net-im/py-matrix-synapse: Fix build by removing the upper limit on devel/py-setuptools-rust dependency
---
 net-im/py-matrix-synapse/Makefile                   | 2 +-
 net-im/py-matrix-synapse/files/patch-pyproject.toml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index 637a11876bf1..3f9d774afda9 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -14,7 +14,7 @@ LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE-AGPL-3.0
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<2.1.1_99:devel/py-poetry-core@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3<1.10.2_99:devel/py-setuptools-rust@${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} \
 		${PYTHON_PKGNAMEPREFIX}immutabledict>=2.0:devel/py-immutabledict@${PY_FLAVOR} \
diff --git a/net-im/py-matrix-synapse/files/patch-pyproject.toml b/net-im/py-matrix-synapse/files/patch-pyproject.toml
index 2857504b7fe5..3abee3777e9f 100644
--- a/net-im/py-matrix-synapse/files/patch-pyproject.toml
+++ b/net-im/py-matrix-synapse/files/patch-pyproject.toml
@@ -1,11 +1,11 @@
---- pyproject.toml.orig	2025-02-23 20:55:48 UTC
+--- pyproject.toml.orig	2025-02-25 15:41:12 UTC
 +++ pyproject.toml
 @@ -370,7 +370,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,<=1.9.1", "setuptools_rust>=1.3,<=1.10.2"]
-+requires = ["poetry-core>=1.1.0,<=2.1.1", "setuptools_rust>=1.3,<=1.10.2"]
++requires = ["poetry-core>=1.1.0,<=2.1.1", "setuptools_rust>=1.3"]
  build-backend = "poetry.core.masonry.api"