From 684e2a079c7c4f10ec309630ce5e5a8b3ac4d95d Mon Sep 17 00:00:00 2001 From: Pris Nasrat Date: Tue, 20 Aug 2024 09:01:07 -0400 Subject: [PATCH] Add py3-sphinx-7 Some major sphinx themes such as for readthedocs and jupyterbooks do not support sphinx 8 yet See https://github.com/readthedocs/sphinx_rtd_theme/issues/1582 Signed-off-by: Pris Nasrat --- py3-sphinx-7.yaml | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 py3-sphinx-7.yaml diff --git a/py3-sphinx-7.yaml b/py3-sphinx-7.yaml new file mode 100644 index 00000000000..82cbbac25e2 --- /dev/null +++ b/py3-sphinx-7.yaml @@ -0,0 +1,70 @@ +package: + name: py3-sphinx-7 + version: 7.4.7 + epoch: 1 + description: "Python Documentation Generator" + copyright: + - license: MIT + dependencies: + provides: + - py3-sphinx=${{package.full-version}} + runtime: + - py3-alabaster + - py3-babel + - py3-docutils + - py3-imagesize + - py3-jinja2 + - py3-packaging + - py3-pygments + - py3-requests + - py3-snowballstemmer + - py3-sphinxcontrib-applehelp + - py3-sphinxcontrib-devhelp + - py3-sphinxcontrib-htmlhelp + - py3-sphinxcontrib-jsmath + - py3-sphinxcontrib-qthelp + - py3-sphinxcontrib-serializinghtml + - python3 + +environment: + contents: + packages: + - build-base + - busybox + - ca-certificates-bundle + - py3-flit-core + - py3-gpep517 + - py3-installer + - python3 + - wolfi-base + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/sphinx-doc/sphinx + tag: v${{package.version}} + expected-commit: 0d912c85fd3ec385432fe707f6a0678425d1e841 + + - runs: | + mkdir -p dist + backend="$(python3 -m gpep517 get-backend)" + python3 -m gpep517 build-wheel --wheel-dir dist --backend "$backend" --output-fd 1 + + - runs: | + python3 -m installer -d "${{targets.destdir}}" dist/sphinx-*.whl + + - uses: strip + +update: + enabled: true + github: + identifier: sphinx-doc/sphinx + strip-prefix: v + tag-filter: v.7.4. + +test: + pipeline: + - uses: python/import + with: + import: sphinx + - runs: sphinx-build --version