diff --git a/app-benchmarks/poop/Manifest b/app-benchmarks/poop/Manifest new file mode 100644 index 0000000000..fb902189ae --- /dev/null +++ b/app-benchmarks/poop/Manifest @@ -0,0 +1 @@ +DIST poop-0.5.0.tar.gz 9908 BLAKE2B 433ea919e50f2f2b34fcacb5c8841599ecce2c103a08a976f72d61732c017c841bcda3d5c55130e87238b1b24fba393a98c61d724a2a79d957001311fc2017e1 SHA512 efea84ed95300e4ac4b13f919282a37534b73359dac3d057c9e5dd7a365561a92387b716ee8b14d54a23cf498ae03d7399cba6f6d40a2aa9e971ad8878abf5cd diff --git a/app-benchmarks/poop/poop-0.5.0.ebuild b/app-benchmarks/poop/poop-0.5.0.ebuild new file mode 100644 index 0000000000..9859e360bb --- /dev/null +++ b/app-benchmarks/poop/poop-0.5.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +if [[ ${PV} == "9999" ]]; then + src_unpack() { + git-r3_src_unpack + zig_live_fetch + } +fi + +src_configure() { + local my_zbs_args=( + -Dstrip=false # Let Portage control this + ) + + zig_src_configure +} diff --git a/app-benchmarks/poop/poop-9999.ebuild b/app-benchmarks/poop/poop-9999.ebuild index 478081f4b1..9859e360bb 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=(