commit:     50f49fcc845e0a06ee3b4ad2a9fbf8d9ff99eb5f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 16:44:36 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 16:44:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f49fcc

media-fonts/exljbris-free: Port to EAPI 7

Bug: https://bugs.gentoo.org/697302
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../exljbris-free/exljbris-free-20100320.ebuild     | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/media-fonts/exljbris-free/exljbris-free-20100320.ebuild 
b/media-fonts/exljbris-free/exljbris-free-20100320.ebuild
index bb67c66505a..520bbcad063 100644
--- a/media-fonts/exljbris-free/exljbris-free-20100320.ebuild
+++ b/media-fonts/exljbris-free/exljbris-free-20100320.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit font
 
 DESCRIPTION="Beautiful free fonts from exljbris Font Foundry"
 HOMEPAGE="http://www.josbuivenga.demon.nl/";
-SRC_URI="http://www.exljbris.com/dl/delicious-123.zip
+SRC_URI="
+       http://www.exljbris.com/dl/delicious-123.zip
        http://www.exljbris.com/dl/Diavlo_II_37b2.zip
        http://www.exljbris.com/dl/fontin2_pc.zip
        http://www.exljbris.com/dl/FontinSans_49.zip
@@ -16,20 +17,16 @@ SRC_URI="http://www.exljbris.com/dl/delicious-123.zip
 LICENSE="exljbris-free"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
-
 RESTRICT="mirror"
 
-DEPEND="app-arch/unzip"
-RDEPEND=""
+BDEPEND="app-arch/unzip"
 
 S="${WORKDIR}"
+
 FONT_S="${S}"
 FONT_SUFFIX="otf ttf"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-
-       mv "${S}"/Diavlo_II_37/*.otf "${S}"
+src_prepare() {
+       default
+       mv Diavlo_II_37/*.otf . || die
 }

Reply via email to