commit:     02b54f4932232c754d0652f27c81950dd2daf9f7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  8 05:22:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  8 05:23:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b54f49

sys-apps/locale-gen: add 9999

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/locale-gen/locale-gen-3.1.ebuild                     | 11 +++++++++--
 .../{locale-gen-3.1.ebuild => locale-gen-9999.ebuild}         | 11 +++++++++--
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/sys-apps/locale-gen/locale-gen-3.1.ebuild 
b/sys-apps/locale-gen/locale-gen-3.1.ebuild
index d460716c4f73..76bab6dc43c0 100644
--- a/sys-apps/locale-gen/locale-gen-3.1.ebuild
+++ b/sys-apps/locale-gen/locale-gen-3.1.ebuild
@@ -5,11 +5,18 @@ EAPI=8
 
 DESCRIPTION="Generate locales based upon the config file /etc/locale.gen"
 HOMEPAGE="https://gitweb.gentoo.org/proj/locale-gen.git/";
-SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/${P}.tar.bz2";
+
+if [[ ${PV} == 9999 ]] ; then
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/locale-gen.git";
+       inherit git-r3
+else
+       
SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/${P}.tar.bz2";
+
+       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
 
 LICENSE="GPL-2"
 SLOT="0"
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 
 RDEPEND="
        dev-lang/perl

diff --git a/sys-apps/locale-gen/locale-gen-3.1.ebuild 
b/sys-apps/locale-gen/locale-gen-9999.ebuild
similarity index 58%
copy from sys-apps/locale-gen/locale-gen-3.1.ebuild
copy to sys-apps/locale-gen/locale-gen-9999.ebuild
index d460716c4f73..76bab6dc43c0 100644
--- a/sys-apps/locale-gen/locale-gen-3.1.ebuild
+++ b/sys-apps/locale-gen/locale-gen-9999.ebuild
@@ -5,11 +5,18 @@ EAPI=8
 
 DESCRIPTION="Generate locales based upon the config file /etc/locale.gen"
 HOMEPAGE="https://gitweb.gentoo.org/proj/locale-gen.git/";
-SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/${P}.tar.bz2";
+
+if [[ ${PV} == 9999 ]] ; then
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/locale-gen.git";
+       inherit git-r3
+else
+       
SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/${P}.tar.bz2";
+
+       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
 
 LICENSE="GPL-2"
 SLOT="0"
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 
 RDEPEND="
        dev-lang/perl

Reply via email to