diff options
author | loong0 <longlene@gmail.com> | 2016-04-07 13:32:39 +0800 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2016-04-15 17:09:39 +0800 |
commit | ba6457489baddf1760a52c41e530771d5183cb89 (patch) | |
tree | 4584c473ba087652a582c97e3accdf6c9eb3ab90 /dev-lang/crystal | |
parent | 0194282a67722323465ea79518a9871168d7cde7 (diff) | |
download | gentoo-ba6457489baddf1760a52c41e530771d5183cb89.tar.gz gentoo-ba6457489baddf1760a52c41e530771d5183cb89.tar.xz |
dev-lang/crystal: version bump to 0.15.0
Closes: https://github.com/gentoo/gentoo/pull/1212
Signed-off-by: Ian Delaney <idella4@gentoo.org>
Diffstat (limited to 'dev-lang/crystal')
-rw-r--r-- | dev-lang/crystal/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/crystal/crystal-0.15.0.ebuild | 71 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index fb38a943cee..b56f9835e93 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -10,3 +10,6 @@ DIST crystal-0.13.0.tar.gz 857842 SHA256 abada1d7bd411dca52ac0df2124a188d61301bd DIST crystal-0.14.2-1-linux-i686.tar.gz 12794759 SHA256 12a8b8b85182a98cc162ae56452ea1226d339964076aef1fd3aa85b424608bf7 SHA512 1e930408b5e09660d73f4dfaf1b1873235167f96844cda7a93724b3a003339e780ad41e5fb29984ac4f1336bb3fd7cf361f6df7628dc86a4f23309044981ab5d WHIRLPOOL 60a01b739f72dab1aaec17461c7cfd510b8f529889212547346da3908302d5af5784e1c754f0eb77058b95ba89d22bdc88510dfa4bb180bd1499b4bad7313b90 DIST crystal-0.14.2-1-linux-x86_64.tar.gz 12381685 SHA256 d4b96e576473a76e17175439c2e380b07feeffbbc5cb07490a96ea4dc533b922 SHA512 1ff1411698a4e5c69889c0014e3362a471d6f773dfb15bdf8fd098f784d7412171f0e1f15d54773c3ad785f4440ab47b0c099f5a57ec866c31d0d0b3f2ccaee3 WHIRLPOOL e45d5392183154568d224f21a7679fc66801adf4c17b9c0397f4d8a8ac29489222149fa01b56ee375014093a4ccfb9dfa47b8a728803a01e5c434975a9158cff DIST crystal-0.14.2.tar.gz 1181264 SHA256 0fdbb8c0ebbc1da0024b19fac193763654b474e3e2db957a4543bfc5ad5dba67 SHA512 ecb5d283b3b6edeff20c266b45dbef9863f1a91761279d549d7eb734a2ac233a3ca8da65f77114e80477d44c36e3825a875b08078eca550fbc902378b2db998d WHIRLPOOL e137212138cbfc06cc60f240862121677be57c51bbdb6115618bb0ae7bc59056888fb95936198761b17690f4b81941f904c19b785ea09262b854fb6970b7544d +DIST crystal-0.15.0-1-linux-i686.tar.gz 12829634 SHA256 438c2b6ae818d6eb9e685ba352bf1310d3baf64c01e80dd9676ce43b63c393c9 SHA512 889ab12dcbd6e317d5d13a46280741a887f6c85c9888450f4a36cbd7f747f1a0475829022aff9faa5805175e967e8e10b4211028d1950bf73c8db18561e87184 WHIRLPOOL bb53e1e39d7148e6b7f238aba5045143c806f02c4b09ecb891909a3d10cd382fd1e7100d88febdf26cfdd7098442a14d8bc6feb72e3401d061dee216f1b90ec1 +DIST crystal-0.15.0-1-linux-x86_64.tar.gz 12414258 SHA256 538d3e327a5237ac521c1053ca1d98565545c3e243dc6bf7298508ae1ff474ab SHA512 f6f3cff8305c63931997279c408b27473118f1a2571885d7d8932a8c9003e5a6796f6ed71cdadbb6e9abc97904862fd224c0d4faa82f8f90051b333502067da5 WHIRLPOOL 25072726b174409296004a15ff32fbbf89800408a848bdb910c33127663d24642c612694bb30748b014f29ae149bb07d76ccf9efe1209ddd98aa8f8c7370b240 +DIST crystal-0.15.0.tar.gz 1188583 SHA256 d79445ec92faa2a045af150fca4886d90ecd9fba27451003b68118c8714b26bd SHA512 48da951e9502d882505d6c0e6dc9e9bc14cf24c3e666b33fe0d76e62fc075d8b80414686a202bbff8fcf77e61ac23438975c58bc011755d63db5a26641977ba7 WHIRLPOOL 796c7d5c70cef833419be07d62f7b389949cede1a01c5c56b9684449b158f813fedd66fc5b5b3ee72647302a6a46105cf89126bed3ab1c49281964d294fa1687 diff --git a/dev-lang/crystal/crystal-0.15.0.ebuild b/dev-lang/crystal/crystal-0.15.0.ebuild new file mode 100644 index 00000000000..4190f0c5d86 --- /dev/null +++ b/dev-lang/crystal/crystal-0.15.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit multilib + +BV=${PV}-1 +BV_AMD64=${BV}-linux-x86_64 +BV_X86=${BV}-linux-i686 + +DESCRIPTION="The Crystal Programming Language" +HOMEPAGE="http://crystal-lang.org" +SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz + amd64? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz ) + x86? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_X86}.tar.gz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples +xml +yaml" + +# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382 +DEPEND=" + <sys-devel/llvm-3.7.0 + dev-libs/boehm-gc[static-libs] + dev-libs/libatomic_ops + dev-libs/libevent + dev-libs/libpcre + sys-libs/libunwind + dev-libs/pcl + dev-libs/gmp:0 +" +RDEPEND="${DEPEND} + xml? ( dev-libs/libxml2 ) + yaml? ( dev-libs/libyaml ) +" + +src_compile() { + emake \ + release=1 \ + threads=4 \ + PATH="${PATH}":"${WORKDIR}"/${PN}-${BV}/bin \ + CRYSTAL_PATH=src \ + CRYSTAL_CONFIG_VERSION=${PV} \ + CRYSTAL_CONFIG_PATH="libs:/usr/$(get_libdir)/crystal" + use doc && emake doc +} + +src_test() { + emake spec \ + CRYSTAL_PATH=src \ + CRYSTAL_CONFIG_VERSION=${PV} +} + +src_install() { + insinto /usr/$(get_libdir)/crystal + doins -r src/. + dobin .build/crystal + + insinto /usr/share/zsh/site-functions + newins etc/completion.zsh _crystal + + use examples && dodoc -r samples + + if use doc ; then + docinto api + dodoc -r doc/. + fi +} |