public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/
Date: Wed, 22 Nov 2023 17:44:08 +0000 (UTC)	[thread overview]
Message-ID: <1700674182.c6dd38afb3233ac6c69b91a078b3dbdbe3c94606.sam@gentoo> (raw)

commit:     c6dd38afb3233ac6c69b91a078b3dbdbe3c94606
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Tue Nov  7 19:27:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 17:29:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6dd38af

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 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33716
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/pdfminer/pdfminer-20221105.ebuild | 12 ++----------
 1 file 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


             reply	other threads:[~2023-11-22 17:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-22 17:44 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-22 13:53 [gentoo-commits] repo/gentoo:master commit in: app-text/pdfminer/ Petr Vaněk
2024-10-11 10:50 Sam James
2024-10-11 10:50 Sam James
2024-09-07 18:41 Petr Vaněk
2024-09-07 18:41 Petr Vaněk
2023-11-29 18:38 Arthur Zamarin
2023-11-29 17:59 Michał Górny
2023-09-11 12:19 Florian Schmaus
2023-05-01 12:39 Michał Górny
2022-06-06  6:28 Jakov Smolić
2022-06-06  6:28 Jakov Smolić
2022-05-17  7:49 Sam James
2021-02-22 22:20 Sam James
2020-09-19  8:04 Michał Górny
2020-08-05 13:53 Agostino Sarubbo
2019-10-28  6:10 Joonas Niilola
2019-01-27 11:05 Pacho Ramos
2016-10-29 21:17 Michał Górny
2016-03-05 23:24 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1700674182.c6dd38afb3233ac6c69b91a078b3dbdbe3c94606.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox