commit:     f5cdca8b4c793e67ba63c6f435c90e14276913d7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May  6 20:31:09 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  7 07:41:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5cdca8b

games-rpg/dreamweb: Remove unnecessary use of unpacker

Replace the unnecessary use of unpacker.eclass with built-in EAPI
unpacking.  This also fixes missing dependency on app-arch/unzip
due to unpacker.eclass being broken with complex SRC_URIs in EAPI 6.

 games-rpg/dreamweb/dreamweb-1.1-r1.ebuild | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild 
b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
index c685cb39ad4..6fd1f4a55ba 100644
--- a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
+++ b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit unpacker eutils
+inherit eutils
 
 DESCRIPTION="Top-down adventure game set in a gritty futuristic/dystopian city"
 HOMEPAGE="http://wiki.scummvm.org/index.php/Dreamweb";
@@ -23,7 +23,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="doc l10n_de l10n_en l10n_en-GB l10n_es l10n_fr l10n_it"
 
 RDEPEND=">=games-engines/scummvm-1.7[flac]"
-DEPEND="$(unpacker_src_uri_depends)"
+DEPEND="app-arch/unzip"
 
 S="${WORKDIR}"
 
@@ -31,38 +31,38 @@ src_unpack() {
        if use l10n_de ; then
                mkdir -p "${S}"/de || die
                cd "${S}"/de || die
-               unpacker ${PN}-cd-de-${PV}.zip
+               unpack ${PN}-cd-de-${PV}.zip
        fi
        if use l10n_en || ( ! use l10n_de && ! use l10n_en && ! use l10n_en-GB 
&& \
                        ! use l10n_es && ! use l10n_fr && ! use l10n_it ) ; then
                mkdir -p "${S}"/en_US || die
                cd "${S}"/en_US || die
-               unpacker ${PN}-cd-us-${PV}.zip
+               unpack ${PN}-cd-us-${PV}.zip
        fi
        if use l10n_en-GB ; then
                mkdir -p "${S}"/en_GB || die
                cd "${S}"/en_GB || die
-               unpacker ${PN}-cd-uk-${PV}.zip
+               unpack ${PN}-cd-uk-${PV}.zip
        fi
        if use l10n_es ; then
                mkdir -p "${S}"/es || die
                cd "${S}"/es || die
-               unpacker ${PN}-cd-es-${PV}.zip
+               unpack ${PN}-cd-es-${PV}.zip
        fi
        if use l10n_fr ; then
                mkdir -p "${S}"/fr || die
                cd "${S}"/fr || die
-               unpacker ${PN}-cd-fr-${PV}.zip
+               unpack ${PN}-cd-fr-${PV}.zip
        fi
        if use l10n_it ; then
                mkdir -p "${S}"/it || die
                cd "${S}"/it || die
-               unpacker ${PN}-cd-it-${PV}.zip
+               unpack ${PN}-cd-it-${PV}.zip
        fi
        if use doc ; then
                mkdir -p "${S}"/doc || die
                cd "${S}"/doc || die
-               unpacker ${PN}-manuals-en-highres.zip
+               unpack ${PN}-manuals-en-highres.zip
        fi
 }
 

Reply via email to