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)
2023Q4
Yasuhiro Kimura 2023-09-05 17:22:30 +09:00
parent d6a3f2d0eb
commit c404b33322
1 changed files with 1 additions and 1 deletions

View File

@ -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} \