diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-25 00:12:20 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-25 00:12:20 +0100 |
commit | 996a2bda06cb164877d5d952774a6db1b271c2f3 (patch) | |
tree | 31930352b48fc7622d658ae37658c57ad9511ef6 /dev-lang/rakudo | |
parent | 67e5603b2844a6657dd0438fa26626b013e5567f (diff) |
gentoo auto-resync : 25:06:2024 - 00:12:20
Diffstat (limited to 'dev-lang/rakudo')
-rw-r--r-- | dev-lang/rakudo/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/rakudo/rakudo-2024.05.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-lang/rakudo/Manifest b/dev-lang/rakudo/Manifest index dde9122e584e..536638d110ef 100644 --- a/dev-lang/rakudo/Manifest +++ b/dev-lang/rakudo/Manifest @@ -1,5 +1,7 @@ DIST rakudo-2024.02.tar.gz 6879828 BLAKE2B aa361c9e21c34cc5c737390ab6b1b8828afaa6aafaa604dbde273d68084cd0cebaf9c8bd796a394844f05b7bafc4f5d2db8a80a7bc1be8baab52b7a7f858bfa2 SHA512 b9bfdcbaf7daa80e6dfe1fb96e68482d2b110cca03067ef4e3e12270897ef0d53710d90fda97254c4cc012b3cdc4ec0c5d4a25facc5a0224a7579b96f9cd7aa3 DIST rakudo-2024.04.tar.gz 6908669 BLAKE2B 681a13e0fcefd8a0187f99a4bd92f72833a74870933497f6cb8de0b2ab3ddf07ee4c492760c53cd623f6d7afd3593194748882400ea94e703363c58fc4ea3d2c SHA512 98b4dd35456df1774a320dbd53ffecc72323d91c260ce1264b2056624e8cdf8a47cfcd89b775411f8bf3fb1f1b4725e2b75c7724c5891a4d366e5ba3f2a11cd4 +DIST rakudo-2024.05.tar.gz 6923643 BLAKE2B 9ec3796a2638489dea1bea510e1fdb6b1877011944dd50e2a8211f5b2d564ae7767dac3dc6510ce281c0df840aea3c1888b1d13cac461ecf3c5b031e6d6d27da SHA512 12b0c61c3c13fbb80bc281c4fa2c9e2ecc2b9f24b11501ff05fe82f3208c8b2adec94f2181ca0926f40da4f27d611aa2420304c837d03a9f597925b78f837b82 EBUILD rakudo-2024.02.ebuild 1598 BLAKE2B 513ea2ba61a1160bcbdd33457a499c9264e7366cae7cfef681440cfd789ea7da5815f50016bb96a275c1ecca3f9b3bec5bfb2d8acd0372ddbaa265ba33103a97 SHA512 32fb5f6ea2fd9deec33076124d51fba1b9fa6f94a4995013840faafc64691d44290087e9c4ea5507fe2fa4898f7e25e3544102fbb30ea7d3bf481b33eebad470 EBUILD rakudo-2024.04.ebuild 1598 BLAKE2B 513ea2ba61a1160bcbdd33457a499c9264e7366cae7cfef681440cfd789ea7da5815f50016bb96a275c1ecca3f9b3bec5bfb2d8acd0372ddbaa265ba33103a97 SHA512 32fb5f6ea2fd9deec33076124d51fba1b9fa6f94a4995013840faafc64691d44290087e9c4ea5507fe2fa4898f7e25e3544102fbb30ea7d3bf481b33eebad470 +EBUILD rakudo-2024.05.ebuild 1598 BLAKE2B 513ea2ba61a1160bcbdd33457a499c9264e7366cae7cfef681440cfd789ea7da5815f50016bb96a275c1ecca3f9b3bec5bfb2d8acd0372ddbaa265ba33103a97 SHA512 32fb5f6ea2fd9deec33076124d51fba1b9fa6f94a4995013840faafc64691d44290087e9c4ea5507fe2fa4898f7e25e3544102fbb30ea7d3bf481b33eebad470 MISC metadata.xml 396 BLAKE2B 43b55c331967d55e0a5c8d2dad7399c20b4104494cf3310b5a95dbef537d07908135c7f9c7829c737f64466660056de8c5656637b54079fef0f90ea4cfef5f1e SHA512 163828a65041f6d74931e32b6edf8c58ddb59151f8c68519165e81003886ce67ff4bcd21e69dc8a1fb96e4b8189fb611dcf8b9d73a52b257ccc24de516185fae diff --git a/dev-lang/rakudo/rakudo-2024.05.ebuild b/dev-lang/rakudo/rakudo-2024.05.ebuild new file mode 100644 index 000000000000..2af8fe10b2b6 --- /dev/null +++ b/dev-lang/rakudo/rakudo-2024.05.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 )" +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 +} + +src_test() { + RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default +} |