diff options
author | Chris Mayo <aklhfex@gmail.com> | 2023-11-07 19:27:12 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-11-22 17:29:42 +0000 |
commit | c6dd38afb3233ac6c69b91a078b3dbdbe3c94606 (patch) | |
tree | 7910a27f7c8921a370be24659538ac3b0be3b5b9 | |
parent | app-editors/vim-core: add 9.0.2092 (diff) | |
download | gentoo-c6dd38afb3233ac6c69b91a078b3dbdbe3c94606.tar.gz gentoo-c6dd38afb3233ac6c69b91a078b3dbdbe3c94606.tar.bz2 gentoo-c6dd38afb3233ac6c69b91a078b3dbdbe3c94606.zip |
app-text/pdfminer: remove python_compile_all()
The path to the documentation subdirectory is passed to distutils_enable_sphinx, use that.
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33716
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | app-text/pdfminer/pdfminer-20221105.ebuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/app-text/pdfminer/pdfminer-20221105.ebuild b/app-text/pdfminer/pdfminer-20221105.ebuild index fd7b84ae99af..fa3139418efc 100644 --- a/app-text/pdfminer/pdfminer-20221105.ebuild +++ b/app-text/pdfminer/pdfminer-20221105.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 MY_P="${PN}.six-${PV}" @@ -22,7 +22,7 @@ IUSE="doc examples" RDEPEND=">=dev-python/charset-normalizer-2.0.0[${PYTHON_USEDEP}] >=dev-python/cryptography-36.0.0[${PYTHON_USEDEP}]" -distutils_enable_sphinx docs "dev-python/sphinx-argparse" +distutils_enable_sphinx docs/source "dev-python/sphinx-argparse" distutils_enable_tests pytest python_prepare_all() { @@ -30,14 +30,6 @@ python_prepare_all() { distutils-r1_python_prepare_all } -python_compile_all() { - # Non-standard doc generation - if use doc; then - PYTHONPATH="${PYTHONPATH}:${BUILD_DIR}/install" sphinx-build docs/source "${WORKDIR}"/_docs - HTML_DOCS=( "${WORKDIR}"/_docs/. ) - fi -} - python_install_all() { use examples && dodoc -r samples distutils-r1_python_install_all |