Created attachment 244653 [details] Patch file In Sphinx-5.3.0/pyproject.toml build system is specified as following. [build-system] requires = ["flit_core>=3.7"] build-backend = "flit_core.buildapi" I confirmed build succeeds with devel/py-flit-core as BUILD_DEPENDS. And it also reduces the number of packages that are required as build dependencies.
Thanks for the catch! py-flit should not be used as BUILD_DEPENDS. And this port uses the correct one (py-flit-core). I'm working on the fix for the ports using py-flit or py-poetry as BUILD_DEPENDS.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c404b33322488974e748f4fa85f1a99f2068f79d commit c404b33322488974e748f4fa85f1a99f2068f79d Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2023-09-05 08:22:30 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2023-09-06 06:17:14 +0000 textproc/py-sphinx: Switch to use flit-core as build system In Sphinx-5.3.0/pyproject.toml build system is specified as following. [build-system] requires = ["flit_core>=3.7"] build-backend = "flit_core.buildapi" I confirmed build succeeds with devel/py-flit-core as BUILD_DEPENDS. And it also reduces the number of packages that are required as build dependencies. PR: 273577 Approved by: sunpoet (python, maintainer) textproc/py-sphinx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)