git: c404b3332248 - main - textproc/py-sphinx: Switch to use flit-core as build system
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Sep 2023 06:18:41 UTC
The branch main has been updated by yasu:
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(-)
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index aa4fe1ed86df..3c5e5d2ff7be 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -18,7 +18,7 @@ WWW= https://www.sphinx-doc.org/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit>=3.7:devel/py-flit@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.7:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>=0:textproc/py-sphinxcontrib-applehelp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinxcontrib-devhelp>=0:textproc/py-sphinxcontrib-devhelp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinxcontrib-jsmath>=0:textproc/py-sphinxcontrib-jsmath@${PY_FLAVOR} \