commit: 60fce6f864a0fe61153619c53376c97487c1577f
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Thu Oct 30 02:02:17 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 30 04:38:51 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60fce6f8
dev-perl/File-Slurper: add 0.14.0-r1 with USE=minimal support
If available, File::Slurper loads the PerlIO::utf8_strict module for
faster UTF-8 coding with better diagnostics. However, File::Slurper is
designed to work perfectly well in the case that only the (core) Encode
module is available.
This revision makes it possible to forgo PerlIO::utf8_strict by enabling
the "minimal" USE flag. The reason for not choosing "xs" as the flag
name is that File::Slurper implements no XS code of its own.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../File-Slurper/File-Slurper-0.14.0-r1.ebuild | 31 ++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/dev-perl/File-Slurper/File-Slurper-0.14.0-r1.ebuild
b/dev-perl/File-Slurper/File-Slurper-0.14.0-r1.ebuild
new file mode 100644
index 000000000000..69274c7d67ff
--- /dev/null
+++ b/dev-perl/File-Slurper/File-Slurper-0.14.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=LEONT
+DIST_VERSION=0.014
+DIST_EXAMPLES=( "bench/*" )
+inherit perl-module
+
+DESCRIPTION="A simple, sane and efficient module to slurp a file"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos
~x64-macos ~x64-solaris"
+IUSE="minimal"
+
+RDEPEND="
+ !minimal? ( dev-perl/PerlIO-utf8_strict )
+ virtual/perl-Carp
+ >=virtual/perl-Encode-2.110.0
+ >=virtual/perl-Exporter-5.570.0
+"
+BDEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-File-Spec
+ virtual/perl-File-Temp
+ virtual/perl-Test-Simple
+ dev-perl/Test-Warnings
+ )
+"