public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/hare/
Date: Thu, 15 Jun 2023 19:12:45 +0000 (UTC)	[thread overview]
Message-ID: <1686856325.31510b33b14fb9553bb7125e9fd36de5db5964ed.lanodan@gentoo> (raw)

commit:     31510b33b14fb9553bb7125e9fd36de5db5964ed
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu Jun 15 19:11:43 2023 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Jun 15 19:12:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31510b33

dev-lang/hare: add 0_pre20230615

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 dev-lang/hare/Manifest                  |  1 +
 dev-lang/hare/hare-0_pre20230615.ebuild | 57 +++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-lang/hare/Manifest b/dev-lang/hare/Manifest
index c4ef64eec..f60decb06 100644
--- a/dev-lang/hare/Manifest
+++ b/dev-lang/hare/Manifest
@@ -1 +1,2 @@
+DIST hare-0cf443bbfb121fbf04d0d138161b6073a088bef9.tar.gz 725094 BLAKE2B 4ba04e73a70b4257dd8448a6a899058422bc0492f8f5598a1f705e4164a82a4e348f3877de710c17f2aebe909893d5d271242eb987dba37233a86fb881464f8c SHA512 9ac6322713366d7a7fa41ce86584e045a274c7a4b2389d96fe47d18133b233cc0a9f4ed41f2ed4c64f8d8e9601ed0dbe2cda6d89204e1add42f3f8a5a2688e94
 DIST hare-464ec7a660b12ab1ef8e4dcc9d00604cec996c6e.tar.gz 699656 BLAKE2B cacf3a229abfad6c3c43c1d590f8bfcd37bb0617fd27d2c293a137723dd47d7d51f9a08157d8b056932cf83d4539817c850a2a0761ce4d1bed842683d20369be SHA512 0c5d7416b9a28227e376e1b8ed8fd0c19e6646738bed8b334bf5ad2837d10b03b11a7c842e8eee04b28faf62cc1042cd99bcdc8b8d65e92f27a4eb5ad8076be2

diff --git a/dev-lang/hare/hare-0_pre20230615.ebuild b/dev-lang/hare/hare-0_pre20230615.ebuild
new file mode 100644
index 000000000..08ab7b2e4
--- /dev/null
+++ b/dev-lang/hare/hare-0_pre20230615.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2021-2023 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
+	EGIT_COMMIT="0cf443bbfb121fbf04d0d138161b6073a088bef9"
+	MY_P="${PN}-${EGIT_COMMIT}"
+	SRC_URI="https://git.sr.ht/~sircmpwn/hare/archive/${EGIT_COMMIT}.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"
+
+DEPEND="
+	sys-devel/qbe
+	>=dev-lang/harec-0_pre20220702
+"
+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
+
+	cp config.example.mk config.mk || die
+	sed -i \
+		-e 's;=aarch64-;=;' \
+		-e 's;=riscv64-;=;' \
+		-e "s;^ARCH =.*;ARCH = ${target_arch};" \
+		-e 's;^PREFIX =.*;PREFIX = /usr;' \
+		-e 's;^AS =;AS ?=;' \
+		-e 's;^LD =;LD ?=;' \
+		-e 's;^AR =;AR ?=;' \
+		config.mk || die
+
+	sed -i 's; $(DESTDIR)$(LOCALSRCDIR);;' Makefile || die
+}


             reply	other threads:[~2023-06-15 19:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15 19:12 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-14 15:27 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/hare/ Haelwenn Monnier
2024-07-14 15:27 Haelwenn Monnier
2024-02-29  8:52 Haelwenn Monnier
2024-02-29  8:49 Haelwenn Monnier
2024-02-29  8:49 Haelwenn Monnier
2024-02-28 10:30 Haelwenn Monnier
2024-01-20  3:53 Takuya Wakazono
2024-01-19 18:05 Haelwenn Monnier
2024-01-19 17:58 Haelwenn Monnier
2024-01-19 17:58 Haelwenn Monnier
2024-01-16 13:23 Takuya Wakazono
2023-12-02  1:29 Haelwenn Monnier
2023-08-14 16:37 Haelwenn Monnier
2023-05-30 21:59 Haelwenn Monnier
2023-02-27 22:32 Haelwenn Monnier
2022-11-02 13:58 Haelwenn Monnier
2022-09-27 22:29 Haelwenn Monnier
2022-09-27 20:48 Haelwenn Monnier
2022-09-27 20:41 Haelwenn Monnier
2022-08-28 13:47 Haelwenn Monnier
2022-08-26  8:16 Andrew Pirie
2022-08-13  7:04 Haelwenn Monnier
2022-08-12 22:13 Haelwenn Monnier
2022-08-08 20:23 Haelwenn Monnier
2022-06-25  3:53 Haelwenn Monnier
2022-06-24 13:11 Rui Huang
2022-06-24 12:42 Rui Huang
2022-05-05 14:42 Haelwenn Monnier
2022-04-23 17:53 Haelwenn Monnier

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=1686856325.31510b33b14fb9553bb7125e9fd36de5db5964ed.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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