x11-plugins/pidgin-mbpurple: bump EAPI and drop base eclass
authorAaron Bauman <bman@gentoo.org>
Wed, 30 May 2018 23:43:04 +0000 (19:43 -0400)
committerAaron Bauman <bman@gentoo.org>
Thu, 31 May 2018 12:57:04 +0000 (08:57 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

x11-plugins/pidgin-mbpurple/pidgin-mbpurple-0.3.0-r2.ebuild

index 7a7eeeed84ebce02c4b692e4de1f5549746e348d..9e38de55cc19c3c4aac91ce46e51e301b00632d8 100644 (file)
@@ -1,13 +1,14 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=6
 
-inherit base toolchain-funcs
+inherit toolchain-funcs
+
+MY_P="${P/pidgin-/}"
 
 DESCRIPTION="Pidgin plug-in supporting microblog services like Twitter or identi.ca"
 HOMEPAGE="https://code.google.com/p/microblog-purple/"
-MY_P="${P/pidgin-/}"
 SRC_URI="https://microblog-purple.googlecode.com/files/${MY_P}.tar.gz"
 
 LICENSE="GPL-3"
@@ -21,16 +22,16 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig"
 S=${WORKDIR}/${MY_P}
 
-pkg_setup() {
+src_prepare() {
+       default
+
        tc-export CC
-}
 
-src_prepare() {
        # upstream Issue 226 (Respect LDFLAGS)
-       sed -i "/^LDFLAGS/d" global.mak || die
+       sed -i "/^LDFLAGS/d" global.mak || die "sed for LDFLAGS failed"
 
        # upstream Issue 225 (Warnings during compilation using make -j2)
-       sed -i "s/make /\$(MAKE) /g" Makefile || die
+       sed -i "s/make /\$(MAKE) /g" Makefile || die "sed #2 failed"
 
        # upstream Issue 224 (configurable twitgin)
        if ! use twitgin; then