app-misc/ifp-line: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 16:13:22 +0000 (12:13 -0400)
committerAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 18:16:39 +0000 (14:16 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch
app-misc/ifp-line/ifp-line-0.3.ebuild

index f7fe1de4b1ff75baa8f76a1fc31f513a914404a4..a3bf5c24b95d0097ee9d368f6e7dc59c032dd77d 100644 (file)
@@ -1,5 +1,5 @@
---- unicodehack.c.orig 2006-01-31 20:18:16.000000000 -0500
-+++ unicodehack.c      2006-01-31 20:18:39.000000000 -0500
+--- a/unicodehack.c    2006-01-31 20:18:16.000000000 -0500
++++ b/unicodehack.c    2006-01-31 20:18:39.000000000 -0500
 @@ -26,7 +26,7 @@
        return -1;
      }
@@ -18,8 +18,8 @@
      iconv_t cd;
      int retval;
  
---- unicodehack.h.orig 2006-01-31 20:19:05.000000000 -0500
-+++ unicodehack.h      2006-01-31 20:19:26.000000000 -0500
+--- a/unicodehack.h    2006-01-31 20:19:05.000000000 -0500
++++ b/unicodehack.h    2006-01-31 20:19:26.000000000 -0500
 @@ -4,6 +4,6 @@
  #define IFPLINE_UNICODEHACK_H
  
index 0436505fbe7b9176bfc22c63af1e6b6fe62a5951..ca5f7b8af6aa67e3db6ae816cc4579ec83582370 100644 (file)
@@ -1,8 +1,7 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils
+EAPI=6
 
 DESCRIPTION="iRiver iFP open-source driver"
 HOMEPAGE="http://ifp-driver.sourceforge.net/"
@@ -16,17 +15,15 @@ IUSE=""
 RDEPEND="virtual/libusb:0"
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-fix-warnings.patch
-}
+PATCHES=( "${FILESDIR}/${P}-fix-warnings.patch" )
 
 src_install() {
        dobin ifp || die
-       dodoc NEWS README TIPS ChangeLog
        doman ifp.1
 
        exeinto /usr/share/${PN}
        doexe nonroot.sh || die
+       default
 }
 
 pkg_postinst() {