From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1658805-garchives=archives.gentoo.org@lists.gentoo.org> 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 A5149159C9B for <garchives@archives.gentoo.org>; Sun, 4 Aug 2024 13:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D41512BC01A; Sun, 4 Aug 2024 13:42:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B46A82BC01A for <gentoo-commits@lists.gentoo.org>; Sun, 4 Aug 2024 13:42:06 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD8F634069F for <gentoo-commits@lists.gentoo.org>; Sun, 4 Aug 2024 13:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D4351E87 for <gentoo-commits@lists.gentoo.org>; Sun, 4 Aug 2024 13:42:04 +0000 (UTC) From: "Matthew Smith" <matthew@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" <matthew@gentoo.org> Message-ID: <1722778897.b6703b92ed593a0bd3913a0d67909cc4df9e5f10.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gleam/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/gleam/Manifest dev-lang/gleam/gleam-1.4.1.ebuild X-VCS-Directories: dev-lang/gleam/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: b6703b92ed593a0bd3913a0d67909cc4df9e5f10 X-VCS-Branch: master Date: Sun, 4 Aug 2024 13:42:04 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 56a1297d-f6d3-4876-97ea-c4b52812e514 X-Archives-Hash: 4225fcd9662cb9ee61de259ab8e6e89c commit: b6703b92ed593a0bd3913a0d67909cc4df9e5f10 Author: Matthew Smith <matthew <AT> gentoo <DOT> org> AuthorDate: Sun Aug 4 13:41:37 2024 +0000 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> CommitDate: Sun Aug 4 13:41:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6703b92 dev-lang/gleam: add 1.4.1 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> dev-lang/gleam/Manifest | 1 + dev-lang/gleam/gleam-1.4.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-lang/gleam/Manifest b/dev-lang/gleam/Manifest index 8749eb7bc10f..c2b27c29810e 100644 --- a/dev-lang/gleam/Manifest +++ b/dev-lang/gleam/Manifest @@ -2,3 +2,4 @@ DIST gleam-1.1.0-crates.tar.xz 28586380 BLAKE2B edecdff51966a0091bc915d7e3d4f8d1 DIST gleam-1.1.0.tar.gz 882622 BLAKE2B 7f3ff5ce346e3f1b8d7a13723ea649f5b6e325a563cd3f4e4c0b227f3d9e4643e1e9cd403dbe9c5e8c93e47c2ae6fe1f137250c0155f8b4acbe324fdcf9efc91 SHA512 265867096b758ab554f0b4228d95b40a30d5796499b29775465d8dc3cc3ad37cf517cf979f33d906229dd33e424708e40a13ea6cf9932b54c573cd2335788695 DIST gleam-1.4.0-crates.tar.xz 42395452 BLAKE2B 36733afeda26214d4d5078824fe46a7c531b73875fd265727f1e363d799accd0b4e4401798e81ef4c60dba6401e00a5df63ed54fa424d4b7a395ee07a0124676 SHA512 5996bf3e4b11d95c05de9fe02e0f2ea8ca195931098e897ee74cb96515b81cadf7e46bd566d895d79d83ac71058a05a75b2f4a60da6ff9c6e0ad9dd0332daf3a DIST gleam-1.4.0.tar.gz 1024520 BLAKE2B 279e454795ff4c29278e7e397b83c5e813645182f12aa2aef1879c87bfcc4e92e47e63ce67fcca0a7673439078fb316f0677e722e0252d87cb010b86a406450a SHA512 8d07726ca0ec02dc83e508e6d44124caa06ce6c8aa61e4cdf1b9443bf9997f2608959c1cd459113b717397c131e874edb1cd313cb1a09b5bdafcfd283f4eb0d5 +DIST gleam-1.4.1.tar.gz 1024265 BLAKE2B c1e37d4ba261d94d2131ab79f24859cbad0a465b967c9231d991ed0640cbed3be9fbae0b693b73020ffb56346f77e313420bb1c3c4c90e7b4d0807c400008464 SHA512 ea8dbab041f3dc480c408595b9adf4fc9a588f8438c98b5c7234d735c3b0ad98fe556d4a0258a663b322275212a5f5dbc48637e9d8d557915630dae85904a5cd diff --git a/dev-lang/gleam/gleam-1.4.1.ebuild b/dev-lang/gleam/gleam-1.4.1.ebuild new file mode 100644 index 000000000000..7151240a5284 --- /dev/null +++ b/dev-lang/gleam/gleam-1.4.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo optfeature + +DESCRIPTION="A friendly language for building type-safe, scalable systems!" +HOMEPAGE="https://gleam.run https://github.com/gleam-lang/gleam" +SRC_URI=" + https://github.com/gleam-lang/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~matthew/distfiles/${PN}-1.4.0-crates.tar.xz +" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB openssl" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-lang/erlang:*" + +PATCHES=( "${FILESDIR}"/${PN}-1.4.0-rust178-compat.patch ) + +# rust does not use *FLAGS from make.conf, silence portage warning +# update with proper path to binaries this crate installs, omit leading / +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_install() { + dodoc CHANGELOG.md + cargo_src_install --path compiler-cli +} + +pkg_postinst() { + optfeature "erlang package support" dev-util/rebar:3 + optfeature "javascript runtime" net-libs/nodejs +}