commit:     b6501f9a8465e71b3159af088f7d1e2eb28b4941
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 12:49:14 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 12:49:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6501f9a

sys-apps/kbd: Ported live ebuild to EAPI-6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/kbd/kbd-9999.ebuild | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/sys-apps/kbd/kbd-9999.ebuild b/sys-apps/kbd/kbd-9999.ebuild
index 139d12639fd..df8a5adeb6c 100644
--- a/sys-apps/kbd/kbd-9999.ebuild
+++ b/sys-apps/kbd/kbd-9999.ebuild
@@ -1,19 +1,19 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 SCM=""
 if [[ ${PV} == "9999" ]] ; then
-       SCM="git-r3"
-       
EGIT_REPO_URI="https://git.kernel.org/cgit/linux/kernel/git/legion/kbd.git";
+       SCM="autotools git-r3"
+       
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git";
        EGIT_BRANCH="master"
 else
        SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/kbd/${P}.tar.xz";
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86"
 fi
 
-inherit autotools eutils ${SCM}
+inherit eutils ${SCM}
 
 DESCRIPTION="Keyboard and console utilities"
 HOMEPAGE="http://kbd-project.org/";
@@ -22,7 +22,8 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="nls pam test"
 
-RDEPEND="pam? ( virtual/pam )"
+RDEPEND="pam? ( virtual/pam )
+       app-arch/gzip"
 DEPEND="${RDEPEND}
        virtual/pkgconfig
        test? ( dev-libs/check )"
@@ -44,18 +45,23 @@ src_unpack() {
 }
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-2.0.0-tests.patch
-       eautoreconf
+       default
+       if [[ ${PV} == "9999" ]] ; then
+               eautoreconf
+       fi
 }
 
 src_configure() {
-       econf \
-               $(use_enable nls) \
-               $(use_enable pam vlock) \
+       local myeconfargs=(
+               $(use_enable nls)
+               $(use_enable pam vlock)
                $(use_enable test tests)
+       )
+       econf "${myeconfargs[@]}"
 }
 
 src_install() {
        default
-       dohtml docs/doc/*.html
+       docinto html
+       dodoc docs/doc/*.html
 }

Reply via email to