Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pylatex/
Date: Sat, 23 May 2020 16:10:49
Message-Id: 1590236859.0025dd997c1ec4e09b32bb9152663f28903922e1.andrewammerlaan@gentoo
commit:     0025dd997c1ec4e09b32bb9152663f28903922e1
Author:     David Denoncin <ddenoncin <AT> gmail <DOT> com>
AuthorDate: Sat May 23 12:27:39 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat May 23 12:27:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0025dd99

dev-python/pylatex: cleanup, fix test dependency

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin <ddenoncin <AT> gmail.com>

 dev-python/pylatex/pylatex-1.3.1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/pylatex/pylatex-1.3.1.ebuild b/dev-python/pylatex/pylatex-1.3.1.ebuild
index c1f01ab..afab1b0 100644
--- a/dev-python/pylatex/pylatex-1.3.1.ebuild
+++ b/dev-python/pylatex/pylatex-1.3.1.ebuild
@@ -32,6 +32,8 @@ test? (
 	dev-python/quantities
 	dev-python/matplotlib
 	dev-python/numpy
+	app-text/texlive
+	dev-texlive/texlive-latexextra
 )
 "
 
@@ -45,8 +47,7 @@ distutils-r1_src_prepare
 
 python_install_all() {
 if use examples ; then
-	docinto examples
-	dodoc -r examples/.
+	dodoc -r examples
 fi
 
 distutils-r1_python_install_all
@@ -54,6 +55,7 @@ distutils-r1_python_install_all
 
 pkg_postinst() {
 	elog "Optional dependencies:"
+	optfeature "compiling generated files" app-text/texlive dev-texlive/texlive-latexextra
 	optfeature "matplotlib support" dev-python/matplotlib
 	optfeature "numpy support" dev-python/numpy
 	optfeature "quantities support" dev-python/quantities