commit:     197d3342fc9122c70ce4514c3ca65b3520cf5976
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  8 05:21:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  8 05:23:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=197d3342

sys-apps/locale-gen: add 3.1

Kerin Millar (33):
      Initial commit of locale-gen 3.0, rewritten in Perl
      Remove a stray leading tab from an otherwise empty line
      Refrain from passing $prefix to the generate_locales sub
      Rewrap a comment in the parse_config sub
      Speed up the trim_line sub by approximately 25%
      Only check the prospective archive dir once there is work to be done
      Render compatible with the compile-locales USE flag of sys-libs/glibc
      Drop the is_eq_file subroutine
      Attempt to create the archive directory, if missing
      locale-gen.8: remove references to options that have been dropped
      locale-gen.8: update the AUTHORS section
      locale-gen.8: rewrite in the style that a technical writer might
      locale.gen: show only UTF-8 based locales as commented examples
      Improve the diagnostic where /usr/share/i18n/locales cannot be entered
      Require either a null string or an absolute path for --prefix
      Claim that glibc is absent where localedef(1) output cannot be parsed
      locale.gen.5: remove the OPTIONS section
      locale-gen.8: escape the hyphen character where appropriate
      locale-gen.8: eliminate blank lines
      locale-gen.8: use the TP macro to structure the FILES section
      locale-gen.8: remove "<" and ">" from option-args
      locale-gen.8: add full stops (periods) where appropriate
      locale-gen.8: add a SYNOPSIS section
      locale-gen.8: write "central archive" instead of "single archive"
      locale-gen.8: reference locale.conf(5) in SEE ALSO
      locale-gen.8: remove an unnecessary use of the word, shall
      locale-gen.8: use the .MT and .ME macros to format email addresses
      locale-gen.8: use the .UR and .UE macros to format hyperlinks
      locale-gen.8: spell out /etc/locale.gen directly under DESCRIPTION
      locale.gen.5: rewrite entirely
      locale.gen: remove the comments masquerading as documentation
      Allow for options to be parsed before aborting for a foreign libc
      Bump $VERSION to 3.1

Sam James (1):
      Revert "Initial commit of Perl-based locale-gen"

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

 sys-apps/locale-gen/Manifest              |  1 +
 sys-apps/locale-gen/locale-gen-3.1.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/sys-apps/locale-gen/Manifest b/sys-apps/locale-gen/Manifest
index 06ec41ec6045..a0f49945bcc1 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.0.tar.bz2 14810 BLAKE2B 
f88381ca53eff89016daddedcaf349d4584a991de384e08f0908b025e37df8ecc90ee0b2834e596c8330516bbabd2e17a6c460ce5190e939704ae683732cc456
 SHA512 
4bfc27a12b2f4822ce7fb8ac7881adc2d1c34f8722aa688c940caaed06225d99a1c81569871de3cac9980725ed9743508ade0f68b171062d607e71261951373a
+DIST locale-gen-3.1.tar.bz2 16351 BLAKE2B 
3a4d19ce13db43d280e056c685506e42e4f61f6abf6053c5d5724d43616522c08ce9691d40abb587a9016433214bdc3a289b2ffe9010186be3eaff059b6473d5
 SHA512 
a07ac2b5c61672c89dbf27ff9cda252263b1a4bcad50c0c55d3ae005b71187027f83d1faf5317b2eba1dd8c888e56a4f49a7bc6cb109dba33b276d42e8b0b70c

diff --git a/sys-apps/locale-gen/locale-gen-3.1.ebuild 
b/sys-apps/locale-gen/locale-gen-3.1.ebuild
new file mode 100644
index 000000000000..d460716c4f73
--- /dev/null
+++ b/sys-apps/locale-gen/locale-gen-3.1.ebuild
@@ -0,0 +1,25 @@
+# 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/";
+SRC_URI="https://gitweb.gentoo.org/proj/locale-gen.git/snapshot/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       dev-lang/perl
+       !<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