From 3820da2d244d6c090de6c8a5a9e9332d2a445a17 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Fri, 25 Oct 2019 11:20:15 +0300 Subject: [PATCH] app-eselect/eselect-mpost: port to EAPI=7 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild b/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild index 6d9ef0a7e944..f715cb4b8850 100644 --- a/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild +++ b/app-eselect/eselect-mpost/eselect-mpost-0.3.ebuild @@ -1,12 +1,10 @@ -# 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="mpost module for eselect" -HOMEPAGE="https://www.gentoo.org/proj/en/eselect/" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:TeX" SRC_URI="" LICENSE="GPL-2" @@ -20,11 +18,12 @@ DEPEND="" RDEPEND=">=app-admin/eselect-1.2.3 >=app-text/texlive-core-2008" +S="${WORKDIR}" + src_install() { local MODULEDIR="/usr/share/eselect/modules" local MODULE="mpost" dodir ${MODULEDIR} insinto ${MODULEDIR} - newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect \ - || die "failed to install" + newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect } -- 2.26.2