commit:     e51631aba1fcc12ab4266b4ca57afa12b5eee377
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 14 01:58:02 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 14 02:12:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51631ab

sys-apps/locale-gen: add 3.3

Kerin Millar (28):
      Have the --help option reference the man pages
      locale-gen.8: Add an EXIT STATUS section
      Disambiguate a mismatching codeset/charmap as a class of error
      locale.gen.5: Correct the locale name synopsis per XPG Issue 4
      Report the username if $locale_dir cannot be modified
      Ensure that get_valid_locales() restores the current working directory
      Delegate config file selection wholly to a new subroutine
      Allow for locale declarations to have trailing comments
      locale.gen: Annotate the entries with descriptive trailing comments
      locale.gen.5: remove a stray blank line
      Eliminate all unescaped line continuations from the man pages
      locale.gen: refine the annotations
      Report the size of the installed archive
      Correct a typo where $total is assigned
      Refrain from unsetting the CDPATH environment variable
      Use ($CHILD_ERROR & 0x7F) to check for death by signal
      Better align the behaviour of normalize() with localedef(1)
      Don't call parse_config() from a try block in read_config()
      Don't report more workers than there are locales to be compiled
      Link to spdx.org from the output of --version
      locale.gen.5: remove a stray leading space
      locale.gen.5: document /usr/share/i18n/{locales,charmaps}
      locale.gen.5: clarify the means by which a locale can be effected
      locale.gen.5: define what a locale is under LOCALE NAMES
      locale.gen.5: reference several specifications from SEE ALSO
      Assign TEMPDIR in the main block rather than enter_tempdir()
      Reformat a comment in the normalize() subroutine
      Bump $VERSION to 3.3

Closes: https://bugs.gentoo.org/961471
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/locale-gen/Manifest              |  1 +
 sys-apps/locale-gen/locale-gen-3.3.ebuild | 32 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/sys-apps/locale-gen/Manifest b/sys-apps/locale-gen/Manifest
index 75dc4ae3d6be..5137f6637102 100644
--- a/sys-apps/locale-gen/Manifest
+++ b/sys-apps/locale-gen/Manifest
@@ -1,2 +1,3 @@
 DIST locale-gen-2.23.tar.bz2 7664 BLAKE2B 
a529b62fbb840c9352f06e8f5c80fc764425a2619dc69cc820f550a026d391788d5e2cfeeb46a8b5b9716da63340b4fce57a5b523edd4196ee1219c1200cb752
 SHA512 
c1245caadb04403c535a836f19bc410d0f04b5c0e297ea5be9852e6d71e08e528071ae769d63d31a677dda8fdd618b4c4d581ed525cf8786b82d8f37636db754
 DIST locale-gen-3.2.tar.bz2 16340 BLAKE2B 
a0558a0f84da3ea6a66903a632f261fe9cf63e21ccb32411f827367699fefd3e2e627ee018c2720dce3901e3801089c3aca6a487f2f075a9b6831529b160a0e2
 SHA512 
76655947a1d28cbda5be75454a3cc38e75d2914ab987bd59359f70acc6e3a3f2961675280ee8a52ada4724fb6393f1d5b6712077a89ebd3511a49c43cf459adf
+DIST locale-gen-3.3.tar.bz2 19815 BLAKE2B 
be46b2bedfc876900998fb1a4af3c6e5b04a0005caf0590052bda3f46a532c93ead62d44a6d0b4d6d0ef4bc01df1c2916c9ffac8dd8322278b2f3d21da0aaeb1
 SHA512 
3f55c0fe2fc0c434dc26538366238463798fde7e9367f6dc1c824531b6bff326ad0e6f62d3b599a8c2b92a6b974fa8ef8c46e58acf80d50820cc1987c20da7cb

diff --git a/sys-apps/locale-gen/locale-gen-3.3.ebuild 
b/sys-apps/locale-gen/locale-gen-3.3.ebuild
new file mode 100644
index 000000000000..45a38c7dfc25
--- /dev/null
+++ b/sys-apps/locale-gen/locale-gen-3.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Generate locales based upon the config file /etc/locale.gen"
+HOMEPAGE="https://gitweb.gentoo.org/proj/locale-gen.git/";
+
+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"
+
+RDEPEND="
+       >=dev-lang/perl-5.36
+       !<sys-libs/glibc-2.37-r3
+"
+
+src_install() {
+       dosbin locale-gen
+       doman *.[0-8]
+       insinto /etc
+       doins locale.gen
+       keepdir /usr/lib/locale
+}

Reply via email to