commit:     323e1ce8c44610db899947ef412cc89aedd26307
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 18:37:15 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 18:37:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=323e1ce8

sys-block/megamgr: Port to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 profiles/arch/amd64/no-multilib/package.mask |  6 +++++-
 sys-block/megamgr/Manifest                   |  2 +-
 sys-block/megamgr/megamgr-5.20-r2.ebuild     | 23 ++++++++---------------
 3 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/profiles/arch/amd64/no-multilib/package.mask 
b/profiles/arch/amd64/no-multilib/package.mask
index ae5ea45d3d0..1b7096875ce 100644
--- a/profiles/arch/amd64/no-multilib/package.mask
+++ b/profiles/arch/amd64/no-multilib/package.mask
@@ -1,6 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# David Seifert <[email protected]> (03 Jan 2018)
+# Requires 32-bit multilib compatibility
+sys-block/megamgr
+
 # James Le Cuirot <[email protected]> (13 Aug 2016)
 # Steam requires amd64 multilib. These are steam-overlay packages.
 dev-util/adobe-air-runtime

diff --git a/sys-block/megamgr/Manifest b/sys-block/megamgr/Manifest
index b6ec0bccc99..3391acfcacd 100644
--- a/sys-block/megamgr/Manifest
+++ b/sys-block/megamgr/Manifest
@@ -1 +1 @@
-DIST ut_linux_mgr_5.20.zip 253549 SHA256 
e7313ed8f59897f132ffed55ed606f19dc72a5d529e6b647cb157a39f0d79123 SHA512 
3f942ab3d7a192bc1a945945d20545ffdbbbdd9c4af238701cf7357fe5b3f405c2e777da7c42908e1acb676499ee87aec261bcad729a4d787f8e098af132bda6
 WHIRLPOOL 
8efdfa1a152003ab0da0834f101c4da505974ada81eb0633e42d5065b96dcd48638da8145ac1e43573fe0cb25119bf3579a1d778deb18e1258cbca33e1c6cd28
+DIST ut_linux_mgr_5.20.zip 253549 BLAKE2B 
eb173d349e5399229f55ec073246993068caea01dcc707ec11d34a418cd42368eb80028e4363cad7e1bb707558e6eb8b629a2071387bff40471daa98d1d14c94
 SHA512 
3f942ab3d7a192bc1a945945d20545ffdbbbdd9c4af238701cf7357fe5b3f405c2e777da7c42908e1acb676499ee87aec261bcad729a4d787f8e098af132bda6

diff --git a/sys-block/megamgr/megamgr-5.20-r2.ebuild 
b/sys-block/megamgr/megamgr-5.20-r2.ebuild
index d8758416c83..1ebc56400d1 100644
--- a/sys-block/megamgr/megamgr-5.20-r2.ebuild
+++ b/sys-block/megamgr/megamgr-5.20-r2.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="3"
-
-inherit multilib
+EAPI=6
 
 DESCRIPTION="LSI Logic MegaRAID Text User Interface management tool"
 HOMEPAGE="http://www.lsi.com";
@@ -15,29 +13,24 @@ SLOT="0"
 # can remove the distfiles from their mirror anytime.
 KEYWORDS="~amd64 ~x86"
 IUSE=""
+RESTRICT="mirror fetch"
 
 DEPEND="app-arch/unzip"
 RDEPEND=""
 
-RESTRICT="mirror fetch"
-
 S="${WORKDIR}"
 
 QA_PRESTRIPPED="/opt/bin/megamgr"
 
 pkg_nofetch() {
        einfo "Upstream has implement a mandatory clickthrough EULA for 
distfile download"
-       einfo "Please visit $SRC_URI"
-       einfo "And place $A in ${DISTDIR}"
-}
-
-pkg_setup() {
-       use amd64 && { has_multilib_profile || die "needs multilib profile on 
amd64"; }
+       einfo "Please visit ${SRC_URI}"
+       einfo "And place ${A} in ${DISTDIR}"
 }
 
 src_install() {
-       newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt
-
        exeinto /opt/bin
-       newexe megamgr.bin megamgr || die
+       newexe megamgr.bin megamgr
+
+       newdoc ut_linux_${PN##mega}_${PV}.txt ${PN}-release-${PV}.txt
 }

Reply via email to