summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorloong0 <longlene@gmail.com>2016-03-20 21:28:45 +0800
committerPatrice Clement <monsieurp@gentoo.org>2016-03-20 22:45:54 +0000
commit2a42e9ea24a1ca2a647647380f085dd9ebe6a8a8 (patch)
tree6d425d47b264255236f1b2b951f9a097f6d9ec13
parentdev-java/shared-objects: EAPI 5 bump. Switch to java-pkg-simple. (diff)
downloadgentoo-2a42e9ea24a1ca2a647647380f085dd9ebe6a8a8.tar.gz
gentoo-2a42e9ea24a1ca2a647647380f085dd9ebe6a8a8.tar.bz2
gentoo-2a42e9ea24a1ca2a647647380f085dd9ebe6a8a8.zip
dev-lang/crystal: version bump to 0.13.0
Closes: https://github.com/gentoo/gentoo/pull/1095
-rw-r--r--dev-lang/crystal/Manifest3
-rw-r--r--dev-lang/crystal/crystal-0.13.0.ebuild70
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index 650b639f789d..51a4661aa39a 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -10,3 +10,6 @@ DIST crystal-0.11.1.tar.gz 830437 SHA256 bdff81fcb4f2dfdd50d79abba8a1ed0260bad4c
DIST crystal-0.12.0-1-linux-i686.tar.gz 12301739 SHA256 0595aab4336e48d0d04f0a0f172f641ebb1c17ebdb6e2eebbbfa36a650323242 SHA512 b893f1c36f658356b19257c7eb60219d2dd0a20f00d8d27ce4f3136a05153d4e3ded090979623f2895eb7b0070a902b59cdc891aba88515ee6ba9e6cf065351c WHIRLPOOL dc81e6e0ea6619e697ae81a247849bf2bf10b5134f45fd2979a7bbfa7e1be53a5f79890ecebeab9f35c86b58bfca486c0e071c5baee06600c0d76cf1f6db3224
DIST crystal-0.12.0-1-linux-x86_64.tar.gz 11874469 SHA256 ecd444dab34803fd97dcb9f82da47c60fad9de3c2f43d20195108d678e874f16 SHA512 ffea0d3a9864249a91d9a8243ffdb39c8bd54e931479b35414065fe30d5d2d79f5f4b743eaf3f7e8936a183673e2ff3ccb83fa5f2a9e2521443eb0632f5f6723 WHIRLPOOL 3938a93c5647f784e1782e747a432668726bf901f2aa1ac0992ff19ac69a008313d3922e492343deda7ae1786847c4fb2781ac26c34870d3e2aa0f378c38b5bc
DIST crystal-0.12.0.tar.gz 851051 SHA256 918bad9b906fe252f3f66685487892ad7c13a31135aa5874ac1e52ea399328e3 SHA512 86ba58e3f69ecada49a8e6596f49cc4e4becb109c2725b9436eb5aa587c247aa4c309242e3fdc5d6a655726595005db4e33fcf868d7c888448c58af74d1b947f WHIRLPOOL 4523f8a1904feade28584ce828fbb96d302f6976f6a0a7836c4b8cc40ac4cc2c28c9b41eb2da6dead314dbaa3422f46727cce2443e10776cd271627fb4c3d2d6
+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
diff --git a/dev-lang/crystal/crystal-0.13.0.ebuild b/dev-lang/crystal/crystal-0.13.0.ebuild
new file mode 100644
index 000000000000..a5efdcd33d26
--- /dev/null
+++ b/dev-lang/crystal/crystal-0.13.0.ebuild
@@ -0,0 +1,70 @@
+# 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 \
+ 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
+}