summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-01-11 09:36:15 +0300
committerSergei Trofimovich <slyfox@gentoo.org>2017-01-11 11:08:33 +0300
commita95198cad60d8540d46984220b3c76236c88f518 (patch)
tree96105a5d44d7b045d3f94179e18fd1f5b5c943c6 /dev-lang/crystal
parentRevert "profiles: Add arm64-linux to arch list" (diff)
downloadgentoo-a95198cad60d8540d46984220b3c76236c88f518.tar.gz
gentoo-a95198cad60d8540d46984220b3c76236c88f518.tar.bz2
gentoo-a95198cad60d8540d46984220b3c76236c88f518.zip
dev-lang/crystal: bump up to 0.20.4
Package-Manager: Portage-2.3.3_p18, Repoman-2.3.1_p11
Diffstat (limited to 'dev-lang/crystal')
-rw-r--r--dev-lang/crystal/Manifest3
-rw-r--r--dev-lang/crystal/crystal-0.20.4.ebuild69
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index ca4e13e1382..8b7dc6ac1d6 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -18,3 +18,6 @@ DIST crystal-0.20.0-1-linux-x86_64.tar.gz 17612259 SHA256 55f309882b71f1722b00e6
DIST crystal-0.20.0.tar.gz 1493935 SHA256 97118becc450cdfbafd881f8e98e93d9373d71b4994f49f41dec1eaf081e8894 SHA512 0b3c2dbdb9a6f76d1acffc59f637e05ae26eb652a3ec57956c7074848de3540a5c9b7e5c612908dfef59e9319c67827dc9847da563b688f63bddc4f122699cb1 WHIRLPOOL 4165b6b453eac930791776b2719643c6cdebd101dfc535c5bb9af6851cb3fde00a14036cde95e15a6b363d2ebb5886370a7da14043f5a412cbd8738276d177f4
DIST crystal-0.20.1.tar.gz 1506176 SHA256 3792856bfe768421f4f0488dd8717deb0db4c94fee7587d39174f4911ab2c01d SHA512 a1f2cafee0971a010a8c15a1a1299cec1b7b05613458230a6b8ff9f9c9c7db6ef3d709c8834da47dd2a37eb531e49690a8dbb2ef208573bfe8ec41f541ffeec9 WHIRLPOOL 9b150b18923e0aa1c20f4a29853ff66a16ef7ab82e63e8f8b4d26b9fee5354338e79598a327c8241ed9898c7122af1364717e5318fa823cde745c74d846b1586
DIST crystal-0.20.3.tar.gz 1520457 SHA256 5372ba2a35d885345207047a51b9389f9190fd12389847e7f7298618bcf59ad6 SHA512 e0a30a43d1f1a92e50c03f3ef281e1e8feecef6506f77d83bc52c3d46d57da80f656e3092ab1866c6fcc9bcb6ed12d0a4eab6ddd49fc2312904b56fe9cab5aab WHIRLPOOL 9af9d99286083b070b05ac69e693a1e180f6a90dfbca4ba52de741c749ae7cb1d6fb19f71b1383420523f97bbb153e8a23cf326b610aa32197cbe05ec71265bf
+DIST crystal-0.20.4-1-linux-i686.tar.gz 17176550 SHA256 93e7df2bea3220728987a49a2f93d1c615e2ccae63843e0259a5d891c53a0b80 SHA512 c66dd5e417a1875af8ba7b763201cc41f97db9a321a8246607c625d3a447b73fa454c3373e69cd4bcd0ab6a1890cb8a988d0925e44e966e423136736852e10f3 WHIRLPOOL 937af1b3e4c7be0b95e4f33de472d3250a3725d7bf4ee8189fa9b4bfdd9e7963a3b0721f552e61f50a593e8d22d0635bd22ab917e3989d848dd6797b5154f858
+DIST crystal-0.20.4-1-linux-x86_64.tar.gz 17733333 SHA256 cdc11c30235f8bd3b89e1fc13b56838f99d585715fb66563d6599026f5393e37 SHA512 4f443c6e50962f5d7629ea6b3066443b5521cc58066bd944a5f61a1fb4dcd2593b09f71099d2fc86e64c167aa52d8cd566518f8bec30cc7294e03deb1910cf7c WHIRLPOOL 08026df37fefc8d8c3a4d9d9fdd397efbb453b6f2944778f413694d8d9433c62e5837db25caeba1540124aa4cad6847fca1d71f1b148990a09cbb850e6d9500c
+DIST crystal-0.20.4.tar.gz 1537577 SHA256 fd099f278b71bbb5cad1927c93933d1feba554fbf8f6f4ab9165f535765f5e31 SHA512 1ded5cf104314b6b8b76fa519ec87a913a40a8bdb82445fe78b3f942567abe8c354cefcdd360c365e0c9f0756fc0e4819eec681584c11f94c9838e9a61ec89fe WHIRLPOOL f51185267fd2152e7acbb0528cabf17c973e763db3cb097c13ec805cee44f191f9054bb2dfbfa6b885dab850c7a24ae722b0c238c7ba8d1296de1e06060ebba9
diff --git a/dev-lang/crystal/crystal-0.20.4.ebuild b/dev-lang/crystal/crystal-0.20.4.ebuild
new file mode 100644
index 00000000000..b748b2845ca
--- /dev/null
+++ b/dev-lang/crystal/crystal-0.20.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+BV=0.20.4-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.9.0
+ dev-libs/boehm-gc[static-libs,threads]
+ 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="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
+ CRYSTAL_PATH=src \
+ CRYSTAL_CONFIG_VERSION=${PV} \
+ CRYSTAL_CONFIG_PATH="libs:${EPREFIX}/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
+}