dev-util/quilt: EAPI bump. Minor fixes.
authorMike Pagano <mpagano@gentoo.org>
Sun, 15 Dec 2019 20:45:21 +0000 (15:45 -0500)
committerMike Pagano <mpagano@gentoo.org>
Sun, 15 Dec 2019 20:45:32 +0000 (15:45 -0500)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
dev-util/quilt/quilt-9999.ebuild

index 4a4042e9a2f0943ebed0594da7086257ce3a75a1..1698d8c89c9e34af2d00e2dcc6c39b27217f50bb 100644 (file)
@@ -1,13 +1,13 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 EGIT_REPO_URI="git://git.sv.gnu.org/quilt.git"
 
-[[ ${PV} == 9999 ]] && inherit git-2
+[[ ${PV} == 9999 ]] && inherit git-r3
 
-inherit bash-completion-r1 eutils
+inherit bash-completion-r1
 
 DESCRIPTION="quilt patch manager"
 HOMEPAGE="https://savannah.nongnu.org/projects/quilt"
@@ -30,8 +30,11 @@ RDEPEND="
 "
 
 src_prepare() {
+
+       default
+
        # Add support for USE=graphviz
-       use graphviz || epatch "${FILESDIR}/${PN}-0.60-no-graphviz.patch"
+       use graphviz || eapply "${FILESDIR}/${PN}-0.66-no-graphviz.patch"
 
        # remove failing test, because it fails on root-build
        rm -rf test/delete.test
@@ -45,15 +48,14 @@ src_configure() {
 }
 
 src_install() {
-       emake BUILD_ROOT="${ED}" install
-
-       rm -rf "${ED}"/usr/share/doc/${P}
-       dodoc AUTHORS TODO quilt.changes doc/README doc/README.MAIL \
-               doc/quilt.pdf
+       emake BUILD_ROOT="${D}" install
 
        rm -rf "${ED}"/etc/bash_completion.d
        newbashcomp bash_completion ${PN}
 
+       rm -rf "${ED}"usr/share/doc/${PN}
+       dodoc AUTHORS TODO "doc/README" "doc/README.MAIL" "doc/quilt.pdf"
+
        # Remove the compat symlinks
        rm -rf "${ED}"/usr/share/quilt/compat