commit: 16388e7a664c8e2afb2fc117a5c5e1fb1bf20394 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Mar 4 07:51:49 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 5 18:00:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16388e7a
app-shells/localshell: port to EAPI 7 (fix DeprecatedEclass) Signed-off-by: Sam James <sam <AT> gentoo.org> app-shells/localshell/localshell-1.3.4-r1.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app-shells/localshell/localshell-1.3.4-r1.ebuild b/app-shells/localshell/localshell-1.3.4-r1.ebuild index f2c8e8a51be..da410e6062f 100644 --- a/app-shells/localshell/localshell-1.3.4-r1.ebuild +++ b/app-shells/localshell/localshell-1.3.4-r1.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit base eutils +EAPI=7 DESCRIPTION="Localshell allows per-user/group local control of shell execution" HOMEPAGE="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary" @@ -12,7 +10,6 @@ SRC_URI="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summa LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ~ppc64 x86" -IUSE="" src_configure() { # this is a shell, it needs to be in /bin @@ -21,7 +18,10 @@ src_configure() { src_install() { emake install DESTDIR="${D}" - rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} + + mv "${ED}"/usr/share/doc/${P}/ "${ED}"/usr/share/doc/${PF} || die + + rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} || die } pkg_postinst() {
