git: 52b46cb1140d - main - devel/py-unidep: Use PY_TOMLI

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 14 Oct 2024 05:29:10 UTC
The branch main has been updated by sunpoet:

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

commit 52b46cb1140d3a275e97c6d270b8ef0da3e1c1ca
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-14 04:50:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-14 05:25:40 +0000

    devel/py-unidep: Use PY_TOMLI
---
 devel/py-unidep/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/devel/py-unidep/Makefile b/devel/py-unidep/Makefile
index 228ee8d825ab..e6029214c557 100644
--- a/devel/py-unidep/Makefile
+++ b/devel/py-unidep/Makefile
@@ -29,11 +29,6 @@ RICH_DESC=		Help formatter via rich
 
 PIP_COMPILE_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}pip-tools>=0:devel/py-pip-tools@${PY_FLAVOR}
 RICH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rich-argparse>=0:devel/py-rich-argparse@${PY_FLAVOR}
+TOML_RUN_DEPENDS=	${PY_TOMLI}
 
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MTOML} && ${PYTHON_REL} < 31100
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>