From 4516d296a13bcc9870afc90c6b362647a72ddce8 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:55:52 +0100 Subject: [PATCH] app-text/pdfminer: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- app-text/pdfminer/pdfminer-20140328-r1.ebuild | 7 ++++++- app-text/pdfminer/pdfminer-20140328.ebuild | 7 ++++++- 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 } -- 2.26.2