summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2017-04-08 06:54:11 +0000
committerPatrick Lauer <patrick@gentoo.org>2017-04-08 06:54:11 +0000
commitda6574cc9d0b830df66f6c8a0008f071c4383b42 (patch)
tree8a579b1f53c9451f9a60c252d60c121c82ebed45 /dev-lang/moarvm
parentnet-libs/nodejs: Bump (diff)
downloadgentoo-da6574cc9d0b830df66f6c8a0008f071c4383b42.tar.gz
gentoo-da6574cc9d0b830df66f6c8a0008f071c4383b42.tar.bz2
gentoo-da6574cc9d0b830df66f6c8a0008f071c4383b42.zip
dev-lang/moarvm: Bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-lang/moarvm')
-rw-r--r--dev-lang/moarvm/Manifest1
-rw-r--r--dev-lang/moarvm/moarvm-2017.03.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-lang/moarvm/Manifest b/dev-lang/moarvm/Manifest
index 511c903d0051..d71a26146286 100644
--- a/dev-lang/moarvm/Manifest
+++ b/dev-lang/moarvm/Manifest
@@ -3,3 +3,4 @@ DIST MoarVM-2016.11.tar.gz 3402963 SHA256 5eaa8ff47b1c25e023a900947f88222fffe088
DIST MoarVM-2016.12.tar.gz 3409704 SHA256 70abf2f9aca87fecb73603843137016dd29aa40b92af0e3e06c608561ecf9721 SHA512 af1db57818fbe3f11a0b8fbe329cb81d953da42bb1e4e6284a79620bdd4fb3fdadf44274420f9e2be254e2642adc7a773e7c9e2d0638242077743a35c46a146e WHIRLPOOL 916431a779a5987bd8e74362dff553908c3f5a17e4d4c733c822909264747a307731bef99f0e7e37fc29772e594546bb517b5a1751640de82b9729670af2f1a1
DIST MoarVM-2017.01.tar.gz 3718510 SHA256 2074693a42a7f31218bf69b70fd5b73d6fd1a1d0e31eaf3f528e204963e94c53 SHA512 d31b292edc4468c4dd26a367944230ce02286cc601c231b175273b0c61d1fb907aced5b63c1f7426eabfd9148b17aee63dea12c74829206fb38250cd4193804f WHIRLPOOL 83a01f8e54b427d1a958df56f13cc780f85978ecb81b01430e074fe1ef948552866ab321131637cc0ffa33b0fb182c4e566c595a8d49775ba262602e4b3dd120
DIST MoarVM-2017.02.tar.gz 3775575 SHA256 3a486ca5d19a8e6256e379655ec9ed09ff2f1c4f6a57a7969a278819b5bcb4eb SHA512 9b15eb62863f828f4ec3d97c6668b26c51abb50dd277a63e54e919782f5efd1db1a14864b1ac4b8cf1244ee1012ef1c06a802815eaae5dc404d1ece31503ce4a WHIRLPOOL 3878445ef324fb06afce0c962dde5ff1ba0cad9b44d899c3a432b840de7936581bf16d50b5c28c92f9807bc5ac481ebc2b8bdc3e3c6b973e228747662bd163b2
+DIST MoarVM-2017.03.tar.gz 4361623 SHA256 c562a91d462a15f3a964969ddea8b33eae4558e3b25d9e2105f81c259249dbee SHA512 2dfc1a75876d2744d74b1c2df6cbdec1fb73650bde755a534764ca564a3a7c9435691e60ee15f78df798e276c0af3c4db19e4f67df058a79aaa201aab3f96443 WHIRLPOOL 060204b69e91822dc2bb3fe0d6eaeaf9e7331b2e41d058e2025d0c3ffeed5d888acc14ca6ad820bb6f8ea0a652db5096f1598bd11c14c5e3f3699aa9ddb7de23
diff --git a/dev-lang/moarvm/moarvm-2017.03.ebuild b/dev-lang/moarvm/moarvm-2017.03.ebuild
new file mode 100644
index 000000000000..44513e80382d
--- /dev/null
+++ b/dev-lang/moarvm/moarvm-2017.03.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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"
+IUSE="asan clang debug doc +jit static-libs optimize ubsan"
+
+RDEPEND="dev-libs/libatomic_ops
+ dev-libs/libtommath
+ dev-libs/libuv
+ jit? ( dev-lang/lua:0[deprecated]
+ dev-lua/LuaBitOp )
+ 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() {
+ use doc && DOCS+=( docs/* )
+ local myconfigargs=(
+ "--prefix=/usr"
+ "--has-libtommath"
+ "--has-libuv"
+ "--has-libatomic_ops"
+ "--has-libffi"
+ "--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
+}