commit:     1a95574ba0913bd6c61cf110dea94bcdaa2825fc
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  2 17:37:27 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Feb  2 17:46:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a95574b

app-emulation/uxn: H -> COMMIT

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emulation/uxn/uxn-0_p20221022.ebuild | 9 +++++----
 app-emulation/uxn/uxn-0_p20221211.ebuild | 9 +++++----
 app-emulation/uxn/uxn-9999.ebuild        | 9 ++++-----
 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
 

Reply via email to