x11-misc/bbacpi: EAPI bump 5 -> 6
authorHarri Nieminen <moikkis@gmail.com>
Tue, 14 Feb 2017 07:42:00 +0000 (09:42 +0200)
committerDavid Seifert <soap@gentoo.org>
Tue, 14 Feb 2017 19:41:52 +0000 (20:41 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3967

x11-misc/bbacpi/bbacpi-0.1.5-r3.ebuild [moved from x11-misc/bbacpi/bbacpi-0.1.5-r2.ebuild with 50% similarity]

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 626f304f5eb516a601032bcd150fc8a03e753793..70e4e5f387a0a7a18f5a9586fadf5911119c9734 100644 (file)
@@ -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
+}