diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2024-07-11 04:06:07 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2024-07-11 04:12:03 +0200 |
commit | a2a09dfdbf119676ed17887a9c558139a041dab0 (patch) | |
tree | b96ad41d4d9e07d17aaf4698626902e4605d3953 /dev-hare | |
parent | dev-ml/ollama: add missing pipe exit status check (diff) | |
download | guru-a2a09dfdbf119676ed17887a9c558139a041dab0.tar.gz guru-a2a09dfdbf119676ed17887a9c558139a041dab0.tar.bz2 guru-a2a09dfdbf119676ed17887a9c558139a041dab0.zip |
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>
Diffstat (limited to 'dev-hare')
-rw-r--r-- | dev-hare/hare-xml/Manifest | 1 | ||||
-rw-r--r-- | dev-hare/hare-xml/hare-xml-0_pre20231231.ebuild | 31 | ||||
-rw-r--r-- | dev-hare/hare-xml/hare-xml-9999.ebuild | 20 |
3 files changed, 47 insertions, 5 deletions
diff --git a/dev-hare/hare-xml/Manifest b/dev-hare/hare-xml/Manifest new file mode 100644 index 000000000..6ab825cd3 --- /dev/null +++ b/dev-hare/hare-xml/Manifest @@ -0,0 +1 @@ +DIST hare-xml-82ad30e1143286417b12b00d45ee1a03330f117e.tar.gz 11596 BLAKE2B 125b34d3773677ec7cf242eabcf0c55365ca0914e566075b8cef41ecc70119622fed3297d1f056f7336b7b247ab50e81ce66f41a1c817749eceb718b803d5c4c SHA512 0b16eaaa1a4c13692179eb8fd3c9d7ef3a63fb89df5520b09b961618890a66d6a7f13cb93c19ebb9d81b9edcb10a1ef3c9570e6269fbcae8e60e52b0c8471e5f diff --git a/dev-hare/hare-xml/hare-xml-0_pre20231231.ebuild b/dev-hare/hare-xml/hare-xml-0_pre20231231.ebuild new file mode 100644 index 000000000..9ece5a349 --- /dev/null +++ b/dev-hare/hare-xml/hare-xml-0_pre20231231.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022-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-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" + +LICENSE="MPL-2.0" + +DEPEND=">=dev-lang/hare-0.24.0" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die +} diff --git a/dev-hare/hare-xml/hare-xml-9999.ebuild b/dev-hare/hare-xml/hare-xml-9999.ebuild index e6631cae3..3f215ca74 100644 --- a/dev-hare/hare-xml/hare-xml-9999.ebuild +++ b/dev-hare/hare-xml/hare-xml-9999.ebuild @@ -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" +DEPEND=">=dev-lang/hare-9999" RDEPEND="${DEPEND}" src_prepare() { |