sys-apps/dnotify: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 16:24:53 +0000 (12:24 -0400)
committerAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 18:16:42 +0000 (14:16 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sys-apps/dnotify/dnotify-0.18.0.ebuild
sys-apps/dnotify/files/dnotify-0.18.0-glibc-212.patch
sys-apps/dnotify/files/dnotify-0.18.0-nls.patch

index 440759ad96acb3fca78c6620cc99d0aeb7b72d52..5a207d27f378d603f0b74abc095f96c4a68b4772 100644 (file)
@@ -1,11 +1,10 @@
-# Copyright 1999-2010 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="Execute a command when the contents of a directory change"
-HOMEPAGE="http://directory.fsf.org/project/dnotify/"
+HOMEPAGE="https://directory.fsf.org/project/dnotify/"
 SRC_URI="mirror://gentoo/${P}.tar.gz"
 
 LICENSE="GPL-2"
@@ -16,10 +15,10 @@ IUSE="nls"
 RDEPEND=""
 DEPEND="nls? ( sys-devel/gettext )"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-nls.patch \
-               "${FILESDIR}"/${P}-glibc-212.patch
-}
+PATCHES=(
+       "${FILESDIR}/${P}-nls.patch"
+       "${FILESDIR}/${P}-glibc-212.patch"
+)
 
 src_configure() {
        econf \
@@ -28,5 +27,5 @@ src_configure() {
 
 src_install() {
        emake DESTDIR="${D}" install || die
-       dodoc AUTHORS TODO NEWS README
+       default
 }
index 6cc6e6f4009267e85aa5c39f7a1c5baa0c3176a9..19cd20039424e65be4f6d28d12a685a7346e9ec0 100644 (file)
@@ -1,7 +1,7 @@
 http://bugs.gentoo.org/336649
 
---- src/main.c
-+++ src/main.c
+--- a/src/main.c
++++ b/src/main.c
 @@ -19,6 +19,7 @@
  
  #include <config.h>
index 7721ac1ee411d745cb577bdf7ebf78d094f19f46..55400b704983e8ed960e623e6e532b7e6d039d47 100644 (file)
@@ -1,5 +1,5 @@
---- src/gettext.h.orig 2006-01-27 18:23:31.000000000 +0100
-+++ src/gettext.h      2006-01-27 18:25:07.000000000 +0100
+--- a/src/gettext.h    2006-01-27 18:23:31.000000000 +0100
++++ b/src/gettext.h    2006-01-27 18:25:07.000000000 +0100
 @@ -24,6 +24,7 @@
  
  /* Get declarations of GNU message catalog functions.  */