net-im/py-matrix-synapse: Allow build with py-poetry-core 2.0.1

- Bump PORTREVISION for package change

Approved by:	portmgr (blanket)
With hat:	python
This commit is contained in:
Po-Chuan Hsieh 2025-02-03 23:39:48 +08:00
parent e9f9830bd9
commit b390108e14
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= matrix-synapse
DISTVERSION= 1.120.2
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
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<1.9.1_99:devel/py-poetry-core@${PY_FLAVOR} \
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<2.0.1_99:devel/py-poetry-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3<1.10.2_99: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} \

View file

@ -1,4 +1,4 @@
--- pyproject.toml.orig 2024-07-16 11:51:30 UTC
--- pyproject.toml.orig 2024-12-03 16:00:50 UTC
+++ pyproject.toml
@@ -215,16 +215,6 @@ pydantic = ">=1.7.4, <3"
# See https://github.com/matrix-org/synapse/issues/15858
@ -17,12 +17,12 @@
# This is used for parsing multipart responses
python-multipart = ">=0.0.9"
@@ -372,7 +362,7 @@ tomli = ">=1.2.3"
@@ -370,7 +360,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.8.1"]
+requires = ["poetry-core>=1.1.0,<=1.9.1", "setuptools_rust>=1.3,<=1.10.2"]
+requires = ["poetry-core>=1.1.0,<=2.0.1", "setuptools_rust>=1.3,<=1.10.2"]
build-backend = "poetry.core.masonry.api"