From e6392279a764477188fc6e4ba3520b6eed0da2c3 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sat, 21 Jun 2025 17:17:21 +0200 Subject: [PATCH] dev-util/hare-update: add 0.25.2.0, 9999 Signed-off-by: Haelwenn (lanodan) Monnier --- dev-util/hare-update/Manifest | 1 + .../hare-update/hare-update-0.25.2.0.ebuild | 28 +++++++++++++++++++ dev-util/hare-update/hare-update-9999.ebuild | 28 +++++++++++++++++++ dev-util/hare-update/metadata.xml | 8 ++++++ 4 files changed, 65 insertions(+) create mode 100644 dev-util/hare-update/Manifest create mode 100644 dev-util/hare-update/hare-update-0.25.2.0.ebuild create mode 100644 dev-util/hare-update/hare-update-9999.ebuild create mode 100644 dev-util/hare-update/metadata.xml diff --git a/dev-util/hare-update/Manifest b/dev-util/hare-update/Manifest new file mode 100644 index 0000000000..afd11d25bb --- /dev/null +++ b/dev-util/hare-update/Manifest @@ -0,0 +1 @@ +DIST hare-update-0.25.2.0.tar.gz 59682 BLAKE2B cf7e74faffb4a8ef11d238bc837bd359dbe0f0e272a69e19b441168d09d66e8106a93c8ad0b3cbe9a568f2e80d5563f7ec0299f9059de98b752784d4ed2a814c SHA512 bbae0b07f6eb8fb8a50598cfff7d4932811a37f185a8f7e13a41045080338363bfb38599f5605350f9b82a04bb2876741b9623d1efb3e92bda396d7f41c213c9 diff --git a/dev-util/hare-update/hare-update-0.25.2.0.ebuild b/dev-util/hare-update/hare-update-0.25.2.0.ebuild new file mode 100644 index 0000000000..0eb3b5874d --- /dev/null +++ b/dev-util/hare-update/hare-update-0.25.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2025 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-update" + DEPEND="dev-lang/hare:=" +else + SRC_URI="https://git.sr.ht/~sircmpwn/hare-update/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv" + DEPEND="~dev-lang/hare-$(ver_cut 1-3):=" +fi + +DESCRIPTION="assist in upgrading a codebase to a newer Hare release" +HOMEPAGE="https://sr.ht/~sircmpwn/hare-update" +LICENSE="EUPL-1.2" +SLOT="0" + +# binaries are hare-built +QA_FLAGS_IGNORED="usr/bin/.*" + +src_prepare() { + default + + sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile +} diff --git a/dev-util/hare-update/hare-update-9999.ebuild b/dev-util/hare-update/hare-update-9999.ebuild new file mode 100644 index 0000000000..0eb3b5874d --- /dev/null +++ b/dev-util/hare-update/hare-update-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 2025 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-update" + DEPEND="dev-lang/hare:=" +else + SRC_URI="https://git.sr.ht/~sircmpwn/hare-update/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~riscv" + DEPEND="~dev-lang/hare-$(ver_cut 1-3):=" +fi + +DESCRIPTION="assist in upgrading a codebase to a newer Hare release" +HOMEPAGE="https://sr.ht/~sircmpwn/hare-update" +LICENSE="EUPL-1.2" +SLOT="0" + +# binaries are hare-built +QA_FLAGS_IGNORED="usr/bin/.*" + +src_prepare() { + default + + sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile +} diff --git a/dev-util/hare-update/metadata.xml b/dev-util/hare-update/metadata.xml new file mode 100644 index 0000000000..2092bcc33a --- /dev/null +++ b/dev-util/hare-update/metadata.xml @@ -0,0 +1,8 @@ + + + + + contact@hacktivis.me + Haelwenn (lanodan) Monnier + +