commit: fc253594a633371671a281300a7af84e0a31f392 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Fri Feb 3 21:09:29 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Fri Feb 3 21:09:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc253594
dev-lang/rakudo: drop duplicate Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-lang/rakudo/Manifest | 1 - dev-lang/rakudo/metadata.xml | 8 ---- dev-lang/rakudo/rakudo-2022.12.ebuild | 86 ----------------------------------- 3 files changed, 95 deletions(-) diff --git a/dev-lang/rakudo/Manifest b/dev-lang/rakudo/Manifest deleted file mode 100644 index 64b619141..000000000 --- a/dev-lang/rakudo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST rakudo-2022.12.tar.gz 6026527 BLAKE2B d867614310e455ed0453ca41e8320b837839defab8169a70a5866ef530992ef1bdb33c16f6d4c9e5081ea51283803d4d362600e889bb3eb4a0eae658a4f7e1ef SHA512 7df9712f9035c5ead4e9aeb0164dcdfff7ba1ec175cabe192eed084d7d79a848ccfde8d9713b04d684b19e3b0685f784753956cf21e99437ae78bfeaa071eac1 diff --git a/dev-lang/rakudo/metadata.xml b/dev-lang/rakudo/metadata.xml deleted file mode 100644 index 25a60dfe4..000000000 --- a/dev-lang/rakudo/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="clang">Use Clang to compile the MoarVM backend</flag> - <flag name="moar">Use the MoarVM as backend</flag> - </use> -</pkgmetadata> diff --git a/dev-lang/rakudo/rakudo-2022.12.ebuild b/dev-lang/rakudo/rakudo-2022.12.ebuild deleted file mode 100644 index b23d3ceac..000000000 --- a/dev-lang/rakudo/rakudo-2022.12.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit java-pkg-opt-2 - -DESCRIPTION="A compiler for the Raku programming language" -HOMEPAGE="https://rakudo.org" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git" - inherit git-r3 -else - SRC_URI="https://rakudo.org/dl/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Artistic-2" -SLOT="0" -# TODO: add USE="javascript" once that's usable in nqp -IUSE="clang java +moar test" -RESTRICT="!test? ( test ) - primaryuri" -REQUIRED_USE="|| ( java moar )" - -CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]" -RDEPEND="${CDEPEND} - java? ( >=virtual/jre-1.9 )" -DEPEND="${CDEPEND} - clang? ( sys-devel/clang ) - java? ( >=virtual/jdk-1.9 ) - >=dev-lang/perl-5.10" - -pkg_pretend() { - if has_version dev-lang/rakudo; then - ewarn "Rakudo is known to fail compilation/installation with Rakudo" - ewarn "already being installed. So if it fails, try unmerging dev-lang/rakudo," - ewarn "then do a new installation." - ewarn "(see Bug #584394)" - fi -} - -src_configure() { - local backends - use moar && backends+="moar," - use java && backends+="jvm" - - local myargs=( - "--prefix=/usr" - "--sysroot=/" - "--sdkroot=/" - "--backends=${backends}" - ) - - perl Configure.pl "${myargs[@]}" || die - - if use java; then - NQP=$(java-pkg_getjars --with-dependencies nqp) - fi -} - -src_compile() { - emake NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" -} - -src_install() { - emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" install - # install-dist.raku is required for installing raku modules - exeinto "/usr/share/perl6/core/tools" - doexe tools/install-dist.raku - # Protect important directories from removal - for repo in site vendor - do - keepdir /usr/share/perl6/$repo/bin - keepdir /usr/share/perl6/$repo/dist - keepdir /usr/share/perl6/$repo/precomp - keepdir /usr/share/perl6/$repo/resources - keepdir /usr/share/perl6/$repo/short - keepdir /usr/share/perl6/$repo/sources - done -} - -src_test() { - RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default -}