dev-lua/lgi: fix dohtml use in src_install(), bug #694958
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 20 Sep 2019 19:07:35 +0000 (20:07 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 20 Sep 2019 19:07:59 +0000 (20:07 +0100)
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@web.de
Closes: https://bugs.gentoo.org/694958
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-lua/lgi/lgi-0.9.0-r1.ebuild

index e6445f8259a51a2911991c9e2b25a69e9ebef628..b00357193747ba6ed1d568e0cc361cd936a02050 100644 (file)
@@ -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