public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/moarvm/
Date: Sun,  4 Aug 2019 20:07:42 +0000 (UTC)	[thread overview]
Message-ID: <1564949185.116e9c7e2b0c83556761f1e6187be3fdd4c60cb3.kentnl@gentoo> (raw)

commit:     116e9c7e2b0c83556761f1e6187be3fdd4c60cb3
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 19:41:20 2019 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 20:06:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116e9c7e

dev-lang/moarvm: Update live ebuild

- This brings the live ebuild up-to-date with changes already
  dropped in other ebuilds, and then some.
- uses EAPI7
- Omits the 3rd party submodules from fetching
- Removes the no-longer-used `jit` USE flag
- USE="optimize" works again it seems
- Update invocation of configure
- Patch for configure seems no longer needed

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-lang/moarvm/moarvm-9999.ebuild | 36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)

diff --git a/dev-lang/moarvm/moarvm-9999.ebuild b/dev-lang/moarvm/moarvm-9999.ebuild
index f119a7ae28b..575bf022807 100644
--- a/dev-lang/moarvm/moarvm-9999.ebuild
+++ b/dev-lang/moarvm/moarvm-9999.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit flag-o-matic
 
 MY_PN="MoarVM"
 if [[ ${PV} == "9999" ]]; then
 	EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
+	EGIT_SUBMODULES=( '*' '-3rdparty/libatomicops' '-3rdparty/libuv' )
 	inherit git-r3
 	KEYWORDS=""
 	S="${WORKDIR}/${P}"
@@ -21,15 +22,14 @@ DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
 HOMEPAGE="http://moarvm.org"
 LICENSE="Artistic-2"
 SLOT="0"
-IUSE="asan clang debug doc +jit static-libs optimize ubsan"
+IUSE="asan clang debug doc static-libs optimize ubsan"
 
 RDEPEND="dev-libs/libatomic_ops
-		>=dev-libs/libtommath-1.0
-		dev-libs/libuv
-		jit? ( dev-lang/lua:0[deprecated]
-			dev-lua/LuaBitOp )
+		>=dev-libs/libuv-1.26
+		dev-lang/lua:=
 		virtual/libffi"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}
 	clang? ( >=sys-devel/clang-3.1 )
 	dev-lang/perl"
 
@@ -38,24 +38,30 @@ DOCS=( CREDITS README.markdown )
 # Tests are conducted via nqp
 RESTRICT=test
 
+src_prepare() {
+	if [[ "${PV}" == "9999" ]]; then
+		# Stupid upstream try to auto-fetch this themselves
+		git rm -f 3rdparty/{libatomicops,libuv} ||
+			die "Can't strip unused submodules"
+	fi
+	default
+}
+
 src_configure() {
 	use doc && DOCS+=( docs/* )
 	local myconfigargs=(
-		"--prefix=/usr"
-		"--has-libtommath"
+		"--prefix" "/usr"
 		"--has-libuv"
 		"--has-libatomic_ops"
 		"--has-libffi"
-		"--libdir=$(get_libdir)"
-		"--compiler=$(usex clang clang gcc)"
+		"--libdir" "$(get_libdir)"
+		"--compiler" "$(usex clang clang gcc)"
 		"$(usex asan        --asan)"
 		"$(usex debug       --debug            --no-debug)"
-		"$(usex jit         --lua=/usr/bin/lua --no-jit)"
 		"$(usex optimize    --optimize=        --no-optimize)"
 		"$(usex static-libs --static)"
 		"$(usex ubsan       --ubsan)"
 	)
-	use optimize && filter-flags '-O*'
 
-	perl Configure.pl "${myconfigargs[@]}" || die
+	perl Configure.pl "${myconfigargs[@]}" moarshared || die
 }


             reply	other threads:[~2019-08-04 20:07 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-04 20:07 Kent Fredric [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30 15:08 [gentoo-commits] repo/gentoo:master commit in: dev-lang/moarvm/ 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-09-25 13:18 Arthur Zamarin
2023-02-27 16:43 罗百科
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-12-13  0:25 Andreas K. Hüttel
2021-11-25 13:51 罗百科
2021-08-29 15:13 罗百科
2021-07-10 18:54 Sam James
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-03-19  4:12 Sam James
2021-02-22 16:18 罗百科
2020-12-31  7:22 罗百科
2020-12-08 11:44 Marek Szuba
2020-12-08 11:44 Marek Szuba
2020-12-03 22:58 Marek Szuba
2020-11-30  6:20 罗百科
2020-11-16 22:53 Sergei Trofimovich
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-10-04 17:06 Andreas K. Hüttel
2019-08-07 11:42 Kent Fredric
2019-08-06  5:30 Kent Fredric
2019-08-06  5:30 Kent Fredric
2019-08-06  3:20 Kent Fredric
2019-03-26 18:45 Patrick Lauer
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-04 18:11 Patrick Lauer
2018-04-29 18:40 Patrick Lauer
2018-03-30 15:54 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-22 18:46 Patrick Lauer
2017-09-16  5:54 Patrick Lauer
2017-07-28  9:29 Patrick Lauer
2017-06-27 17:20 Kent Fredric
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-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:40 Patrick Lauer
2016-02-03 12:52 Patrick Lauer
2016-01-03 13:05 Patrick Lauer
2015-12-21  9:25 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=1564949185.116e9c7e2b0c83556761f1e6187be3fdd4c60cb3.kentnl@gentoo \
    --to=kentnl@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