freebsd-ports/textproc/py-sphinx-book-theme/files/patch-pyproject.toml
Po-Chuan Hsieh fc67766bba
textproc/py-sphinx-book-theme: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change

Upstream builds this port with sphinx-theme-builder. However, it does not work
on FreeBSD yet since the nodeenv would try to download pre-built node.js binary
executable which is unavailable for FreeBSD. Therefore, I use flit-core with
pre-built static files instead.
2024-09-09 02:37:48 +08:00

11 lines
317 B
TOML

--- pyproject.toml.orig 2024-06-12 14:08:03 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 = "16.13.2"