diff options
-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 |