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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBBC7158020 for ; Sun, 23 Oct 2022 21:04:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62FA3E08BB; Sun, 23 Oct 2022 21:04:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49D42E08BB for ; Sun, 23 Oct 2022 21:04:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B89D3410B8 for ; Sun, 23 Oct 2022 21:04:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 944E76A1 for ; Sun, 23 Oct 2022 21:04:26 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1666558103.2631f5c72c2e87a23e767ba8ec7d7a09c977f334.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/crystal-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-lang/crystal-bin/Manifest dev-lang/crystal-bin/crystal-bin-1.6.1.ebuild dev-lang/crystal-bin/metadata.xml X-VCS-Directories: dev-lang/crystal-bin/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 2631f5c72c2e87a23e767ba8ec7d7a09c977f334 X-VCS-Branch: dev Date: Sun, 23 Oct 2022 21:04:26 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4ae667f2-a75a-4074-b24e-a32651047189 X-Archives-Hash: 6e56bd7286683bef446fd0e9e5579ce9 commit: 2631f5c72c2e87a23e767ba8ec7d7a09c977f334 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sun Oct 23 15:06:54 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Sun Oct 23 20:48:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2631f5c7 dev-lang/crystal-bin: new package, add 1.6.1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-lang/crystal-bin/Manifest | 2 ++ dev-lang/crystal-bin/crystal-bin-1.6.1.ebuild | 50 +++++++++++++++++++++++++++ dev-lang/crystal-bin/metadata.xml | 16 +++++++++ 3 files changed, 68 insertions(+) diff --git a/dev-lang/crystal-bin/Manifest b/dev-lang/crystal-bin/Manifest new file mode 100644 index 000000000..404e42105 --- /dev/null +++ b/dev-lang/crystal-bin/Manifest @@ -0,0 +1,2 @@ +DIST crystal-1.6.1-1-linux-x86_64.tar.gz 41814003 BLAKE2B 62e1ed63b0bcfd0d03dfec23f27ea722dc9b4acf1928925ee512288bdca72ae39871625e06bada232e2ee5ac1cd21f49e556a161954349d55bd6ad443dcf0744 SHA512 b1bf4b17025c45fe23b01df7b393248301fe80bf6d11dafc7c5d476539ebdf7897f4de40f2e1559fee04378033dc54b19c78ed505e9b9c5b768944692f58ff5b +DIST crystal-1.6.1-docs.tar.gz 12986588 BLAKE2B 57d2b71e7377d68ff346009452a163e173225071a14180081573953b0505222b1b1c0d3f3e338017e4e1249b9e1647ea4419c19dc3e8ef32f0ffd7eda8061c8d SHA512 fceea50c576241ac28799a5da55acff421a6d54b752a0cfab0b75bf66f6f259e6fccc7804d48ae4e68d03463dad1fd9d2865e2d6c1807554199ccd2fd0a0fccc diff --git a/dev-lang/crystal-bin/crystal-bin-1.6.1.ebuild b/dev-lang/crystal-bin/crystal-bin-1.6.1.ebuild new file mode 100644 index 000000000..3bd88def4 --- /dev/null +++ b/dev-lang/crystal-bin/crystal-bin-1.6.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=14 + +MY_PN="${PN%-bin}" +BV=${PV}-1 +BV_AMD64=${BV}-linux-x86_64 + +DESCRIPTION="The Crystal Programming Language" +HOMEPAGE="https://crystal-lang.org https://github.com/crystal-lang/crystal" +SRC_URI=" + amd64? ( https://github.com/${MY_PN}-lang/${MY_PN}/releases/download/${PV}/${MY_PN}-${BV_AMD64}.tar.gz ) + doc? ( https://github.com/${MY_PN}-lang/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}-docs.tar.gz ) +" +S="${WORKDIR}/${MY_PN}-${BV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="doc" + +# file collisions +RDEPEND=" + !dev-lang/crystal + !games-mud/crystal + !sci-chemistry/tinker +" + +QA_PREBUILT="usr/bin/.*" + +src_prepare() { + default + rm -r share/licenses || die +} + +src_install() { + dobin bin/* + + insinto /usr + doins -r share + + insinto /usr/$(get_libdir) + doins -r lib/crystal + + use doc && HTML_DOCS=( "${WORKDIR}"/${MY_PN}-${PV}-docs ) + einstalldocs +} diff --git a/dev-lang/crystal-bin/metadata.xml b/dev-lang/crystal-bin/metadata.xml new file mode 100644 index 000000000..adf649842 --- /dev/null +++ b/dev-lang/crystal-bin/metadata.xml @@ -0,0 +1,16 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + Crystal is a programming language that resembles Ruby but compiles to + native code and tries to be much more efficient, at the cost of + disallowing certain dynamic aspects of Ruby. + + + crystal-lang/crystal + +