summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-07-30 10:44:54 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-07-30 10:50:48 +0100
commitbfe7e11a7310fac3d68a0f7716709128206b771d (patch)
tree08012029f4e03000f7751ded42fe9a56c4ea3a1c /dev-lang
parentsys-libs/ldb: Fix version dependency on sys-libs/tdb (bug #590024). (diff)
downloadgentoo-bfe7e11a7310fac3d68a0f7716709128206b771d.tar.gz
gentoo-bfe7e11a7310fac3d68a0f7716709128206b771d.tar.bz2
gentoo-bfe7e11a7310fac3d68a0f7716709128206b771d.zip
dev-lang/crystal: bump up to 0.18.7
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/crystal/Manifest3
-rw-r--r--dev-lang/crystal/crystal-0.15.0.ebuild2
-rw-r--r--dev-lang/crystal/crystal-0.18.7.ebuild71
3 files changed, 75 insertions, 1 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
index b56f9835e93f..a4418c12f497 100644
--- a/dev-lang/crystal/Manifest
+++ b/dev-lang/crystal/Manifest
@@ -13,3 +13,6 @@ DIST crystal-0.14.2.tar.gz 1181264 SHA256 0fdbb8c0ebbc1da0024b19fac193763654b474
DIST crystal-0.15.0-1-linux-i686.tar.gz 12829634 SHA256 438c2b6ae818d6eb9e685ba352bf1310d3baf64c01e80dd9676ce43b63c393c9 SHA512 889ab12dcbd6e317d5d13a46280741a887f6c85c9888450f4a36cbd7f747f1a0475829022aff9faa5805175e967e8e10b4211028d1950bf73c8db18561e87184 WHIRLPOOL bb53e1e39d7148e6b7f238aba5045143c806f02c4b09ecb891909a3d10cd382fd1e7100d88febdf26cfdd7098442a14d8bc6feb72e3401d061dee216f1b90ec1
DIST crystal-0.15.0-1-linux-x86_64.tar.gz 12414258 SHA256 538d3e327a5237ac521c1053ca1d98565545c3e243dc6bf7298508ae1ff474ab SHA512 f6f3cff8305c63931997279c408b27473118f1a2571885d7d8932a8c9003e5a6796f6ed71cdadbb6e9abc97904862fd224c0d4faa82f8f90051b333502067da5 WHIRLPOOL 25072726b174409296004a15ff32fbbf89800408a848bdb910c33127663d24642c612694bb30748b014f29ae149bb07d76ccf9efe1209ddd98aa8f8c7370b240
DIST crystal-0.15.0.tar.gz 1188583 SHA256 d79445ec92faa2a045af150fca4886d90ecd9fba27451003b68118c8714b26bd SHA512 48da951e9502d882505d6c0e6dc9e9bc14cf24c3e666b33fe0d76e62fc075d8b80414686a202bbff8fcf77e61ac23438975c58bc011755d63db5a26641977ba7 WHIRLPOOL 796c7d5c70cef833419be07d62f7b389949cede1a01c5c56b9684449b158f813fedd66fc5b5b3ee72647302a6a46105cf89126bed3ab1c49281964d294fa1687
+DIST crystal-0.18.7-1-linux-i686.tar.gz 14273325 SHA256 b84e9d4050b4667012bd7f59f4802f690a2933188370703558a57c51b7661eb2 SHA512 0733f7dc45c677465f24c5615a6a97739d0f9a7276a31f44d6bd297fa49914058451eb04d2805f1c9835a08006c22caef8a44c4eff273a57b438a48f6e6d8c54 WHIRLPOOL 99668a5fc398422447543aaab34a16ba5bc28035df06cfec6225ea622354e1cdfb765243a0f7c855dfbe907ff1a8130e8526c17b391e4532146cc8edc3832efd
+DIST crystal-0.18.7-1-linux-x86_64.tar.gz 13977303 SHA256 8be06d53e91d14ad05417c5504931b0ac8485a101a98711181b6a40f008f3fa8 SHA512 69366aa66f921534cb8c3f2e03555736d6e451658e0eec1038f26e74bd8ba31c61513d61d52259291431834e8bbd941d6364f329846e81bcdfb05c5d8382343c WHIRLPOOL 7cb68ab111dc5050bb92fffe7a9b243d1bd39d097c4af39d3bb43dd5ec72e1b8e393988550255605a04084afc6e0b19270003b49ff27dd948264cd8afce49291
+DIST crystal-0.18.7.tar.gz 1359375 SHA256 72b33fd4bd903a9f0957c74c2f95429e8c0f94c04df86396711b5560f540805d SHA512 4d176036d0f003cc17be73e6a0a9c5c2c9df2764123051007156d86a7dc967c93821c3e087d8c1e27fe7f7b79efa43ea0503bc902813c5b322ca12cd2212da90 WHIRLPOOL 3f7b266be386459918c2e546faf1c3989e7c285400e1f68d0af15b3a639cf72c6a08e0f821703e0413661d8080da499da22035806e0c0a6169f0dbd43792f93f
diff --git a/dev-lang/crystal/crystal-0.15.0.ebuild b/dev-lang/crystal/crystal-0.15.0.ebuild
index bec9c702236a..822a1fe4761e 100644
--- a/dev-lang/crystal/crystal-0.15.0.ebuild
+++ b/dev-lang/crystal/crystal-0.15.0.ebuild
@@ -41,7 +41,7 @@ src_compile() {
emake \
release=1 \
threads=4 \
- PATH="${PATH}":"${WORKDIR}"/${PN}-${BV}/bin \
+ PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
CRYSTAL_PATH=src \
CRYSTAL_CONFIG_VERSION=${PV} \
CRYSTAL_CONFIG_PATH="libs:/usr/$(get_libdir)/crystal"
diff --git a/dev-lang/crystal/crystal-0.18.7.ebuild b/dev-lang/crystal/crystal-0.18.7.ebuild
new file mode 100644
index 000000000000..33cea22ff726
--- /dev/null
+++ b/dev-lang/crystal/crystal-0.18.7.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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,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
+}