diff options
author | loong0 <longlene@gmail.com> | 2016-01-28 13:14:42 +0800 |
---|---|---|
committer | loong0 <longlene@gmail.com> | 2016-01-28 19:15:20 +0800 |
commit | c0bd68d595b3687190c32676a76e39ba6e89363b (patch) | |
tree | c545d49e76f0946757eb8853ed68c420467ac4b0 | |
parent | kde-plasma: version bump 5.5.4 (diff) | |
download | gentoo-c0bd68d595b3687190c32676a76e39ba6e89363b.tar.gz gentoo-c0bd68d595b3687190c32676a76e39ba6e89363b.tar.bz2 gentoo-c0bd68d595b3687190c32676a76e39ba6e89363b.zip |
dev-lang/crystal: version bump to 0.11.1
-rw-r--r-- | dev-lang/crystal/Manifest | 15 | ||||
-rw-r--r-- | dev-lang/crystal/crystal-0.11.1.ebuild | 70 |
2 files changed, 79 insertions, 6 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index 5aa669aa969b..1ad8e764e51b 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -1,6 +1,9 @@ -DIST crystal-0.7.7-1-linux-i686.tar.gz 11289486 SHA256 7a1ccdce29c1437da1cbaafa3fefd5ebc3c4b84b885964a6d4eaf8bfc5922831 -DIST crystal-0.7.7-1-linux-x86_64.tar.gz 10907197 SHA256 433acbe8e88fe0c3df67ad64bd436349a6bcfc146284f0a690283ebefb93b5e6 -DIST crystal-0.7.7.tar.gz 709692 SHA256 5506f69ed59592666aa667a33ba90b07f1de2cc1ebeee25e771715f8521065f8 -DIST crystal-0.8.0-1-linux-i686.tar.gz 11465702 SHA256 47b96c790458daa4179a777ba9356959e597f38cfda535a3f9069d46b362579d -DIST crystal-0.8.0-1-linux-x86_64.tar.gz 11004413 SHA256 6a0414b903cd99bfed8ebe2a447dc0c85f4fbc31e493064e44d37770e95a4b0e -DIST crystal-0.8.0.tar.gz 731304 SHA256 986a000bb2eded22e446fd55c543062770ec4000e28791f0b07f63fcee37b245 +DIST crystal-0.7.7-1-linux-i686.tar.gz 11289486 SHA256 7a1ccdce29c1437da1cbaafa3fefd5ebc3c4b84b885964a6d4eaf8bfc5922831 SHA512 758e1c6b9a00fca3080abd33adbb995157ad8a335e58899b7c6aba4d9eea5ff4cae27ac1476865b04d6b349dfd2bea0809fea7fcadcd5b08f617f30ec3e809cf WHIRLPOOL 465c3455d5ec1200345e6735e4616269f43e1e31097f22f81d0d3e6e6b3ea18f786e647da9d0d97da73de057a222d8ef234c3dbb4978a3a730ee1b498e709116 +DIST crystal-0.7.7-1-linux-x86_64.tar.gz 10907197 SHA256 433acbe8e88fe0c3df67ad64bd436349a6bcfc146284f0a690283ebefb93b5e6 SHA512 c2e895d3bc3c92da49aca6eba3f2cf5cefe5d88cf49c4230f887dd81d094a4a78d67eb10fcec8445fd66e29ad5167108807362ae9257c89859d2aa6c614ab0a9 WHIRLPOOL c1970d4ec8cde2bb181749f1d5d8d80ba4b309f07ce176d5d6312f6e978e0de8db83914e967da9d4995ee243d57cd0bb50739f5b726ff43a2553b65f00112477 +DIST crystal-0.7.7.tar.gz 709692 SHA256 5506f69ed59592666aa667a33ba90b07f1de2cc1ebeee25e771715f8521065f8 SHA512 ba0911bec52e82b9768a1535406a62b675bcfb996929d62e86791533847be233cbf3bd8f09dc7803de7b6b9c7d791f7fecaea6d6f3d1425d0c67047d7751322f WHIRLPOOL f70f8e40ff6ad86c4a868984aa2fba12ca31dbb3f8383f1fffa960f8d104fa7af3c253dfd9539691adadfb21c172e5cf4c19b9a06fbdbbbdcbe265021b98b4a2 +DIST crystal-0.8.0-1-linux-i686.tar.gz 11465702 SHA256 47b96c790458daa4179a777ba9356959e597f38cfda535a3f9069d46b362579d SHA512 c3cd58cc13014652bff816796e5138824e3f9c08ff898be50c5890cb0927a86d61c69fa845225bf8b83b1589ebfbff4c5cf10e54b742b2132db42c79c757cb37 WHIRLPOOL 7d19c859e5b47fb9481e33302112998502e596fedd9cf22c2c5aeb25ecd0db83181ddb649b4c736f7472c62ca824e8bc183ba8e23537a7eea908cfad4f05d2f1 +DIST crystal-0.8.0-1-linux-x86_64.tar.gz 11004413 SHA256 6a0414b903cd99bfed8ebe2a447dc0c85f4fbc31e493064e44d37770e95a4b0e SHA512 c065799cab222ce2c074a79ccb3eb957fa381156173e07fa14525d1cb87991574179a5ad05691223a577ea37053ef9d5d5c18f96ac5a3ecd5676e1e43cc99641 WHIRLPOOL 262be369485b593b76d569338024c2e51d70d6e79d9956e43499b35d48202d14fcf97c734b0368cce8b4a95c94a74886384c909e3770fd688add979348efc343 +DIST crystal-0.8.0.tar.gz 731304 SHA256 986a000bb2eded22e446fd55c543062770ec4000e28791f0b07f63fcee37b245 SHA512 a431abaf98addd67decbc62b264e46e7fe56ef5c83cbbd8576e39b67b863b0e0d487b0b9dc0ed02831e165824c7b5daaf5537c0368668302614549ddf9629bce WHIRLPOOL 876b6ec023cd621996acd24803a8f285058fa1ae810fb8afea97cc155cfaa4370abfeb6ae7f9246653e6da6044240e561346e10e7aeaab518abf37f294559345 +DIST crystal-0.11.1-1-linux-i686.tar.gz 12283213 SHA256 2db84f6a287925d02832192cb7c5b99d0f543afd5323286a3a8c1799d5952abe SHA512 c4cfcd51efa76492c0174d8a5273303d17e672273de1b35eafcce920710afadd031e7cfec775880ccedd7d6e87d0f2c27958b1499c8ce494fcc849c6e78ec2a5 WHIRLPOOL 849abefe1ebbf9b8aae484567662973b5712e1d55a45a123cd41f7f0cfd4ecd5f7bfe5d27e6ce227922b4985772f4b70acfb8e94ff8042c48a48f08c9cab5887 +DIST crystal-0.11.1-1-linux-x86_64.tar.gz 11854829 SHA256 742ee62b23d2ada2a9baa39d0f30973ca0b5b003504b04f2aad8483ef9b6f07b SHA512 ff0a8f25a5732936797f9d9359be9725d4d93f80d1d33ddf43e1833d4fd9dc9dcfc99e6d3a54e51c380cbdaacf0c8bf7b0077b939739434e604ad33f38dc56e0 WHIRLPOOL d26aa43fe08d05f29e38885b005ccd43a3f35a51e909d2ff4c343f1d617041d7b3c7f80414781abee482f43115b9d4a9963fa5001391a5d9a487f89580605811 +DIST crystal-0.11.1.tar.gz 830437 SHA256 bdff81fcb4f2dfdd50d79abba8a1ed0260bad4c1f055002cd16b9b6f443b8a15 SHA512 ba2dc5a74925c8cc84e0654773e4befb604b3c485294d54e8ed738d7f1eef42173bb94aa12a08b65845e29494073b83b1da7bbe9438df0ba0ed30dd8491ce4ba WHIRLPOOL 9cf36214ef6df4d1e9249e8f725343eb3235cb12323416b9247c478dbca97b42c3be317c58d478576dd1cb81dc3d57b8c5e8118a4fd11d6c103a40b277de7cbe diff --git a/dev-lang/crystal/crystal-0.11.1.ebuild b/dev-lang/crystal/crystal-0.11.1.ebuild new file mode 100644 index 000000000000..b5f4005864ac --- /dev/null +++ b/dev-lang/crystal/crystal-0.11.1.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/manastech/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz + amd64? ( https://github.com/manastech/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz ) + x86? ( https://github.com/manastech/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 +} |