commit:     120d32ec3008792f13ece7fd668e6c0449a4acd0
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Tue Feb 14 07:42:00 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 19:41:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120d32ec

x11-misc/bbacpi: EAPI bump 5 -> 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3967

 ...acpi-0.1.5-r2.ebuild => bbacpi-0.1.5-r3.ebuild} | 29 ++++++++++++++--------
 1 file changed, 18 insertions(+), 11 deletions(-)

diff --git a/x11-misc/bbacpi/bbacpi-0.1.5-r2.ebuild 
b/x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild
similarity index 50%
rename from x11-misc/bbacpi/bbacpi-0.1.5-r2.ebuild
rename to x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild
index 626f304f5e..70e4e5f387 100644
--- a/x11-misc/bbacpi/bbacpi-0.1.5-r2.ebuild
+++ b/x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit autotools eutils
+EAPI=6
+
+inherit autotools
 
 DESCRIPTION="ACPI monitor for X11"
 HOMEPAGE="http://bbacpi.sourceforge.net";
@@ -18,18 +19,24 @@ DEPEND="
        sys-power/acpi
        sys-power/acpid
        x11-libs/libX11
-       x11-misc/xdialog
-"
+       x11-misc/xdialog"
 RDEPEND="
        ${DEPEND}
-       media-fonts/font-adobe-100dpi
-"
+       media-fonts/font-adobe-100dpi"
 
-DOCS=( AUTHORS ChangeLog README )
+DOCS=( AUTHORS ChangeLog NEWS README data/README.bbacpi )
+PATCHES=(
+       "${FILESDIR}"/${P}-noextraquals.diff
+       "${FILESDIR}"/${P}-overflows.diff
+)
 
 src_prepare() {
-       epatch \
-               "${FILESDIR}"/${P}-noextraquals.diff \
-               "${FILESDIR}"/${P}-overflows.diff
+       default
+       mv configure.{in,ac} || die
        eautoreconf
 }
+
+src_install() {
+       default
+       rm "${ED%/}"/usr/share/bbtools/README.bbacpi || die
+}

Reply via email to