summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-10-07 21:10:24 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-10-07 21:18:24 +0100
commitcac7f2423d409ba14e2a96ebe0311ce9278747c9 (patch)
treed66b32cc7ea5caca209d78c806aafb1ebca601c7 /dev-lang
parentdev-util/buildbot-www: Version bump, clean up old releases (diff)
downloadgentoo-cac7f2423d409ba14e2a96ebe0311ce9278747c9.tar.gz
gentoo-cac7f2423d409ba14e2a96ebe0311ce9278747c9.tar.bz2
gentoo-cac7f2423d409ba14e2a96ebe0311ce9278747c9.zip
dev-lang/crystal: bump up to 0.19.4
Package-Manager: portage-2.3.1
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/crystal/Manifest3
-rw-r--r--dev-lang/crystal/crystal-0.19.4.ebuild69
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index a9c0e690deef..81dedb9dcc61 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -10,3 +10,6 @@ DIST crystal-0.19.2.tar.gz 1413666 SHA256 18b8b847162529b1ea6e886ad2fbe344a1bcb2
DIST crystal-0.19.3-1-linux-i686.tar.gz 17414435 SHA256 583796b46cf6cf569d9292c7b781818a046fea4ad59346d397ad728dc0fad06d SHA512 4dd18fa8d764db0b2d299f79138a866ff0969f06bcc4405f2dca426ff80bb5db607f71e3d9aff8871217ca9a5a4e383eb5eb4a30a8a04313dbe7032be4a70865 WHIRLPOOL a3de3acaf04c84c4502b0fe9616eb56b13d3e14a102042f51badb94a0e96ca92fa910b2f2aa7d9d2d4718c8b5b1f5a460e9302b47362252c65c7a944f045c3cb
DIST crystal-0.19.3-1-linux-x86_64.tar.gz 16859014 SHA256 e4284e4796e543f90e8e7bef8fb94455c5d98d1e29ed8f5519d13f07a962d335 SHA512 57c411a4d905e2ba20090203f52505628fc51148cfbd520af0c572939c22ad93a43b2e417d6809e4cc36e18e652d9d745922e6049b6456158cc33bbfebbb7ee9 WHIRLPOOL dc9efd4467fe8ac375a82dff65d17b5dab1548d6503abff288272f093b97dac49f78567a4bb9f331e95f4f0c5c56dc68d55a2dc4e1f819dac453fb78ece36077
DIST crystal-0.19.3.tar.gz 1419010 SHA256 72954087131bd648735bc397cfd585204087a4b8ab7f927f0a054741381ea01f SHA512 a2484e3fd5c8c2a76fee44ca3af9c680fd09946b4a060faf1694c776d73dca68fbfb70d130a3544f6b8d89f8b1ad68a6ce284297276b53a5d86491cb17d78d66 WHIRLPOOL 2fb742221dadf7d956ad6a6a85b00862f1289e3cd45a0a8b7733259ec22d4f4d9a816628138fb6d0afabf233846537f89ec1af69f01caf11bb51039201b7c2d4
+DIST crystal-0.19.4-1-linux-i686.tar.gz 17453760 SHA256 ed03a81e614384f578e22a30ade9bed0149502ef28b874770994dcdd065ec10c SHA512 523b6b76549cddec7f957401bed1fb7a2e843340be0246f3199570b994d169cf88163eb1e49ba9f7f67622e2e059ba53724a3124a8c16c6482550020e54572c7 WHIRLPOOL c733d0d82788ac8e750159e4a8134f3e8861901a74aaa06ab3e69db7b25a234b46845097039ae0c6e85fae91197ad0558ed2d6732acc0d89afe3b49da8a15696
+DIST crystal-0.19.4-1-linux-x86_64.tar.gz 16884655 SHA256 f1e06bd5762abfb6b079252fa7062438f595df4e7d21593ecda0e775e2220e02 SHA512 70e4c8b5a24d2c8075f1774f8ee8eeb87e0c1cfc22b3c7a54ea9cb8d38c71d0d6b6a11ade907ac7d4205b7a9872444e29baf022beaf7c2e6624ef7b6ada7f113 WHIRLPOOL 284248c7a7f9f4efa944c000490c09a8f4fc301aec164d8b89d86193f6ba5f90801a3981bda4030fa7e6958c1bbbb8d4ae0eecf2afacdeecfe03e777d03676b2
+DIST crystal-0.19.4.tar.gz 1431890 SHA256 e239afa449744e0381823531f6af66407ba1f4b78767bd67a9bb09d9fcc6b9e4 SHA512 44127cbe022dfb596bab25d0d617f41e013537584f52d31df891c716a6b23612fc7e28a7000a1d02378f7a7410745f22e703084070f7e2bc61d467192e924505 WHIRLPOOL d580196ea63fc86e6f98cb995fad6fc2406a0327423b981e14c0c407cba85d8891a8df9d74cd2b17b96ee29e7f8ca55d791ee4dc52dedcd637e4effa769c13e4
diff --git a/dev-lang/crystal/crystal-0.19.4.ebuild b/dev-lang/crystal/crystal-0.19.4.ebuild
new file mode 100644
index 000000000000..2523f2fc8d01
--- /dev/null
+++ b/dev-lang/crystal/crystal-0.19.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+BV=0.19.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.8.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
+}