diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 19:55:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 19:55:43 +0100 |
commit | 185fa19bbf68a4d4dca534d2b46729207a177f16 (patch) | |
tree | a8a537b82fda83a0799c2ca9887f212558363aa7 /dev-perl/Sys-Virt/Sys-Virt-7.0.0.ebuild | |
parent | c8fd0d84af0bfd1949542adc2cbb735b1d28f9ed (diff) |
gentoo resync : 11.05.2021
Diffstat (limited to 'dev-perl/Sys-Virt/Sys-Virt-7.0.0.ebuild')
-rw-r--r-- | dev-perl/Sys-Virt/Sys-Virt-7.0.0.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-perl/Sys-Virt/Sys-Virt-7.0.0.ebuild b/dev-perl/Sys-Virt/Sys-Virt-7.0.0.ebuild new file mode 100644 index 000000000000..2897ba113d9c --- /dev/null +++ b/dev-perl/Sys-Virt/Sys-Virt-7.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=DANBERR +DIST_VERSION=v${PV} +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="API for using the libvirt library from Perl" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-emulation/libvirt-${PV} +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-CBuilder + dev-perl/Module-Build + virtual/pkgconfig + test? ( + virtual/perl-Test-Simple + dev-perl/XML-XPath + virtual/perl-Time-HiRes + )" +DEPEND=" + >=app-emulation/libvirt-${PV} +" + +src_compile() { + MAKEOPTS+=" -j1" perl-module_src_compile +} + +src_test() { + perl_rm_files "t/010-pod-coverage.t" "t/005-pod.t" "t/015-changes.t" + perl-module_src_test +} |