summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-11-22 21:35:39 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-11-22 23:09:43 +0000
commit868ad57b41e5fada3dfa9cd182e813090a02f479 (patch)
tree8d4628b89ff15abb42d53edc01a208fe0ef82f26 /dev-lang
parentvirtual/perl-*: -r1 bump to propagate subslot dep (diff)
downloadgentoo-868ad57b41e5fada3dfa9cd182e813090a02f479.tar.gz
gentoo-868ad57b41e5fada3dfa9cd182e813090a02f479.tar.bz2
gentoo-868ad57b41e5fada3dfa9cd182e813090a02f479.zip
dev-lang/crystal: bump up to 0.20.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/crystal/Manifest3
-rw-r--r--dev-lang/crystal/crystal-0.20.0.ebuild69
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index 81dedb9dcc61..65a817ab5185 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -13,3 +13,6 @@ DIST crystal-0.19.3.tar.gz 1419010 SHA256 72954087131bd648735bc397cfd585204087a4
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
+DIST crystal-0.20.0-1-linux-i686.tar.gz 18067976 SHA256 008cf927a4add816c038d2c07e2e9953c1cdaf5df9d696aefee9990bc84174ba SHA512 4f71eea924acf507a0907deb0f708730ce1d69fd6b4bce4e7eef06b1a5b0b2ab8fcfb1ddb8c60afd1154bffddd95f1b12df2bef078a1ccc91d273c1072bbd300 WHIRLPOOL 701e9d6a3f0aa20c043e2011c5e4fbd84f19b4eb5a659d56c125038a286aa8c3534f19a6ad049ded4fa19cf201405715050b10598e7a471bb11fbaf92e3764c3
+DIST crystal-0.20.0-1-linux-x86_64.tar.gz 17612259 SHA256 55f309882b71f1722b00e63c5e91bcf8be54865b9bc9e7bb85f333b94990e298 SHA512 f8a4f6abbb2ba1e3b97a5686cb90ca73f16765d881a6762f0dbadb10217b3fe321e54d03511680450af8a55b79edd7586b1fe9f9d4170aeece3aae9f3cf399b4 WHIRLPOOL ba9d8494088fee9c9b7b02bb2804e18b669712af074e1a09cf3807441f7096024831c32274a754884d874d06f30a9c5b2e5a462006ec3f4000d1a227e2fbee4d
+DIST crystal-0.20.0.tar.gz 1493935 SHA256 97118becc450cdfbafd881f8e98e93d9373d71b4994f49f41dec1eaf081e8894 SHA512 0b3c2dbdb9a6f76d1acffc59f637e05ae26eb652a3ec57956c7074848de3540a5c9b7e5c612908dfef59e9319c67827dc9847da563b688f63bddc4f122699cb1 WHIRLPOOL 4165b6b453eac930791776b2719643c6cdebd101dfc535c5bb9af6851cb3fde00a14036cde95e15a6b363d2ebb5886370a7da14043f5a412cbd8738276d177f4
diff --git a/dev-lang/crystal/crystal-0.20.0.ebuild b/dev-lang/crystal/crystal-0.20.0.ebuild
new file mode 100644
index 000000000000..79f5e1622478
--- /dev/null
+++ b/dev-lang/crystal/crystal-0.20.0.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=${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.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
+}