commit:     adc1e8ec9c58fdb797df8d1ae25dc94aa9587415
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 07:14:42 2020 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 07:15:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc1e8ec

sci-electronics/xnec2c: Bump EAPI, fix QA problems

use docinto and dodoc instead of dohtml and insinto

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 sci-electronics/xnec2c/xnec2c-3.5.1.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild 
b/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild
index 8bcf439db3c..134ddca07cc 100644
--- a/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild
+++ b/sci-electronics/xnec2c/xnec2c-3.5.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit autotools eutils
 
@@ -20,6 +20,8 @@ DEPEND="${RDEPEND}
        sys-devel/gettext"
 
 src_prepare() {
+       eapply_user
+
        glib-gettextize --force --copy || die
        eautoreconf
 }
@@ -28,7 +30,7 @@ src_install() {
        default
 
        dodoc AUTHORS README doc/*.txt
-       use doc && dohtml -r doc/*.html doc/images
-       insinto /usr/share/doc/${PF}/examples
-       use examples && doins examples/*
+       use doc && dodoc -r doc/*.html doc/images
+       docinto examples
+       use examples && dodoc examples/*
 }

Reply via email to