diff options
author | Sam James <sam@gentoo.org> | 2021-04-01 02:54:00 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-01 22:17:03 +0100 |
commit | d9bf4ffc7dbce29041e670e2462001998dd8c417 (patch) | |
tree | 77eea47d724e6ca4f9d1762323837e4095637e68 /app-emulation/spim | |
parent | app-admin/yadm: use python-any-r1 API for tests (diff) | |
download | gentoo-d9bf4ffc7dbce29041e670e2462001998dd8c417.tar.gz gentoo-d9bf4ffc7dbce29041e670e2462001998dd8c417.tar.bz2 gentoo-d9bf4ffc7dbce29041e670e2462001998dd8c417.zip |
app-emulation/spim: EAPI 7, MissingInherits (desktop)
Closes: https://bugs.gentoo.org/726562
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/spim')
-rw-r--r-- | app-emulation/spim/spim-8.0-r3.ebuild | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/app-emulation/spim/spim-8.0-r3.ebuild b/app-emulation/spim/spim-8.0-r3.ebuild index 2b2aacf0d76d..05f6fcdf21f3 100644 --- a/app-emulation/spim/spim-8.0-r3.ebuild +++ b/app-emulation/spim/spim-8.0-r3.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit toolchain-funcs +EAPI=7 + +inherit desktop toolchain-funcs DESCRIPTION="MIPS Simulator" HOMEPAGE="http://spimsimulator.sourceforge.net/" @@ -16,23 +17,26 @@ IUSE="doc X" RDEPEND=" X? ( media-fonts/font-adobe-100dpi - x11-libs/libXaw ) -" -DEPEND="${RDEPEND} - X? ( - x11-base/xorg-proto - x11-misc/imake + x11-libs/libXaw ) +" +DEPEND=" + ${RDEPEND} + X? ( x11-base/xorg-proto ) +" +BDEPEND=" sys-devel/bison + X? ( x11-misc/imake ) " + # test hangs forever, disabling it RESTRICT="test" src_prepare() { - # fix bugs 240005 and 243588 + # fix bug #240005 and bug #243588 eapply "${FILESDIR}/${P}-r1-respect_env.patch" - #fix bug 330389 + # fix bug #330389 sed -i -e 's:-12-\*-75-:-14-\*-100-:g' xspim/xspim.c || die default @@ -56,6 +60,10 @@ src_compile() { fi } +src_test() { + emake -C spim test +} + src_install() { emake DESTDIR="${ED}" -C spim install newman Documentation/spim.man spim.1 @@ -74,7 +82,3 @@ src_install() { dodoc Documentation/TeX/{cycle,spim}.ps fi } - -src_test() { - emake -C spim test -} |