summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-02-02 18:37:27 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-02-02 18:46:44 +0100
commit1a95574ba0913bd6c61cf110dea94bcdaa2825fc (patch)
treee1e23c5d4315e92d15e4783f3fdc1d3e24e9bc37 /app-emulation
parentapp-emulation/uxn: drop old 0_p20220921 (diff)
downloadgentoo-1a95574ba0913bd6c61cf110dea94bcdaa2825fc.tar.gz
gentoo-1a95574ba0913bd6c61cf110dea94bcdaa2825fc.tar.bz2
gentoo-1a95574ba0913bd6c61cf110dea94bcdaa2825fc.zip
app-emulation/uxn: H -> COMMIT
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/uxn/uxn-0_p20221022.ebuild9
-rw-r--r--app-emulation/uxn/uxn-0_p20221211.ebuild9
-rw-r--r--app-emulation/uxn/uxn-9999.ebuild9
3 files changed, 14 insertions, 13 deletions
diff --git a/app-emulation/uxn/uxn-0_p20221022.ebuild b/app-emulation/uxn/uxn-0_p20221022.ebuild
index c8521b44d3ac..de0d0a1457cc 100644
--- a/app-emulation/uxn/uxn-0_p20221022.ebuild
+++ b/app-emulation/uxn/uxn-0_p20221022.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=1b2049e238df96f32335edf1c6db35bd09f8b42d
+[[ ${PV} == *_p20221022 ]] && COMMIT=1b2049e238df96f32335edf1c6db35bd09f8b42d
inherit toolchain-funcs
@@ -15,8 +15,9 @@ if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~rabbits/uxn.git"
else
- SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${H}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-${H}
+ SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
KEYWORDS="~amd64 ~x86"
fi
diff --git a/app-emulation/uxn/uxn-0_p20221211.ebuild b/app-emulation/uxn/uxn-0_p20221211.ebuild
index 0733343327a1..e4a8f5dd88c1 100644
--- a/app-emulation/uxn/uxn-0_p20221211.ebuild
+++ b/app-emulation/uxn/uxn-0_p20221211.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=6317b5cf181e56253da10e0e5051ac75bbb5c4b2
+[[ ${PV} == *_p20221211 ]] && COMMIT=6317b5cf181e56253da10e0e5051ac75bbb5c4b2
inherit toolchain-funcs
@@ -15,8 +15,9 @@ if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~rabbits/uxn.git"
else
- SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${H}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-${H}
+ SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
KEYWORDS="~amd64 ~x86"
fi
diff --git a/app-emulation/uxn/uxn-9999.ebuild b/app-emulation/uxn/uxn-9999.ebuild
index ada1e5c54013..1b6c4a1a5ff4 100644
--- a/app-emulation/uxn/uxn-9999.ebuild
+++ b/app-emulation/uxn/uxn-9999.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=85ae1f6ebea635f35974218be8faf7557390a7e9
-
inherit toolchain-funcs
DESCRIPTION="An assembler and emulator for the Uxn stack-machine, written in ANSI C"
@@ -17,8 +15,9 @@ if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~rabbits/uxn.git"
else
- SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${H}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-${H}
+ SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
KEYWORDS="~amd64 ~x86"
fi