public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rakudo/
Date: Sun, 29 Apr 2018 18:40:13 +0000 (UTC)	[thread overview]
Message-ID: <1525027209.d479f90b4b50efa1f1cd405368f4e0cf7a63c17b.patrick@gentoo> (raw)

commit:     d479f90b4b50efa1f1cd405368f4e0cf7a63c17b
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 29 18:39:13 2018 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Apr 29 18:40:09 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d479f90b

dev-lang/rakudo: Bump

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-lang/rakudo/Manifest              |  1 +
 dev-lang/rakudo/rakudo-2018.04.ebuild | 72 +++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-lang/rakudo/Manifest b/dev-lang/rakudo/Manifest
index cf6b3cc55d0..dd09796f1c5 100644
--- a/dev-lang/rakudo/Manifest
+++ b/dev-lang/rakudo/Manifest
@@ -2,3 +2,4 @@ DIST rakudo-2018.01.tar.gz 3089785 BLAKE2B 6e74c17b44e489a5a1a60f177290962eac752
 DIST rakudo-2018.02.1.tar.gz 3478957 BLAKE2B 39568af458cc15705db48f607675a7ca4fe2d6430fdaac42e37b7096f0974d42788fa0965ee9da61c2ae56dafb27e3d759007c6600f291a07c0dc50dd1d34638 SHA512 59be2c41e6b1784fb9eaf7590ee77d8424c449d7c58e93c66f3adde5be3fe05260c41c01171c8fb59542b32bb5ee5064e1c9be69efc3e8cb20554b09b10240ea
 DIST rakudo-2018.02.tar.gz 3478799 BLAKE2B 36f50a38c26e9b96a31d63566337315bed41bdd9b19e3b4e74dcdd1e0b56a060b0fcd7430078250e7e3b45473f7ee08ee0f059f10e1d01a24f0a3f08fe43c158 SHA512 743dbe01c20388e7c0f1af6f8175def283f9c92ac6f2c3b7d8c442c03d5204de8bd12d33f6ee99d75f9c0a171ca96cc2a3438b2ebfa0265d80441b353c64bbc4
 DIST rakudo-2018.03.tar.gz 3492524 BLAKE2B be2d9fbc8789e78025e18da873873d99872984815a56c0e255487b4250c900e142dbcdb5ce8eede496504401ca37c0e433fb9060fc5f4e8ac0b2778fc35cff62 SHA512 b644f333f6b9501631ee95949017b9e39416311853880a71bc714bb36f2da448fc57147f819d876f6d7ab207c2921474f94e25a4df90c735ba15f270f0c1fd7b
+DIST rakudo-2018.04.tar.gz 3512276 BLAKE2B 9d9bb4070a27ce3185c5ebc2627a5f05359d23fc9377954c30edac7f36bbe4089d3b35da0e2ec17a20c155d857219aa962baa058e393bc6690e2ba30731cfa73 SHA512 5a549113583ce94c2606b7aa5fad2089f1ccebd50f503ce0eb24163599ed3aacd26dd876c6ace675798d577b8063ba260c1b4553c382cf4d13041d692a5bdf6a

diff --git a/dev-lang/rakudo/rakudo-2018.04.ebuild b/dev-lang/rakudo/rakudo-2018.04.ebuild
new file mode 100644
index 00000000000..b442d400879
--- /dev/null
+++ b/dev-lang/rakudo/rakudo-2018.04.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit java-pkg-opt-2
+
+DESCRIPTION="A compiler for the Perl 6 programming language"
+HOMEPAGE="http://rakudo.org"
+
+if [[ ${PV} == "9999" ]]; then
+	EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
+	inherit git-r3
+	KEYWORDS=""
+else
+	SRC_URI="https://rakudo.perl6.org/downloads/${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"
+REQUIRED_USE="|| ( java moar )"
+
+CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
+RDEPEND="${CDEPEND}
+	java? ( >=virtual/jre-1.7 )"
+DEPEND="${CDEPEND}
+	clang? ( sys-devel/clang )
+	java? ( >=virtual/jdk-1.7 )
+	>=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 DESTDIR="${D}" 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
+}


             reply	other threads:[~2018-04-29 18:40 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-29 18:40 Patrick Lauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01 13:05 [gentoo-commits] repo/gentoo:master commit in: dev-lang/rakudo/ Patrick Lauer
2024-11-01 13:05 Patrick Lauer
2024-08-30 15:08 Patrick Lauer
2024-08-30 15:08 Patrick Lauer
2024-06-24  9:26 Patrick Lauer
2024-05-06  9:04 Patrick Lauer
2024-05-06  9:04 Patrick Lauer
2024-03-16 13:02 Patrick Lauer
2024-03-16 13:02 Patrick Lauer
2024-01-06  6:19 罗百科
2023-10-30  6:57 罗百科
2023-02-27 16:43 罗百科
2023-02-27 16:43 罗百科
2023-02-27 16:43 罗百科
2022-06-21 13:50 罗百科
2022-03-03 18:17 罗百科
2021-11-29  0:42 Sam James
2021-11-25 13:51 罗百科
2021-08-29 15:13 罗百科
2021-06-23 15:17 罗百科
2021-06-23 15:17 罗百科
2021-05-16 21:08 Andreas K. Hüttel
2021-03-26 19:46 Conrad Kostecki
2021-02-22 16:18 罗百科
2020-12-31  7:22 罗百科
2020-11-30  6:20 罗百科
2020-10-26 16:27 罗百科
2020-10-04 13:24 罗百科
2020-08-24  5:00 罗百科
2020-08-24  5:00 罗百科
2020-08-13  5:22 罗百科
2020-07-09 14:33 罗百科
2020-06-08 15:32 罗百科
2019-12-25 11:31 罗百科
2019-12-25 11:29 罗百科
2019-03-16 16:57 Patrick Lauer
2019-01-26 15:49 Patrick Lauer
2018-09-29  7:04 Patrick Lauer
2018-09-29  7:04 Patrick Lauer
2018-09-10 16:56 Patrick Lauer
2018-07-07  6:49 Patrick Lauer
2018-05-26 16:30 Patrick Lauer
2018-05-13 19:20 Aaron Bauman
2018-05-04 18:11 Patrick Lauer
2018-03-30 15:54 Patrick Lauer
2018-02-27 17:13 Patrick Lauer
2018-02-27 17:13 Patrick Lauer
2018-02-22 18:57 Patrick Lauer
2018-02-13 19:16 Patrick Lauer
2018-01-13 15:21 Patrick Lauer
2017-12-16 16:13 Patrick Lauer
2017-11-02  6:19 Patrick Lauer
2017-09-22 18:46 Patrick Lauer
2017-09-16  5:54 Patrick Lauer
2017-07-28  9:29 Patrick Lauer
2017-06-26 13:50 Patrick Lauer
2017-06-03  7:06 Patrick Lauer
2017-04-25 11:10 Patrick Lauer
2017-04-08  6:57 Patrick Lauer
2017-03-10 15:58 Patrick Lauer
2017-01-28 21:16 Patrick Lauer
2016-12-28 17:23 Patrick Lauer
2016-12-28 17:23 Patrick Lauer
2016-11-25 18:53 Patrick Lauer
2016-10-20 16:49 Patrick Lauer
2016-09-30 13:13 Patrick Lauer
2016-08-23 14:51 Patrick Lauer
2016-07-20  9:18 Patrick Lauer
2016-06-28 12:29 Patrick Lauer
2016-06-02 12:55 Amy Winston
2016-06-02 12:55 Amy Winston
2016-06-02 12:55 Amy Winston
2016-05-08 20:21 Amy Winston
2016-05-02 14:56 Patrick Lauer
2016-03-24 11:39 Patrick Lauer
2016-02-23 10:31 Patrick Lauer
2016-02-09  9:47 Patrick Lauer
2016-02-09  9:34 Patrick Lauer
2016-02-03 15:14 Patrick Lauer
2015-12-21  9:35 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525027209.d479f90b4b50efa1f1cd405368f4e0cf7a63c17b.patrick@gentoo \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox