commit: da3ff977b5274965bab80ed398c3d72d62793dd1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 04:30:30 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 22 04:34:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3ff977
dev-perl/CDB_File: EAPI 8, rely on eclass impls
This covers more variables/args, etc.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-perl/CDB_File/CDB_File-1.50.0-r1.ebuild | 36 +++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/dev-perl/CDB_File/CDB_File-1.50.0-r1.ebuild
b/dev-perl/CDB_File/CDB_File-1.50.0-r1.ebuild
new file mode 100644
index 000000000000..b30a528050dd
--- /dev/null
+++ b/dev-perl/CDB_File/CDB_File-1.50.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=TODDR
+DIST_VERSION=1.05
+DIST_EXAMPLES=("examples/*")
+# Parallel breaks
+DIST_TEST="do"
+inherit perl-module
+
+DESCRIPTION="Perl extension for access to cdb databases"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# bug 787551: T::Fatal and T::Warnings needed
+BDEPEND="
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ dev-perl/B-COW
+ virtual/perl-File-Temp
+ dev-perl/Test-Fatal
+ virtual/perl-Test-Simple
+ dev-perl/Test-Warnings
+ )
+"
+
+src_prepare() {
+ mkdir "${S}/examples" || die "Can't make examples dir"
+ einfo "Moving bun-x.pl to examples/"
+ cp "${S}/bun-x.pl" "${S}/examples/" || die "Can't copy example to
examples/"
+ perl_rm_files bun-x.pl
+ perl-module_src_prepare
+}