dev-hare/hare-xml: add 0_pre20231231

This allows to build hare-xml with hare-0.24.0 as commits in hare-xml since
are for the development version of hare.

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2024-07-11 04:06:07 +02:00
parent 4e7eaeaafe
commit a2a09dfdbf
3 changed files with 48 additions and 6 deletions

View File

@@ -1,17 +1,27 @@
# Copyright 2022 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
if [[ "${PV}" = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-xml"
SLOT="0"
else
EGIT_COMMIT="82ad30e1143286417b12b00d45ee1a03330f117e"
SRC_URI="https://git.sr.ht/~sircmpwn/hare-xml/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}/"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~riscv"
fi
DESCRIPTION="XML support for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-xml"
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-xml"
LICENSE="MPL-2.0"
SLOT="0"
DEPEND="dev-lang/hare"
LICENSE="MPL-2.0"
DEPEND=">=dev-lang/hare-9999"
RDEPEND="${DEPEND}"
src_prepare() {