diff options
Diffstat (limited to 'dev-perl/Business-ISBN-Data/Business-ISBN-Data-20230322.1.0.ebuild')
-rw-r--r-- | dev-perl/Business-ISBN-Data/Business-ISBN-Data-20230322.1.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-perl/Business-ISBN-Data/Business-ISBN-Data-20230322.1.0.ebuild b/dev-perl/Business-ISBN-Data/Business-ISBN-Data-20230322.1.0.ebuild new file mode 100644 index 000000000000..0d3948eaf6e7 --- /dev/null +++ b/dev-perl/Business-ISBN-Data/Business-ISBN-Data-20230322.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=BDFOY +DIST_VERSION=20230322.001 +inherit perl-module + +DESCRIPTION="Data pack for Business::ISBN" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +PERL_RM_FILES=( + "make_data.pl" + "t/pod.t" + "t/pod_coverage.t" +) + +RDEPEND=" + virtual/perl-Carp + virtual/perl-File-Spec +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.640.0 + test? ( + >=virtual/perl-Test-Simple-1 + ) +" + +src_prepare() { + sed -r -i '/^pod(|_coverage)\.t$/d' "${S}/t/test_manifest" || die + perl-module_src_prepare +} |