diff options
author | loong0 <longlene@gmail.com> | 2016-03-26 11:58:23 +0800 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-03-26 09:32:21 +0000 |
commit | e7a8f56e44a03cc7373d7af8e90412220ea07bbb (patch) | |
tree | 92932095ae274ff0ec5eedb8df556012cc4658af /dev-lang/crystal | |
parent | 3794323a988c6e28ad3de926feb097f6e6c7b773 (diff) | |
download | gentoo-e7a8f56e44a03cc7373d7af8e90412220ea07bbb.tar.gz gentoo-e7a8f56e44a03cc7373d7af8e90412220ea07bbb.tar.xz |
dev-lang/crystal: version bump to 0.14.2
Closes: https://github.com/gentoo/gentoo/pull/1140
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-lang/crystal')
-rw-r--r-- | dev-lang/crystal/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/crystal/crystal-0.14.2.ebuild | 71 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index e762726d5c2..fb38a943cee 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -7,3 +7,6 @@ DIST crystal-0.12.0.tar.gz 851051 SHA256 918bad9b906fe252f3f66685487892ad7c13a31 DIST crystal-0.13.0-1-linux-i686.tar.gz 12337456 SHA256 c99d3513d46a0195625b637d0b3d3ab2b93794575b4cace973ad2f35d9f33105 SHA512 95e0443c1fc363ed065a1f33d62ae2a9ad3be98f46234f2d817e3a295ed1839867942572faa1b5c4b62223feaed2077d800b36225dd3ae01ef7cfb4d3cf1f8b5 WHIRLPOOL 02c153e7911629bf4ddd4e7e81e1a5f31af8dc5e603dc644672baf88cb89867dcab035c746c998f35406fe68fe4875976111f4d3739b31f8f1dcdadeae1ae892 DIST crystal-0.13.0-1-linux-x86_64.tar.gz 11892025 SHA256 43946bad44378f92dd92edaf0fcb04312755c635dd1670eca8387160dd2cefa0 SHA512 ea2ac7a8b68863f62c377f9be2709299ecb80c128a99b92325fa86560319771531911f97e4e5220964507711d730767d25161eb9aa1f33e346e6c450a380716c WHIRLPOOL 5f5c8f420eb2090c7e9a5c3bb27131b9e36f92a8372da6d188bc100f853d0678e9015da4c6a439738eb366c55a08300fe74c227eec1104edbecb81955f662921 DIST crystal-0.13.0.tar.gz 857842 SHA256 abada1d7bd411dca52ac0df2124a188d61301bdcd1fc75e8419a24496ee8ff42 SHA512 4834172808f7035c9478aa342b7bc8fe6349844a6a64d4d2d3dd63ed44658edb0a4d115afee586370c00fc169dd42c2ac4c2027e7e96197c8b5594f103bbf1c7 WHIRLPOOL 5861c20372764258275512f901d66fdfe6f92e01ed56ebea09c9225ecc84248083f23ff1b24cdeccc57f3aa02ce15e0922070469207aebc26a54c2067245b649 +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 diff --git a/dev-lang/crystal/crystal-0.14.2.ebuild b/dev-lang/crystal/crystal-0.14.2.ebuild new file mode 100644 index 00000000000..2d2dac70206 --- /dev/null +++ b/dev-lang/crystal/crystal-0.14.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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 +} |