summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:55:52 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:55:52 +0100
commit4516d296a13bcc9870afc90c6b362647a72ddce8 (patch)
tree70ad6e002712b1f6e23c3ded11022bc5d66571f7 /app-text/pdfminer
parentapp-text/landslide: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-4516d296a13bcc9870afc90c6b362647a72ddce8.tar.gz
gentoo-4516d296a13bcc9870afc90c6b362647a72ddce8.tar.bz2
gentoo-4516d296a13bcc9870afc90c6b362647a72ddce8.zip
app-text/pdfminer: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/pdfminer')
-rw-r--r--app-text/pdfminer/pdfminer-20140328-r1.ebuild7
-rw-r--r--app-text/pdfminer/pdfminer-20140328.ebuild7
2 files changed, 12 insertions, 2 deletions
diff --git a/app-text/pdfminer/pdfminer-20140328-r1.ebuild b/app-text/pdfminer/pdfminer-20140328-r1.ebuild
index 342b4f9f88f3..ea6d4f1215ed 100644
--- a/app-text/pdfminer/pdfminer-20140328-r1.ebuild
+++ b/app-text/pdfminer/pdfminer-20140328-r1.ebuild
@@ -26,6 +26,11 @@ python_test() {
python_install_all() {
use doc && local HTML_DOCS=( docs/. )
- use examples && local EXAMPLES=( samples/. )
+ if use examples; then
+ docinto examples
+ dodoc -r samples/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
}
diff --git a/app-text/pdfminer/pdfminer-20140328.ebuild b/app-text/pdfminer/pdfminer-20140328.ebuild
index 97c356bcfc39..8406215f4789 100644
--- a/app-text/pdfminer/pdfminer-20140328.ebuild
+++ b/app-text/pdfminer/pdfminer-20140328.ebuild
@@ -21,6 +21,11 @@ python_compile_all() {
python_install_all() {
use doc && local HTML_DOCS=( docs/. )
- use examples && local EXAMPLES=( samples/. )
+ if use examples; then
+ docinto examples
+ dodoc -r samples/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
}