diff --git a/textproc/py-sphinx-book-theme/Makefile b/textproc/py-sphinx-book-theme/Makefile index 7bf6387e793e..94d847641ebe 100644 --- a/textproc/py-sphinx-book-theme/Makefile +++ b/textproc/py-sphinx-book-theme/Makefile @@ -1,34 +1,35 @@ PORTNAME= sphinx-book-theme PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI \ LOCAL/sunpoet:static PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= sphinx_book_theme-${PORTVERSION}${EXTRACT_SUFX} \ sphinx_book_theme-${PORTVERSION}-static${EXTRACT_SUFX}:static MAINTAINER= sunpoet@FreeBSD.org COMMENT= Clean book theme for scientific explanations and documentation with Sphinx WWW= https://sphinx-book-theme.readthedocs.io/en/stable/ \ https://github.com/executablebooks/sphinx-book-theme LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.9.0:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydata-sphinx-theme>=0.16.1:textproc/py-pydata-sphinx-theme@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=5.3,1:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=7.0,1:textproc/py-sphinx@${PY_FLAVOR} \ USES= python:3.11+ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes WRKSRC= ${WRKDIR}/sphinx_book_theme-${PORTVERSION} post-patch: @${FIND} ${WRKSRC} -name .gitignore -delete post-install: cd ${WRKDIR}/static/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinx_book_theme/ .include diff --git a/textproc/py-sphinx-book-theme/files/patch-pyproject.toml b/textproc/py-sphinx-book-theme/files/patch-pyproject.toml index e55682cfe8a7..b9ea7d1d4ef0 100644 --- a/textproc/py-sphinx-book-theme/files/patch-pyproject.toml +++ b/textproc/py-sphinx-book-theme/files/patch-pyproject.toml @@ -1,22 +1,11 @@ --- pyproject.toml.orig 2026-03-09 23:19:55 UTC +++ pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["sphinx-theme-builder >= 0.2.0a7"] -build-backend = "sphinx_theme_builder" +requires = ["flit-core >= 3.9.0"] +build-backend = "flit_core.buildapi" [tool.sphinx-theme-builder] node-version = "20.9.0" -@@ -39,8 +39,8 @@ dependencies = [ - - requires-python = ">=3.11" - dependencies = [ -- "sphinx>=7.0", -- "pydata-sphinx-theme==0.16.1" -+ "sphinx>=5.3", -+ "pydata-sphinx-theme>=0.15.4" - ] - - license = { file = "LICENSE" }