sys-block/megamgr: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 18:37:15 +0000 (19:37 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 18:37:15 +0000 (19:37 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

profiles/arch/amd64/no-multilib/package.mask
sys-block/megamgr/Manifest
sys-block/megamgr/megamgr-5.20-r2.ebuild

index ae5ea45d3d0e73eecea41f60b289c7a4beecc2d7..1b7096875ce991c6946a43ecbf2b5e653b7a17bd 100644 (file)
@@ -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 <soap@gentoo.org> (03 Jan 2018)
+# Requires 32-bit multilib compatibility
+sys-block/megamgr
+
 # James Le Cuirot <chewi@gentoo.org> (13 Aug 2016)
 # Steam requires amd64 multilib. These are steam-overlay packages.
 dev-util/adobe-air-runtime
index b6ec0bccc994d1ac084234b017455cf72d134e09..3391acfcacdead47fe2bf0adf757910c58335f31 100644 (file)
@@ -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
index d8758416c8319320ada52b3b8b3b57fa2932f350..1ebc56400d12ad5004e5434bdea7313915307ea2 100644 (file)
@@ -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
 }