diff options
author | Sam James <sam@gentoo.org> | 2024-05-22 05:30:30 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-22 05:34:29 +0100 |
commit | da3ff977b5274965bab80ed398c3d72d62793dd1 (patch) | |
tree | d9e20142ab819b7f1158e775196ffbdca94d253e /dev-perl/CDB_File | |
parent | dev-perl/B-Utils: EAPI 8, rely on eclass impls (diff) | |
download | gentoo-da3ff977b5274965bab80ed398c3d72d62793dd1.tar.gz gentoo-da3ff977b5274965bab80ed398c3d72d62793dd1.tar.bz2 gentoo-da3ff977b5274965bab80ed398c3d72d62793dd1.zip |
dev-perl/CDB_File: EAPI 8, rely on eclass impls
This covers more variables/args, etc.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/CDB_File')
-rw-r--r-- | dev-perl/CDB_File/CDB_File-1.50.0-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
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 +} |