From nobody Sun Dec 17 21:19:30 2023 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 4StbSM19W6z54GyM; Sun, 17 Dec 2023 21:19:31 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4StbSL5q79z4cyM; Sun, 17 Dec 2023 21:19:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702847970; 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=LJvf0YTULwDB727CGA/RuLKs7eBvBlmiC+JnlWXJlS8=; b=UbgEigmGXxPNEkQ4EWZFO5YxZOxzgmvfQ3sMGvzPRLk/l5u3oW6Edibd66jMv2O6Aw9DXk BNqL8WnEY1yc9dXZ5+pzr3glp1UL+jEpCxFhCxVXQm1TlM9MRCT5TpARhmtyeJgJybDnl/ Sj5UWysbJA1EUqKnDCCJFUv4De0Xq6bWr7yMVvCgW+q9O1okHTU7d8l8w+P1r8PPbK/Efx TveUDhJJZRXbBrI2TM6nGqwyVFU8Cpu/NLK1ccthc4+xsSNX9BDTuKkVdgrbLy/GhsnpBl aw0XwV6fsrydiE2J/RrTe43Z4ERzpvd2/NkcxfnnRqFXX0FwNzTAu1jXXtBS+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702847970; a=rsa-sha256; cv=none; b=oP5AKpSNsvgivlkynKE+w6mg78Yz5DMgHAeBGonEUQtrg9zkZ1zVmvgmLdeVumGsmG4ZJV uIHbLXBKE3MUrD/I5oRoJyz3+JZYB9uTYOPv+6vyq/sDWhyvBR+aWZS0r4KvDdCEPyfVNk YP7bjDMA+9nNH947ygiLd9LgAa3YbM/2M+WQlEEac1ML/qy5PangK3NST9+6GYNn3CX34B PkJ9STUmsliAgxH2PkN0E0CJJD1dxKaCuy5myhFUFfSz610RNNjJGKpkIkIe3+kjIbuGEH kKhRPvrargr+2jjsuaKhhJa6GWzR7Y6Xq38IrXVI2NaGBmMP/pzYfg9h+0hjPQ== 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=1702847970; 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=LJvf0YTULwDB727CGA/RuLKs7eBvBlmiC+JnlWXJlS8=; b=a893IDjORRaVvYy3h6PBCPinNeNEZwLxLmBAN1O4bAFR3hiF8PeEm33mpMRvQHlT5gcFGQ kjcRag63FpmhoCVn07j5kYf+TrLGa1IryhuVs+3CYW1r3IMea6TozBSswCvaIWXuVk0hpr xVYQHfJnq4jGgQ340zu2VA5KTyWKNcLaZ6REH3iZvifbF4kxCBVO4MlxBPSMbtPO7m2ECA +5UZFubMQe8Kq1pQvF5qO4hBFyinGtaA8If1SjP971WvdJlTFW0cIa6Rt344kLF+9FkOGB rMKciRhMKu4rzLcereMLnY8GMKHlFCpZl3rAUP90lucRJTKF8giELqo6415fYQ== 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 4StbSL4vWMztGk; Sun, 17 Dec 2023 21:19:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BHLJU7K078439; Sun, 17 Dec 2023 21:19:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BHLJU8G078436; Sun, 17 Dec 2023 21:19:30 GMT (envelope-from git) Date: Sun, 17 Dec 2023 21:19:30 GMT Message-Id: <202312172119.3BHLJU8G078436@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: b3f1221aa9b8 - main - net/py-trio: Use pep517 macro instead of dummy setup.py 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b3f1221aa9b8eb4ce326098f2d51069440cb8d61 Auto-Submitted: auto-generated The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3f1221aa9b8eb4ce326098f2d51069440cb8d61 commit b3f1221aa9b8eb4ce326098f2d51069440cb8d61 Author: Emanuel Haupt AuthorDate: 2023-12-17 21:18:36 +0000 Commit: Emanuel Haupt CommitDate: 2023-12-17 21:19:27 +0000 net/py-trio: Use pep517 macro instead of dummy setup.py Notified by: vishwin --- net/py-trio/Makefile | 7 +++++-- net/py-trio/files/patch-pyproject.toml | 9 +++++++++ net/py-trio/files/patch-setup.py | 6 ------ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/net/py-trio/Makefile b/net/py-trio/Makefile index a0c77715719f..8e83e745ef9b 100644 --- a/net/py-trio/Makefile +++ b/net/py-trio/Makefile @@ -1,5 +1,6 @@ PORTNAME= trio -PORTVERSION= 0.23.2 +DISTVERSION= 0.23.2 +PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,6 +14,8 @@ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE2 LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.MIT +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}async_generator>0:devel/py-async_generator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cffi>=1.14:devel/py-cffi@${PY_FLAVOR} \ @@ -29,7 +32,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astor>=0:devel/py-astor@${PY_FLAVOR} \ # 3.6+ but contextvars comes with 3.7 USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 NO_ARCH= yes diff --git a/net/py-trio/files/patch-pyproject.toml b/net/py-trio/files/patch-pyproject.toml new file mode 100644 index 000000000000..6d2e67d9e4cc --- /dev/null +++ b/net/py-trio/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2023-12-14 02:37:27 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools >= 64"] ++requires = ["setuptools >= 63"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/net/py-trio/files/patch-setup.py b/net/py-trio/files/patch-setup.py deleted file mode 100644 index 130806a8f6f1..000000000000 --- a/net/py-trio/files/patch-setup.py +++ /dev/null @@ -1,6 +0,0 @@ ---- setup.py.orig 2022-11-12 09:41:13 UTC -+++ setup.py -@@ -0,0 +1,3 @@ -+import setuptools -+if __name__ == "__main__": -+ setuptools.setup(use_scm_version=False)