# Template file for 'python3-Sphinx' pkgname=python3-Sphinx version=8.3.0 revision=1 build_style=python3-pep517 _depends="python3-sphinxcontrib-htmlhelp python3-imagesize python3-alabaster python3-requests python3-sphinxcontrib-jsmath python3-roman-numerals-py python3-sphinxcontrib-applehelp python3-Babel python3-sphinxcontrib-serializinghtml python3-docutils python3-Jinja2 python3-sphinxcontrib-devhelp python3-sphinxcontrib-qthelp python3-Pygments python3-snowballstemmer" hostmakedepends="python3-flit_core python3-pyproject-hooks $_depends" depends="$_depends python3-packaging" checkdepends="$depends python3-html5lib python3-mypy ImageMagick gettext python3-pytest-xdist python3-setuptools python3-filelock python3-defusedxml graphviz" short_desc="Python 3 documentation generator" maintainer="Đoàn Trần Công Danh " license="BSD-3-Clause" homepage="http://sphinx-doc.org" changelog="https://github.com/sphinx-doc/sphinx/raw/master/CHANGES" distfiles="${PYPI_SITE}/s/sphinx/sphinx-${version}.tar.gz" checksum=3bad4314a7fa72ce92344eaaa14c42ddf3177ee6a79c227e4ff8ae07d416f584 replaces="python-Sphinx>=0" post_patch() { # rename so it works with any python mv -i tests/roots/test-ext-apidoc-duplicates/fish_licence/{halibut*.so,halibut.so} } post_install() { vlicense LICENSE.rst }