app-eselect/eselect-mpost: port to EAPI=7

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2019-10-25 11:20:48 +03:00
parent 26ac335cf1
commit 3820da2d24
@@ -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
}