commit:     a4673d6ed944e1f384597731051ff0e83f9d1adf
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 19:07:35 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 19:07:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4673d6e

dev-lua/lgi: fix dohtml use in src_install(), bug #694958

Ebuild failed at src_install() as:
```
 * ERROR: dev-lua/lgi-0.9.0-r1::gentoo failed (install phase):
 *   'dohtml' has been banned for EAPI '7'
```

Switched to the direct 'dodoc'. While at it disabled compression
for provided samples and markdown docs.

Reported-by: dashmz <AT> web.de
Closes: https://bugs.gentoo.org/694958
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-lua/lgi/lgi-0.9.0-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lua/lgi/lgi-0.9.0-r1.ebuild b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
index e6445f8259a..b0035719374 100644
--- a/dev-lua/lgi/lgi-0.9.0-r1.ebuild
+++ b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
@@ -47,8 +47,9 @@ src_test() {
 
 src_install() {
        emake DESTDIR="${D}" install
-       dohtml -r docs/*
+       docompress -x /usr/share/doc/${PF}
        dodoc README.md
+       dodoc -r docs/*
        if use examples; then
                dodoc -r samples
        fi

Reply via email to