diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-03-07 22:28:32 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-03-07 22:28:53 +0000 |
commit | f0899c15cd1ad04debcb306094ae24869540f43d (patch) | |
tree | e4429dd89389daa8c11f6a0404d8faa9423c744c /dev-lang | |
parent | net-libs/rb_libtorrent: Fix tests with boost-1.62 (diff) | |
download | gentoo-f0899c15cd1ad04debcb306094ae24869540f43d.tar.gz gentoo-f0899c15cd1ad04debcb306094ae24869540f43d.tar.bz2 gentoo-f0899c15cd1ad04debcb306094ae24869540f43d.zip |
dev-lang/crystal: bump up to 0.21.1
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/crystal/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/crystal/crystal-0.21.1.ebuild | 91 |
2 files changed, 94 insertions, 0 deletions
diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index 3a8bcb141449..e1df8a3fc92c 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -3,3 +3,6 @@ DIST crystal-0.20.4-1-linux-x86_64.tar.gz 17733333 SHA256 cdc11c30235f8bd3b89e1f DIST crystal-0.20.4.tar.gz 1537577 SHA256 fd099f278b71bbb5cad1927c93933d1feba554fbf8f6f4ab9165f535765f5e31 SHA512 1ded5cf104314b6b8b76fa519ec87a913a40a8bdb82445fe78b3f942567abe8c354cefcdd360c365e0c9f0756fc0e4819eec681584c11f94c9838e9a61ec89fe WHIRLPOOL f51185267fd2152e7acbb0528cabf17c973e763db3cb097c13ec805cee44f191f9054bb2dfbfa6b885dab850c7a24ae722b0c238c7ba8d1296de1e06060ebba9 DIST crystal-0.20.5.tar.gz 1550878 SHA256 ee1e5948c6e662ccb1e62671cf2c91458775b559b23d74ab226dc2a2d23f7707 SHA512 cb27ad485f5bf51307541901a230f635e1b3922f3802fc4db0a8746c7aa3399940791f9ec7d7e71325af5c93e8928f4a94b30a25d87e7ed45fa77661ddd876f0 WHIRLPOOL 7d1d2011b6319ebf50ba10935e3d55b5320d0e2bdf3fe00ace16aef74a740449968c1230d7ccb5033d8ef0ef222fd323ad226bed15a0573d666d8fae05caffef DIST crystal-0.21.0.tar.gz 1584649 SHA256 4dd01703f5304a0eda7f02fc362fba27ba069666097c0f921f8a3ee58808779c SHA512 35c1c770c1771c1b1ee32d14bbf749ab42dd0c2adf3bec59ad26474513e2f8d53a792dd478cb2a3b6127e69adc4326191cb65fd1e7a2d6f79610abc7eb34e4db WHIRLPOOL e71eb5dc8ec89c879d4f62b008f9e2ac6f6dd3041488c3f03ca08f0109e46f9d1aae8b03424a3e15f8035f271b7cb6288bf9268314dc6ece52d70c5b0678cde6 +DIST crystal-0.21.1-1-linux-i686.tar.gz 18825516 SHA256 8ab875309aa71d4501995e834850d40538fb66dd9890024ed812777f83085f48 SHA512 790043db666d7f65a3cc9e68511eb8fa03c352d2ca044bb38995ca4ab37b731bf612bf36d6efecd7a1763b22930c67315d0ae3b2e087c1a40ac209564492b5b9 WHIRLPOOL 642e4a6ec71cb33042c1dc0da11cd5e231b58f46afc77aa754bc0fa7d8d5104c4c0625b214d4bd48ad62ef6ad6eaeb33ba3e6040ebabb4a37f5fb20f399ae063 +DIST crystal-0.21.1-1-linux-x86_64.tar.gz 18930207 SHA256 e8a7489aba888cc0deec61e9bda5dd27ab600edb102afc17fa11582b90960875 SHA512 ed7860c93e25546e8df311851b6b9a3abf44e6046cf4cb3208555db80d63afc0ce45fdfdb1833f67f2e62f9a6b2d015ba5674d9273d572de15d7515aa481ae1f WHIRLPOOL c70cad45911e5ac4fd62ad42d13507280feccfbae46e682eb5eec81ec49de67e49f7384ad7d127a2d8624c4a1b4a425aded4a2f3a0b6b59025b31f0415864e95 +DIST crystal-0.21.1.tar.gz 1586701 SHA256 eb93de3b388641fd2a09a2d10ab9fe40a58148d888fc48e4583a86ee1ddb1085 SHA512 1deaf696b715efee841b0a07a1dca9e5fad31896a7fbfe8ed69a3fb2dc72cc71c38d003c660ab61c4ab3dcb9e0e2687e714a78ada55b51b42da0e0a0411c2208 WHIRLPOOL 1eaacc4d50b1f5cc0237f9413f54d8cd12837edc348a287951d1cb6a03f3ce29130407ccb9a462dab72f04c369eccf595231127c6aae4c716a8c9f92da36290e diff --git a/dev-lang/crystal/crystal-0.21.1.ebuild b/dev-lang/crystal/crystal-0.21.1.ebuild new file mode 100644 index 000000000000..0ceba51443f3 --- /dev/null +++ b/dev-lang/crystal/crystal-0.21.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multiprocessing toolchain-funcs + +BV=0.21.1-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 debug 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 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.20.5-verbose.patch + "${FILESDIR}"/${PN}-0.20.5-LDFLAGS.patch +) + +src_compile() { + emake \ + $(usex debug "" release=1) \ + stats=1 \ + threads=$(makeopts_jobs) \ + verbose=1 \ + \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + AR=$(tc-getAR) \ + \ + PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \ + CRYSTAL_PATH=src \ + CRYSTAL_CONFIG_VERSION=${PV} \ + CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal" + use doc && emake doc +} + +src_test() { + emake spec \ + $(usex debug "" release=1) \ + stats=1 \ + threads=$(makeopts_jobs) \ + verbose=1 \ + \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + AR=$(tc-getAR) \ + \ + 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 +} |