You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/Sys-Virt/Sys-Virt-8.4.0.ebuild

50 lines
1002 B

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Packages which get releases together:
# app-emacs/nxml-libvirt-schemas
# dev-python/libvirt-python
# dev-perl/Sys-Virt
# app-emulation/libvirt
# Please bump them together!
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"
RDEPEND="
>=app-emulation/libvirt-${PV}
"
BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-CBuilder
dev-perl/Module-Build
virtual/pkgconfig
test? (
dev-perl/CPAN-Changes
dev-perl/Test-More-UTF8
dev-perl/Test-Pod-Coverage
dev-perl/XML-XPath
virtual/perl-Test-Simple
virtual/perl-Time-HiRes
)"
DEPEND="
>=app-emulation/libvirt-${PV}
"
PATCHES=(
# Can be dropped for 8.5.0
"${FILESDIR}"/${PN}-8.4.0-lib-Fix-parameter-detection-for-save-restore_domain.patch
)
src_compile() {
MAKEOPTS+=" -j1" perl-module_src_compile
}