commit:     bdfafe0e4cbb664b050ba7c2ff9ba2baa3aa3a08
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 22 08:19:29 2020 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Feb 22 08:19:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdfafe0e

dev-tex/pythontex: installation fixed

Closes: https://bugs.gentoo.org/show_bug.cgi?id=709882
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 dev-tex/pythontex/pythontex-0.17.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-tex/pythontex/pythontex-0.17.ebuild 
b/dev-tex/pythontex/pythontex-0.17.ebuild
index 267d1e51096..31f77063256 100644
--- a/dev-tex/pythontex/pythontex-0.17.ebuild
+++ b/dev-tex/pythontex/pythontex-0.17.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/gpoore/pythontex/archive/v${PV}.tar.gz -> ${P}.tar.g
 SLOT="0"
 LICENSE="LPPL-1.3 BSD"
 KEYWORDS="~amd64 ~x86"
-IUSE="highlighting"
+IUSE="doc highlighting"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
@@ -33,7 +33,8 @@ src_compile() {
 }
 
 src_install() {
-       dodoc ${PN}/README "${S}"/*rst ${PN}_quickstart/*
+       dodoc *rst
+       use doc && dodoc ${PN}_quickstart/*pdf ${PN}/*pdf
 
        cd ${PN} || die
 
@@ -45,5 +46,5 @@ src_install() {
        }
        python_foreach_impl installation
 
-       latex-package_src_doinstall dtx ins sty
+       latex-package_src_doinstall sty
 }

Reply via email to