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 692F5158041 for ; Thu, 29 Feb 2024 13:56:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69033E2A72; Thu, 29 Feb 2024 13:56:40 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 437BBE2A5E for ; Thu, 29 Feb 2024 13:56:40 +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 1AA9434308C for ; Thu, 29 Feb 2024 13:56:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A163118C for ; Thu, 29 Feb 2024 13:56:37 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1709116128.1649263aeb225070f503042937365a4588a5a4f7.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/harec/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-lang/harec/Manifest dev-lang/harec/harec-0.24.0.ebuild X-VCS-Directories: dev-lang/harec/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 1649263aeb225070f503042937365a4588a5a4f7 X-VCS-Branch: master Date: Thu, 29 Feb 2024 13:56:37 +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: 17e1285a-97d7-4687-91b1-bd387edfb958 X-Archives-Hash: dfec2951e48f390e2243afc3d7f795bd commit: 1649263aeb225070f503042937365a4588a5a4f7 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Feb 2 20:50:12 2024 +0000 Commit: David Roman gmail com> CommitDate: Wed Feb 28 10:28:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1649263a dev-lang/harec: add 0.24.0 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> dev-lang/harec/Manifest | 1 + dev-lang/harec/harec-0.24.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-lang/harec/Manifest b/dev-lang/harec/Manifest index a414d9c95c..a3a4bffff3 100644 --- a/dev-lang/harec/Manifest +++ b/dev-lang/harec/Manifest @@ -1,2 +1,3 @@ +DIST harec-0.24.0.tar.gz 193534 BLAKE2B 651fc34a6053b81c90e405dd53f84c4c9f549baa601dfba1227bdf1d660b461a1f1e20b0e99ac0c2aa8499375ddf37f52c9c05172433359cb777e806701209b3 SHA512 aab347351bcd748a98e3a58f1ff9a0d194aea907d6ebfacbc7e10671e018fb5ce296e71119ab975e3a1e66ba439d7b706943082d57af2459e694856a89453d8d DIST harec-ec3193e3870436180b0f3df82b769adc57a1c099.tar.gz 193069 BLAKE2B 7f34a25e53c864435740fbc5f4fb0a59b4611e50ece6ad18fd4b5f88f839177ed57431c3a4a24521b73f4a1af52e10b51ab574fe205a3a88314ea50b6c67a84e SHA512 2962af65f95d3db51432cea0b08b963a713c746a856623be6162873a34cc558577fd4673d1c502fced2582331886f5269c79381a4a26a8d743dc1a9fe7aefda0 DIST harec-f735abab4516d2fb729e3ea7aee309eab5a1b0bf.tar.gz 186009 BLAKE2B d68070541ab61c3af9bc793df2911604095f007421f3b2e0176f25cac98596a3ca32046601fbc2fd78dd2e0406b557e8beb0206cc0827564287ead25057548fd SHA512 6183f5e78e116c2b1174c583e9a69a10cb93e7ea4c9197b583a9f8d056aae5ea28c42bf4a447aaf544b9bcbf181ae3f8d64c9716bfac5a046f41caa86e727a30 diff --git a/dev-lang/harec/harec-0.24.0.ebuild b/dev-lang/harec/harec-0.24.0.ebuild new file mode 100644 index 0000000000..1c025f427f --- /dev/null +++ b/dev-lang/harec/harec-0.24.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +if [[ "${PV}" = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/harec" +else + MY_PV="$(ver_rs 3 -)" + MY_P="${PN}-${MY_PV}" + SRC_URI="https://git.sr.ht/~sircmpwn/harec/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" + #KEYWORDS="~amd64 ~arm64 ~riscv" +fi + +DESCRIPTION="The Hare compiler" +HOMEPAGE="https://harelang.org/" +LICENSE="GPL-3" +SLOT="0" + +DEPEND=">=sys-devel/qbe-1.2" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + cp configs/linux.mk config.mk || die + sed -i \ + -e 's/-Werror//' \ + -e 's/CC =/CC ?=/' \ + -e 's/AS =/AS ?=/' \ + -e 's/LD =/LD ?=/' \ + config.mk || die + + tc-export CC AS LD +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +}