mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Upstream:
- Fix '.' in @INC
- New constants: LIST_CAP_MDEV, LIST_CAP_MDEV_TYPES, RECV_STOP_AT_HOLE
VOL_DOWNLOAD_SPARSE_STREAM, VOL_UPLOAD_SPARSE_STREAM,
LIST_CAP_CCWD_DEV, VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOB,
VIR_FROM_RESCTRL, VIR_STORAGE_POOL_EVENT_{DELETED,CREATED},
VIR_DOMAIN_JOB_MEMORY_PAGE_SIZE and domain event constants
- Fix send_all() callback helper
- Introduce flags to Stream::recv
- Add methods: Stream::{{recv,send}_hole,sparce_{recv,send}_all},
migrate_get_max_downtime, managed_save_define_xml,
managed_save_get_xml_description, set_lifecycle_action
- Add vol-sparse.pl example
- Fix package location of lifecycle constants
Package-Manager: Portage-2.3.18, Repoman-2.3.6
32 lines
597 B
Bash
32 lines
597 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
DIST_AUTHOR=DANBERR
|
|
DIST_EXAMPLES=("examples/*")
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="API for using the libvirt library from Perl"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
|
|
RDEPEND=">=app-emulation/libvirt-${PV}"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig
|
|
test? (
|
|
dev-perl/XML-XPath
|
|
virtual/perl-Time-HiRes
|
|
)"
|
|
|
|
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
|
|
}
|