dev-lang/moarvm: Bump
authorPatrick Lauer <patrick@gentoo.org>
Wed, 25 Dec 2019 11:27:14 +0000 (12:27 +0100)
committerPatrick Lauer <patrick@gentoo.org>
Wed, 25 Dec 2019 11:27:14 +0000 (12:27 +0100)
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
dev-lang/moarvm/Manifest
dev-lang/moarvm/moarvm-2019.11.ebuild [new file with mode: 0644]

index 74cc82541cd1e3d74a7cd9d5338e3b5658433260..7dd3d7c0ac6b7a50993a82ecc4490ab8467acb46 100644 (file)
@@ -5,3 +5,4 @@ DIST MoarVM-2018.12.tar.gz 5238765 BLAKE2B ac0a7ba8107bcf79cfa58011c0968b5c960d9
 DIST MoarVM-2019.03.tar.gz 5136086 BLAKE2B 695e5528934002b17f547a281482dc0015b3901b2c9626ce6fcf8aaa2df07c293f501871311ee3be47d009b972ca22a268bb34c859fde6a13566e8d03d1d3f04 SHA512 aa50dcf1499e83247c4c490384f80896160d08fb72a5a6da1f91748c6dc343fa30dcf35adca3e9e8329a2919026a4bdb299129865abf611ce49d73d05cce4285
 DIST MoarVM-2019.07.1.tar.gz 5189731 BLAKE2B 3dde716f6911fb8392346b34763439c37866da34361875e7bf1d9d15a4e2b1d9c1dbb668c42611172dcfd6c9060f9c95ec4bac0e5ac614af3038cc4752d9b6d9 SHA512 c8ffaf962191a60f643e6e1b765ec700664988ffc629765c273baf32d2748763480f9fd7a2d978b7f99d3ba4bf962775f4dca40053ace2ddd8cd0bffbd977d84
 DIST MoarVM-2019.07.tar.gz 5187102 BLAKE2B a9c56453edf5b5834d33187aea6eabacac9a721e7a27471a02b82585560ffbb5bb8807ae8c738f3138c5b0453217ad101aab23bef2c8b727cd2f8a56574abfd5 SHA512 ff5370cb2c7dc4357825f02387757e36a5e03b711021c896043ba5f68e573308146a0d94c7855ec9b4860906a3b0720d316d119ca5bbda908f17d3f4f14f4999
+DIST MoarVM-2019.11.tar.gz 5709053 BLAKE2B 5214a041d02fa9feebf50996460b4a73634bf69dc24edbda72d29fe3045504dde809143ba6edf57602a5207e45a02e9a69cfecd2dca0bb5922e5560dca4e5861 SHA512 d7d7d21ff0e3896b7cb869ea1298f9ff1b041b68062ac509d4571246f96985de0ad48d881f7c988e1ed470c4c5f859f36916bfd764cbc0e988c249682b0b8b41
diff --git a/dev-lang/moarvm/moarvm-2019.11.ebuild b/dev-lang/moarvm/moarvm-2019.11.ebuild
new file mode 100644 (file)
index 0000000..7ca933c
--- /dev/null
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+MY_PN="MoarVM"
+if [[ ${PV} == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
+       inherit git-r3
+       KEYWORDS=""
+       S="${WORKDIR}/${P}"
+else
+       SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
+HOMEPAGE="http://moarvm.org"
+LICENSE="Artistic-2"
+SLOT="0"
+
+#USE=optimize triggers makefile bug
+IUSE="asan clang debug doc +jit static-libs ubsan"
+
+RDEPEND="dev-libs/libatomic_ops
+               >=dev-libs/libuv-1.26
+               dev-lang/lua:=
+               virtual/libffi"
+DEPEND="${RDEPEND}
+       clang? ( >=sys-devel/clang-3.1 )
+       dev-lang/perl"
+
+DOCS=( CREDITS README.markdown )
+
+# Tests are conducted via nqp
+RESTRICT=test
+
+src_configure() {
+       MAKEOPTS+=" NOISY=1"
+       use doc && DOCS+=( docs/* )
+       local prefix="${EPREFIX%/}/usr"
+       local libdir="${EPREFIX%/}/usr/$(get_libdir)"
+       einfo "--prefix '${prefix}'"
+       einfo "--libdir '${libdir}'"
+       local myconfigargs=(
+               "--prefix" "${prefix}"
+               "--has-libuv"
+               "--has-libatomic_ops"
+               "--has-libffi"
+               "--libdir" "${libdir}"
+               "--compiler" "$(usex clang clang gcc)"
+               "$(usex asan        --asan)"
+               "$(usex debug       --debug            --no-debug)"
+               "$(usex static-libs --static)"
+               "$(usex ubsan       --ubsan)"
+       )
+
+       perl Configure.pl "${myconfigargs[@]}" moarshared || die
+}