From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/hare/
Date: Sun, 14 Jul 2024 17:47:57 +0000 (UTC) [thread overview]
Message-ID: <1720970643.679a1cb69df7807da6ea7ce56414ea55c8f33c74.flow@gentoo> (raw)
commit: 679a1cb69df7807da6ea7ce56414ea55c8f33c74
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Jul 14 15:24:03 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 15:24:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=679a1cb6
dev-lang/hare: add 0.24.2
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
dev-lang/hare/Manifest | 1 +
dev-lang/hare/hare-0.24.2.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-lang/hare/Manifest b/dev-lang/hare/Manifest
index 76d43de88..996944dd6 100644
--- a/dev-lang/hare/Manifest
+++ b/dev-lang/hare/Manifest
@@ -1 +1,2 @@
DIST hare-0.24.0.tar.gz 767869 BLAKE2B 4e1e706a7e0623ebe71803dc591b362527dd140f025cb3529e95d9bec8bea464bc008d512e4981f1dcd34f770b8831a0d6dd37cb453ee54e01e900c1cd52c159 SHA512 d7b96bc031d432e0ca0a9186a043d4cd4af4d4b57be5ce4b913d6acd26cdb708d8c9ad8e2c64c78c192a11a96977d3e916985a548238591b3c4d177b9cc811d9
+DIST hare-0.24.2.tar.gz 912808 BLAKE2B 2dbb83448efe85c36be50ebfbe9c8c567ac7a8c420253f242aa911e815fbf41ff4fbe0e36d22b5654b74441cc73bbaac9de5b9cdb06f9f687813babe2bf359c0 SHA512 6214d0068f507f156bff85d12aeb515e5f752bff03645b3b207d224aecc62e34d4a44a171fc2b357eaaf72a804c2b79d6ad2886caa2804f1dcad07cc25d7efac
diff --git a/dev-lang/hare/hare-0.24.2.ebuild b/dev-lang/hare/hare-0.24.2.ebuild
new file mode 100644
index 000000000..4ef0d76a9
--- /dev/null
+++ b/dev-lang/hare/hare-0.24.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ "${PV}" = 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare"
+ SLOT="0"
+else
+ MY_PV="$(ver_rs 3 -)"
+ MY_P="${PN}-${MY_PV}"
+ SRC_URI="https://git.sr.ht/~sircmpwn/hare/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+ S="${WORKDIR}/${MY_P}"
+ SLOT="0/${PV}"
+ KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
+
+DESCRIPTION="The Hare systems programming language"
+HOMEPAGE="https://harelang.org/"
+LICENSE="MPL-2.0 GPL-3"
+
+# release policy: https://git.sr.ht/~sircmpwn/hare/tree/master/item/docs/release.md
+DEPEND="
+ ~dev-lang/harec-0.24.2
+ >=sys-devel/qbe-1.2
+"
+BDEPEND="app-text/scdoc"
+RDEPEND="${DEPEND}"
+
+# hare and haredoc are built by hare
+QA_FLAGS_IGNORED="usr/bin/hare usr/bin/haredoc"
+
+src_configure() {
+ local target_arch
+ case ${ARCH} in
+ amd64 ) target_arch=x86_64 ;;
+ arm64 ) target_arch=aarch64 ;;
+ riscv ) target_arch=riscv64 ;;
+ * ) die "unsupported architecture: ${ARCH}" ;;
+ esac
+
+ # Note: PREFIX needs to be set early as it is used for HAREPATH
+ cp configs/linux.mk config.mk || die
+ sed -i \
+ -e "s;^ARCH =.*;ARCH = ${target_arch};" \
+ -e "s;^PREFIX =.*;PREFIX = ${EPREFIX}/usr;" \
+ -e 's;^AS =;AS ?=;' \
+ -e 's;^LD =;LD ?=;' \
+ -e 's;^AR =;AR ?=;' \
+ config.mk || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+}
next reply other threads:[~2024-07-14 17:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-14 17:47 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-14 17:47 [gentoo-commits] repo/proj/guru:master commit in: dev-lang/hare/ Florian Schmaus
2024-02-29 13:56 David Roman
2024-02-29 13:56 David Roman
2024-02-29 13:56 David Roman
2024-02-29 13:56 David Roman
2024-01-20 22:13 David Roman
2024-01-20 22:13 David Roman
2024-01-20 22:13 David Roman
2024-01-20 22:13 David Roman
2024-01-16 13:54 David Roman
2023-08-17 5:15 Viorel Munteanu
2023-06-17 7:03 Viorel Munteanu
2022-09-28 16:05 Ronny Gutbrod
2022-09-28 16:05 Ronny Gutbrod
2022-09-28 16:05 Ronny Gutbrod
2022-08-11 13:45 Andrew Ammerlaan
2022-06-24 13:24 Andrew Ammerlaan
2022-06-24 13:24 Andrew Ammerlaan
2022-04-23 19:07 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1720970643.679a1cb69df7807da6ea7ce56414ea55c8f33c74.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox