summaryrefslogtreecommitdiff
path: root/net-im/py-matrix-synapse
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net-im/py-matrix-synapse/Makefile3
-rw-r--r--net-im/py-matrix-synapse/files/patch-pyproject.toml11
2 files changed, 13 insertions, 1 deletions
diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile
index 2feb5258f2cb..9ed7a151c147 100644
--- a/net-im/py-matrix-synapse/Makefile
+++ b/net-im/py-matrix-synapse/Makefile
@@ -1,5 +1,6 @@
PORTNAME= matrix-synapse
DISTVERSION= 1.138.0
+PORTREVISION= 2
CATEGORIES= net-im python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,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"
+
+