summaryrefslogtreecommitdiff
path: root/textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-09 02:21:21 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-09 02:37:47 +0800
commit72422e1fcd78765ed8c773da55ede598f7d5163a (patch)
treeadf05b81d9fb665b8f1ee5e1c2ed4e9492beaa7f /textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml
parenttextproc/py-furo: Convert to USE_PYTHON=pep517 (diff)
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.
Diffstat (limited to 'textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml')
-rw-r--r--textproc/py-pydata-sphinx-theme/files/patch-pyproject.toml13
1 files changed, 13 insertions, 0 deletions
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"