From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 89C04138330 for ; Fri, 16 Sep 2016 18:38:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13996E0B7F; Fri, 16 Sep 2016 18:38:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64E06E0B7F for ; Fri, 16 Sep 2016 18:38:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 40D26340B1E for ; Fri, 16 Sep 2016 18:38:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED1812481 for ; Fri, 16 Sep 2016 18:38:32 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1474051103.a7c73f75f774143371b83ec66730fbfb326a7f9f.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/crystal/Manifest dev-lang/crystal/crystal-0.19.2.ebuild X-VCS-Directories: dev-lang/crystal/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: a7c73f75f774143371b83ec66730fbfb326a7f9f X-VCS-Branch: master Date: Fri, 16 Sep 2016 18:38:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6b8231f2-a8aa-41a9-80cc-6d4e573ee4ed X-Archives-Hash: c651113351ef2e8bf3f0fb7856cd5bbc commit: a7c73f75f774143371b83ec66730fbfb326a7f9f Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Sep 16 18:31:51 2016 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Sep 16 18:38:23 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c73f75 dev-lang/crystal: bump up to 0.19.2 Package-Manager: portage-2.3.0 dev-lang/crystal/Manifest | 1 + dev-lang/crystal/crystal-0.19.2.ebuild | 69 ++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest index 42f4581..a8eb6fc 100644 --- a/dev-lang/crystal/Manifest +++ b/dev-lang/crystal/Manifest @@ -6,3 +6,4 @@ DIST crystal-0.18.7-1-linux-x86_64.tar.gz 13977303 SHA256 8be06d53e91d14ad05417c DIST crystal-0.18.7.tar.gz 1359375 SHA256 72b33fd4bd903a9f0957c74c2f95429e8c0f94c04df86396711b5560f540805d SHA512 4d176036d0f003cc17be73e6a0a9c5c2c9df2764123051007156d86a7dc967c93821c3e087d8c1e27fe7f7b79efa43ea0503bc902813c5b322ca12cd2212da90 WHIRLPOOL 3f7b266be386459918c2e546faf1c3989e7c285400e1f68d0af15b3a639cf72c6a08e0f821703e0413661d8080da499da22035806e0c0a6169f0dbd43792f93f DIST crystal-0.19.0.tar.gz 1389070 SHA256 4d7d9770891bd8bd835251e2654316412a3f44074db0adeca28357c0993eb2d8 SHA512 23c2f10f32ce1340639639f784703274a9f96799b7762289144ea0551aadd4685814ffcc781750e526ee06b5418c66ec48faeaf6d95a6e63a5e26a839918958b WHIRLPOOL d310a3a738273789856c57351e74ce99bc4eddc3e7398b3e791fdd967d46ca2edc3114f2bf34916708129184e4c1d8bc53434decdb40fb82b3d415b59a3b6fc9 DIST crystal-0.19.1.tar.gz 1393220 SHA256 7528fc1ec63a3e9db9aabbccccfc8985511d6a54e44c5a1b26ccd0ee37275937 SHA512 6a2ab736ad65cbc435fae87d46cb235e2f3d88c7eb5b64bc1753f298deec0de4f72813d0413807002cde8acd21f183e6babe70e9f7a6f10e0cbdaaf205d964b6 WHIRLPOOL 695fb60acb728240525ec2dc1c2fd5779d398021b4a1ab0c7bcc58b360d11b6c927a0accceb84eae4c0f3f3c7251f356418fdd850721d14a290fdfbcfdad5fad +DIST crystal-0.19.2.tar.gz 1413666 SHA256 18b8b847162529b1ea6e886ad2fbe344a1bcb22fd8b29cebedc5a827939d3819 SHA512 7115693702c96c7897ce2fcef768a032d560310b1b43f7fda45d28896fee82b8f61e3e6ac6d9ab07fca4a9652dc2515df69186b8f983bcc0f12fb7135d738c45 WHIRLPOOL 20ae30b42786dbdd05906bf82af3a449068bdd0d0d260ac8061a0a60fc5253df7b5801abe1a6b5bc4b2e92ea4e49059cdce5319b76c43799eb4a61e82cfdcaa1 diff --git a/dev-lang/crystal/crystal-0.19.2.ebuild b/dev-lang/crystal/crystal-0.19.2.ebuild new file mode 100644 index 00000000..1786598 --- /dev/null +++ b/dev-lang/crystal/crystal-0.19.2.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.18.7-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 +}