From nobody Thu Aug 15 11:56:25 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wl3Vz4hs6z5TVtw; Thu, 15 Aug 2024 11:56:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wl3Vx6BdMz43BB; Thu, 15 Aug 2024 11:56:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723722986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i3XIex3mOZWXMogb66ScdwieMGRzVLu2nqMUL63RGRo=; b=JfZY67JKYOg2SzKeF8PAzDRa4tk2nDwZb7a0LPPHQmJdRPTA886DysihZKFyfNpjoigbOS OCikHFkHT+6ABBaBBnDOJhYK/uMfnUKjIOWTnyKtf3xzhlfUfu9khujvNsN8hETmpWPYpV eWitUxCWvfFV9cbb+Dc5kehSC67W30BSGwrvYJU4bDF3bJgX/qfnPUyPFIQaU7RpaTzJto 7MVrjwKGyChM788ugOKwo+q5JzGbLLoYWfKa9aw3MICwcttyd/hk3QXPJ7x1756hTdMuKG 3Qccz4+4Gi4/v4bYiP5lNohjv8t8rrjYdGYdC/S/kr7wy6Lur3zlb4rCiF1Gjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723722986; a=rsa-sha256; cv=none; b=v4PuJWgBsXmvBJfY4VRcbBl5skq5vdsM+PvckuDnmgb9Yq5eyQZ07LTfk9L3GexAyRqM3X iTjEIpwlEWdYwjIwz3VL4B+jkFGnWVxLvfnuqEmap9vCFVQ4q/+hh8svzYGLQJWlhNmS0W 45TVO3uCYbamxpDTcttWXM5TOWComH+FMXcMGy6OA0cu0aweluZWnuABAIQdI8GrynpgPi Lpc13dYfNycsD9LxJ77bYbMj507yOkL+wDGNlLDMBbK9LRb1CgbB7JNwETWqWmbiBRqLpF dxyz36Hi1h0d1PG9HZxixu67BOfxzg9Ni+HpTEJvn66Bud6RqMgsThqKTkmCnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723722986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i3XIex3mOZWXMogb66ScdwieMGRzVLu2nqMUL63RGRo=; b=ltw1J+deVwc+qQsAZWas36dW0G6vp4l/X8hEtQz74jtbg/0DrkFwi2C1x+HG3Jk5KzXXRL RkcfZoP4m7YD+RUVWyZlszXM633lQev00f8jF8I0fPSLFeVmkC+6JdmRSiaOIn7vikv26T XLFHS7KqTbaXLLUwh7Yu3fBZM16z+Xuf7jsPCAlrX3d1wq1bDjt5Bfim2xjT2vkhMsFzhY KQ8gAkgJNQkNQQtaXk57/PTEegNKYJmoR3eGikBqLPXQ19zQtTk7uSDIkoT3SiJXh/57cQ uMAkKNPIQ7O9XEmKfsnoPfBrtUvqLJzpf2E2AYFwPDBbwwofyW6xUa9TuC5QVg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wl3Vx5QYSzMQf; Thu, 15 Aug 2024 11:56:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47FBuPRp060956; Thu, 15 Aug 2024 11:56:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47FBuPLU060953; Thu, 15 Aug 2024 11:56:25 GMT (envelope-from git) Date: Thu, 15 Aug 2024 11:56:25 GMT Message-Id: <202408151156.47FBuPLU060953@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 03ba8625d5f1 - main - net-im/py-matrix-synapse: Allow build with py-setuptools-rust 1.10.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03ba8625d5f1c82809f0e6e560c8eb0a4e3af39d Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=03ba8625d5f1c82809f0e6e560c8eb0a4e3af39d commit 03ba8625d5f1c82809f0e6e560c8eb0a4e3af39d Author: Po-Chuan Hsieh AuthorDate: 2024-08-15 09:47:00 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-15 11:47:43 +0000 net-im/py-matrix-synapse: Allow build with py-setuptools-rust 1.10.1 - While I'm here, fix BUILD_DEPENDS usage Note that <=x.y.z is vulnerable because it's broken when the port got bumped for whatever reasons. Approved by: portmgr (blanket) With hat: python --- net-im/py-matrix-synapse/Makefile | 4 ++-- net-im/py-matrix-synapse/files/patch-pyproject.toml | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/net-im/py-matrix-synapse/Makefile b/net-im/py-matrix-synapse/Makefile index 541267021de1..91353d08ef2c 100644 --- a/net-im/py-matrix-synapse/Makefile +++ b/net-im/py-matrix-synapse/Makefile @@ -12,8 +12,8 @@ WWW= https://www.matrix.org LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<=1.9.0:devel/py-poetry-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3<=1.9.0:devel/py-setuptools-rust@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0<1.9.0_99:devel/py-poetry-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=1.3<1.10.1_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} \ ${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 e969fb13fa8a..d159eaa17a38 100644 --- a/net-im/py-matrix-synapse/files/patch-pyproject.toml +++ b/net-im/py-matrix-synapse/files/patch-pyproject.toml @@ -17,3 +17,12 @@ # This is used for parsing multipart responses python-multipart = ">=0.0.9" +@@ -372,7 +362,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.0", "setuptools_rust>=1.3,<=1.8.1"] ++requires = ["poetry-core>=1.1.0,<=1.9.0", "setuptools_rust>=1.3,<=1.10.1"] + build-backend = "poetry.core.masonry.api" + +