From 72422e1fcd78765ed8c773da55ede598f7d5163a Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 9 Sep 2024 02:21:21 +0800 Subject: textproc/py-pydata-sphinx-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. --- textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml (limited to 'textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml') diff --git a/textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml b/textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml new file mode 100644 index 000000000000..a7267a959b68 --- /dev/null +++ b/textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +--- pyproject.toml.orig 2024-06-25 19:27:20 UTC ++++ pyproject.toml +@@ -1,8 +1,6 @@ + [build-system] +-requires = [ +- "sphinx-theme-builder @ https://github.com/pradyunsg/sphinx-theme-builder/archive/87214d0671c943992c05e3db01dca997e156e8d6.zip", +-] +-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" -- cgit v1.2.3