diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-12 08:41:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-12 08:41:54 +0100 |
commit | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (patch) | |
tree | 3080c5cb7ad17abcb63776a9f21c4947845546a6 /dev-perl/Net-FreeDB/Net-FreeDB-0.100.0-r1.ebuild | |
parent | 814f4cf860e299a046b649eaee5463427984c09c (diff) |
gentoo resync : 12.07.2021
Diffstat (limited to 'dev-perl/Net-FreeDB/Net-FreeDB-0.100.0-r1.ebuild')
-rw-r--r-- | dev-perl/Net-FreeDB/Net-FreeDB-0.100.0-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-perl/Net-FreeDB/Net-FreeDB-0.100.0-r1.ebuild b/dev-perl/Net-FreeDB/Net-FreeDB-0.100.0-r1.ebuild new file mode 100644 index 000000000000..c5c62a0121a2 --- /dev/null +++ b/dev-perl/Net-FreeDB/Net-FreeDB-0.100.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=DSHULTZ +DIST_VERSION=0.10 +inherit perl-module + +DESCRIPTION="OOP interface to the FreeDB database" + +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + >=dev-perl/CDDB-File-1.10.0 + >=virtual/perl-File-Temp-0.50.0 + virtual/perl-IO + dev-perl/Moo + >=virtual/perl-libnet-2.120.0 +" + +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + dev-perl/Test-Most + ) +" + +src_test() { + local my_test_control; + my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}} + if has network ${my_test_control} ; then + export HAVE_INTERNET=1 + perl_rm_files "t/16-get_local_disc_id.t" "t/17-get_local_disc_data.t" + fi + perl-module_src_test +} |