commit: 06ba1f0f708bd11d5e4710dcaad1ed99c829678c Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Tue Apr 1 11:39:35 2025 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Tue Apr 1 11:39:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06ba1f0f
app-benchmarks/poop: sync live Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> app-benchmarks/poop/poop-9999.ebuild | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/app-benchmarks/poop/poop-9999.ebuild b/app-benchmarks/poop/poop-9999.ebuild index 478081f4b..9859e360b 100644 --- a/app-benchmarks/poop/poop-9999.ebuild +++ b/app-benchmarks/poop/poop-9999.ebuild @@ -1,24 +1,38 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -EGIT_REPO_URI="https://github.com/andrewrk/poop" -ZIG_SLOT="9999" -inherit git-r3 zig +if [[ ${PV} == "9999" ]]; then + ZIG_SLOT="9999" +else + ZIG_SLOT="0.13" +fi + +inherit zig DESCRIPTION="Performance Optimizer Observation Platform" HOMEPAGE="https://github.com/andrewrk/poop" +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/andrewrk/poop" +else + SRC_URI=" + https://github.com/andrewrk/poop/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz + " + KEYWORDS="~amd64" +fi LICENSE="MIT" SLOT="0" -DOCS=( "README.md" ) - -src_unpack() { - git-r3_src_unpack - zig_live_fetch -} +if [[ ${PV} == "9999" ]]; then + src_unpack() { + git-r3_src_unpack + zig_live_fetch + } +fi src_configure() { local my_zbs_args=(
