From: David Seifert Date: Fri, 18 Oct 2019 12:18:44 +0000 (+0200) Subject: app-dicts/bookview: Port to EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=71c5a8300d404576679af5ed37aaf3c59ce17db8;p=gentoo.git app-dicts/bookview: Port to EAPI 7 Closes: https://bugs.gentoo.org/697422 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- diff --git a/app-dicts/bookview/bookview-3.2.1.ebuild b/app-dicts/bookview/bookview-3.2.1.ebuild index 5093c1a5b930..9fdf455264a7 100644 --- a/app-dicts/bookview/bookview-3.2.1.ebuild +++ b/app-dicts/bookview/bookview-3.2.1.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 - -inherit eutils +EAPI=7 DESCRIPTION="NDTP client written in Tcl/Tk" HOMEPAGE="http://www.sra.co.jp/people/m-kasahr/bookview/" @@ -12,23 +10,16 @@ SRC_URI="ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc x86" -IUSE="" -RDEPEND=">=dev-lang/tk-8.3" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" +RDEPEND="dev-lang/tk:0" +DEPEND="${RDEPEND}" -src_unpack() { - unpack ${A} - cd "${S}/bookview" - epatch "${FILESDIR}/${P}-gentoo.diff" -} +PATCHES=( "${FILESDIR}"/${P}-gentoo.diff ) src_install() { - make DESTDIR="${D}" install || die + default + dodoc ChangeLog.0 insinto /etc/X11/app-defaults newins "${FILESDIR}/Bookview.ad" Bookview - - dodoc AUTHORS ChangeLog* INSTALL NEWS README } diff --git a/app-dicts/bookview/files/bookview-3.2.1-gentoo.diff b/app-dicts/bookview/files/bookview-3.2.1-gentoo.diff index 3a3064a10594..0c29aa3d7340 100644 --- a/app-dicts/bookview/files/bookview-3.2.1-gentoo.diff +++ b/app-dicts/bookview/files/bookview-3.2.1-gentoo.diff @@ -1,5 +1,5 @@ ---- bookview.in.ORIG 2004-11-03 18:39:28.000000000 +0900 -+++ bookview.in 2004-11-22 21:22:42.000000000 +0900 +--- a/bookview/bookview.in ++++ b/bookview/bookview.in @@ -120,6 +120,11 @@ # Bitmap size. set bitmap_size 16