Skip to content

Commit

Permalink
app-emulation/libvirt: 6.7.0 and 9999: Split out packages into BDEPEND.
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Davies <[email protected]>
Signed-off-by: Matthias Maier <[email protected]>
  • Loading branch information
jpds authored and tamiko committed Oct 1, 2020
1 parent b357d99 commit 2cfcf27
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 20 deletions.
23 changes: 13 additions & 10 deletions app-emulation/libvirt/libvirt-6.7.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,22 @@ REQUIRED_USE="
virtualbox? ( libvirtd )
xen? ( libvirtd )"

BDEPEND="
acct-user/qemu
policykit? ( acct-group/libvirt )
app-text/xhtml1
dev-lang/perl
dev-libs/libxslt
dev-perl/XML-XPath
dev-python/docutils
virtual/pkgconfig"

# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="
acct-user/qemu
policykit? ( acct-group/libvirt )
app-misc/scrub
>=dev-libs/glib-2.48.0
dev-libs/libgcrypt:0
Expand Down Expand Up @@ -113,14 +121,9 @@ RDEPEND="
)
zfs? ( sys-fs/zfs )"

DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-text/xhtml1
dev-lang/perl
dev-libs/libxslt
dev-perl/XML-XPath
dev-python/docutils
virtual/pkgconfig"
DEPEND="${BDEPEND}
${RDEPEND}
${PYTHON_DEPS}"

PATCHES=(
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
Expand Down
23 changes: 13 additions & 10 deletions app-emulation/libvirt/libvirt-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,22 @@ REQUIRED_USE="
virtualbox? ( libvirtd )
xen? ( libvirtd )"

BDEPEND="
acct-user/qemu
policykit? ( acct-group/libvirt )
app-text/xhtml1
dev-lang/perl
dev-libs/libxslt
dev-perl/XML-XPath
dev-python/docutils
virtual/pkgconfig"

# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="
acct-user/qemu
policykit? ( acct-group/libvirt )
app-misc/scrub
>=dev-libs/glib-2.48.0
dev-libs/libgcrypt:0
Expand Down Expand Up @@ -113,14 +121,9 @@ RDEPEND="
)
zfs? ( sys-fs/zfs )"

DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-text/xhtml1
dev-lang/perl
dev-libs/libxslt
dev-perl/XML-XPath
dev-python/docutils
virtual/pkgconfig"
DEPEND="${BDEPEND}
${RDEPEND}
${PYTHON_DEPS}"

PATCHES=(
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
Expand Down

0 comments on commit 2cfcf27

Please sign in to comment.