# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 DESCRIPTION="Python documentation generator" HOMEPAGE=" https://www.sphinx-doc.org/ https://github.com/sphinx-doc/sphinx/ https://pypi.org/project/Sphinx/ " SRC_URI=" https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz " LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc latex" RDEPEND=" >=dev-python/Babel-2.9[${PYTHON_USEDEP}] >=dev-python/docutils-0.18.1[${PYTHON_USEDEP}] >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] >=dev-python/jinja2-3.0[${PYTHON_USEDEP}] >=dev-python/pygments-2.13[${PYTHON_USEDEP}] >=dev-python/requests-2.25.0[${PYTHON_USEDEP}] >=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}] dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}] dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] >=dev-python/packaging-21.0[${PYTHON_USEDEP}] latex? ( dev-texlive/texlive-latexextra dev-texlive/texlive-luatex app-text/dvipng ) !dev-python/namespace-sphinxcontrib " #