commit: eae40dc11b8e94f58884877c99933cf72629b20c Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Tue Aug 23 14:49:47 2016 +0000 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> CommitDate: Tue Aug 23 14:50:52 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae40dc1
dev-lang/moarvm: Bump Package-Manager: portage-2.3.0 dev-lang/moarvm/Manifest | 1 + dev-lang/moarvm/moarvm-2016.08.ebuild | 62 +++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-lang/moarvm/Manifest b/dev-lang/moarvm/Manifest index b526fc7..4b91190 100644 --- a/dev-lang/moarvm/Manifest +++ b/dev-lang/moarvm/Manifest @@ -3,3 +3,4 @@ DIST MoarVM-2016.04.tar.gz 3332850 SHA256 6fe9000daada59535747f2557cc73573241ba8 DIST MoarVM-2016.05.tar.gz 3343486 SHA256 d59e3b366cd788a9e9aaa747dc0883dc6f41d97cb76a8fb2815bd565ef75498a SHA512 0cc946962b56cd9075013074228cee008c98b43da9bdaadd8ce91aa06d94510df1c4a2877d36945aff30dada01f3bf66c0ef1028c59967d09c0aec662aa87f99 WHIRLPOOL 1681538cb1a2919bfb49e51fe29877392ee0900d38daed1bbdae92d57332de84888f6ecae3bfbfba5b8132f186ebdfa3151a7cd038f10538e09c97ddae953adc DIST MoarVM-2016.06.tar.gz 3345856 SHA256 5bf567890139cce09ade3ad4979908a7cdb36608b1670f958879ea4c4bb2bb41 SHA512 3c4b0357d5f6a0a8edfe7cf716916b08b733f4c522891d7e21be1cb97d55d4071c8798f3f1e614d400f20294db73f225014214e92e511a35cbb8fcc9bafa12d1 WHIRLPOOL fb78bc0689e21ae898ace27ec30e8774ed4bead1178924bf90df17892487cc5c70c4acf20f8ac2098863182da0017a7abc0df5c78f550454f818ef78e11616b2 DIST MoarVM-2016.07.tar.gz 3349812 SHA256 6b78e25a5399744d3e6dc98e896849234dab1760cd618c07cf94a50caac06a6f SHA512 9437b3156556b2363e039e00ab3bcbf3b2436b641bb52edfac16fcbf7d02db2b139a1426ac7d4e1c5387271634a6395160348da492e1be39364d9556af6fb20d WHIRLPOOL a45a5aa7d1c1853be262999cbb0b84441dca3884a4605bc8324c5fd3a6717312a1e3c1636a4f8d28fc28bd3b87734b197ef33d5e8a62b7e78f3b92d942d5e41c +DIST MoarVM-2016.08.tar.gz 3350663 SHA256 8e57d3b89c1d92f37d7d8037306b7a20f09e28dc33f47759fc87bf785490746e SHA512 efbd5807684724c99015aee4a42041f5a1843838a09da71df4c9f2c316316a0f76e3d7ed4adddce8965924e633526bec31bff83c56d5f1c921760c396f6f5035 WHIRLPOOL d40109b8dec4f35ad36c35b6e7128c348df07ef1beabac6c9c7f8826df6fe747b4e0d69e97e291d1122666cfaffd5491dd245c7c4e3c6c966c4ff839a11a0217 diff --git a/dev-lang/moarvm/moarvm-2016.08.ebuild b/dev-lang/moarvm/moarvm-2016.08.ebuild new file mode 100644 index 0000000..5e04529 --- /dev/null +++ b/dev-lang/moarvm/moarvm-2016.08.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +}